1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/41e57e24c58e7b9989d62deffdea3fbda92fc9e1/out/android/service/gatekeeper/IGateKeeperService.cpp.d --ninja -Isystem/core/gatekeeperd/binder -Iframeworks/base/core/java -t --min_sdk_version=platform_apis -Isystem/core/gatekeeperd/binder/ system/core/gatekeeperd/binder/android/service/gatekeeper/IGateKeeperService.aidl out/soong/.temp/sbox/41e57e24c58e7b9989d62deffdea3fbda92fc9e1/out out/soong/.temp/sbox/41e57e24c58e7b9989d62deffdea3fbda92fc9e1/out/android/service/gatekeeper/IGateKeeperService.cpp
4  *
5  * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..).
6  * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER
7  * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE.
8  */
9 #pragma once
10 
11 #include <binder/IInterface.h>
12 #include <android/service/gatekeeper/IGateKeeperService.h>
13 #include <android/service/gatekeeper/BnGateKeeperService.h>
14 #include <binder/Delegate.h>
15 
16 
17 namespace android {
18 namespace service {
19 namespace gatekeeper {
20 class LIBBINDER_EXPORTED BnGateKeeperService : public ::android::BnInterface<IGateKeeperService> {
21 public:
22   static constexpr uint32_t TRANSACTION_enroll = ::android::IBinder::FIRST_CALL_TRANSACTION + 0;
23   static constexpr uint32_t TRANSACTION_verify = ::android::IBinder::FIRST_CALL_TRANSACTION + 1;
24   static constexpr uint32_t TRANSACTION_verifyChallenge = ::android::IBinder::FIRST_CALL_TRANSACTION + 2;
25   static constexpr uint32_t TRANSACTION_getSecureUserId = ::android::IBinder::FIRST_CALL_TRANSACTION + 3;
26   static constexpr uint32_t TRANSACTION_clearSecureUserId = ::android::IBinder::FIRST_CALL_TRANSACTION + 4;
27   static constexpr uint32_t TRANSACTION_reportDeviceSetupComplete = ::android::IBinder::FIRST_CALL_TRANSACTION + 5;
28   explicit BnGateKeeperService();
29   ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override;
30 };  // class BnGateKeeperService
31 
32 class LIBBINDER_EXPORTED IGateKeeperServiceDelegator : public BnGateKeeperService {
33 public:
IGateKeeperServiceDelegator(const::android::sp<IGateKeeperService> & impl)34   explicit IGateKeeperServiceDelegator(const ::android::sp<IGateKeeperService> &impl) : _aidl_delegate(impl) {}
35 
getImpl()36   ::android::sp<IGateKeeperService> getImpl() { return _aidl_delegate; }
enroll(int32_t userId,const::std::optional<::std::vector<uint8_t>> & currentPasswordHandle,const::std::optional<::std::vector<uint8_t>> & currentPassword,const::std::vector<uint8_t> & desiredPassword,::android::service::gatekeeper::GateKeeperResponse * _aidl_return)37   ::android::binder::Status enroll(int32_t userId, const ::std::optional<::std::vector<uint8_t>>& currentPasswordHandle, const ::std::optional<::std::vector<uint8_t>>& currentPassword, const ::std::vector<uint8_t>& desiredPassword, ::android::service::gatekeeper::GateKeeperResponse* _aidl_return) override {
38     return _aidl_delegate->enroll(userId, currentPasswordHandle, currentPassword, desiredPassword, _aidl_return);
39   }
verify(int32_t userId,const::std::vector<uint8_t> & enrolledPasswordHandle,const::std::vector<uint8_t> & providedPassword,::android::service::gatekeeper::GateKeeperResponse * _aidl_return)40   ::android::binder::Status verify(int32_t userId, const ::std::vector<uint8_t>& enrolledPasswordHandle, const ::std::vector<uint8_t>& providedPassword, ::android::service::gatekeeper::GateKeeperResponse* _aidl_return) override {
41     return _aidl_delegate->verify(userId, enrolledPasswordHandle, providedPassword, _aidl_return);
42   }
verifyChallenge(int32_t userId,int64_t challenge,const::std::vector<uint8_t> & enrolledPasswordHandle,const::std::vector<uint8_t> & providedPassword,::android::service::gatekeeper::GateKeeperResponse * _aidl_return)43   ::android::binder::Status verifyChallenge(int32_t userId, int64_t challenge, const ::std::vector<uint8_t>& enrolledPasswordHandle, const ::std::vector<uint8_t>& providedPassword, ::android::service::gatekeeper::GateKeeperResponse* _aidl_return) override {
44     return _aidl_delegate->verifyChallenge(userId, challenge, enrolledPasswordHandle, providedPassword, _aidl_return);
45   }
getSecureUserId(int32_t userId,int64_t * _aidl_return)46   ::android::binder::Status getSecureUserId(int32_t userId, int64_t* _aidl_return) override {
47     return _aidl_delegate->getSecureUserId(userId, _aidl_return);
48   }
clearSecureUserId(int32_t userId)49   ::android::binder::Status clearSecureUserId(int32_t userId) override {
50     return _aidl_delegate->clearSecureUserId(userId);
51   }
reportDeviceSetupComplete()52   ::android::binder::Status reportDeviceSetupComplete() override {
53     return _aidl_delegate->reportDeviceSetupComplete();
54   }
55 private:
56   ::android::sp<IGateKeeperService> _aidl_delegate;
57 };  // class IGateKeeperServiceDelegator
58 }  // namespace gatekeeper
59 }  // namespace service
60 }  // namespace android
61