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/IBinder.h>
12 #include <binder/IInterface.h>
13 #include <binder/Status.h>
14 #include <binder/Trace.h>
15 #include <cstdint>
16 #include <gatekeeper/GateKeeperResponse.h>
17 #include <optional>
18 #include <utils/StrongPointer.h>
19 #include <vector>
20 
21 namespace android {
22 namespace service {
23 namespace gatekeeper {
24 class LIBBINDER_EXPORTED IGateKeeperServiceDelegator;
25 
26 class LIBBINDER_EXPORTED IGateKeeperService : public ::android::IInterface {
27 public:
28   typedef IGateKeeperServiceDelegator DefaultDelegator;
29   DECLARE_META_INTERFACE(GateKeeperService)
30   virtual ::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) = 0;
31   virtual ::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) = 0;
32   virtual ::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) = 0;
33   virtual ::android::binder::Status getSecureUserId(int32_t userId, int64_t* _aidl_return) = 0;
34   virtual ::android::binder::Status clearSecureUserId(int32_t userId) = 0;
35   virtual ::android::binder::Status reportDeviceSetupComplete() = 0;
36 };  // class IGateKeeperService
37 
38 class LIBBINDER_EXPORTED IGateKeeperServiceDefault : public IGateKeeperService {
39 public:
onAsBinder()40   ::android::IBinder* onAsBinder() override {
41     return nullptr;
42   }
enroll(int32_t,const::std::optional<::std::vector<uint8_t>> &,const::std::optional<::std::vector<uint8_t>> &,const::std::vector<uint8_t> &,::android::service::gatekeeper::GateKeeperResponse *)43   ::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 {
44     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
45   }
verify(int32_t,const::std::vector<uint8_t> &,const::std::vector<uint8_t> &,::android::service::gatekeeper::GateKeeperResponse *)46   ::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 {
47     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
48   }
verifyChallenge(int32_t,int64_t,const::std::vector<uint8_t> &,const::std::vector<uint8_t> &,::android::service::gatekeeper::GateKeeperResponse *)49   ::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 {
50     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
51   }
getSecureUserId(int32_t,int64_t *)52   ::android::binder::Status getSecureUserId(int32_t /*userId*/, int64_t* /*_aidl_return*/) override {
53     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
54   }
clearSecureUserId(int32_t)55   ::android::binder::Status clearSecureUserId(int32_t /*userId*/) override {
56     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
57   }
reportDeviceSetupComplete()58   ::android::binder::Status reportDeviceSetupComplete() override {
59     return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
60   }
61 };  // class IGateKeeperServiceDefault
62 }  // namespace gatekeeper
63 }  // namespace service
64 }  // namespace android
65