1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=ndk --structured --version 4 --hash c43fbb9be4a662cc9ace640dba21cccdb84c6c21 -t --stability vintf --min_sdk_version current -pout/soong/.intermediates/hardware/interfaces/biometrics/common/aidl/android.hardware.biometrics.common_interface/4/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/common/aidl/android.hardware.common_interface/2/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/keymaster/aidl/android.hardware.keymaster_interface/4/preprocessed.aidl --ninja -d out/soong/.intermediates/hardware/interfaces/biometrics/face/aidl/android.hardware.biometrics.face-V4-ndk-source/gen/staging/android/hardware/biometrics/face/IFace.cpp.d -h out/soong/.intermediates/hardware/interfaces/biometrics/face/aidl/android.hardware.biometrics.face-V4-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/biometrics/face/aidl/android.hardware.biometrics.face-V4-ndk-source/gen/staging -Iframeworks/native/aidl/gui -Nhardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/4 hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/4/android/hardware/biometrics/face/IFace.aidl
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 <cstdint>
12 #include <memory>
13 #include <optional>
14 #include <string>
15 #include <vector>
16 #include <android/binder_interface_utils.h>
17 #include <aidl/android/hardware/biometrics/face/ISession.h>
18 #include <aidl/android/hardware/biometrics/face/ISessionCallback.h>
19 #include <aidl/android/hardware/biometrics/face/SensorProps.h>
20 #ifdef BINDER_STABILITY_SUPPORT
21 #include <android/binder_stability.h>
22 #endif  // BINDER_STABILITY_SUPPORT
23 
24 namespace aidl::android::hardware::biometrics::face {
25 class ISession;
26 class ISessionCallback;
27 class SensorProps;
28 }  // namespace aidl::android::hardware::biometrics::face
29 namespace aidl {
30 namespace android {
31 namespace hardware {
32 namespace biometrics {
33 namespace face {
34 class IFaceDelegator;
35 
36 class IFace : public ::ndk::ICInterface {
37 public:
38   typedef IFaceDelegator DefaultDelegator;
39   static const char* descriptor;
40   IFace();
41   virtual ~IFace();
42 
43   static inline const int32_t version = 4;
44   static inline const std::string hash = "c43fbb9be4a662cc9ace640dba21cccdb84c6c21";
45   static constexpr uint32_t TRANSACTION_getSensorProps = FIRST_CALL_TRANSACTION + 0;
46   static constexpr uint32_t TRANSACTION_createSession = FIRST_CALL_TRANSACTION + 1;
47 
48   static std::shared_ptr<IFace> fromBinder(const ::ndk::SpAIBinder& binder);
49   static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<IFace>& instance);
50   static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<IFace>* instance);
51   static bool setDefaultImpl(const std::shared_ptr<IFace>& impl);
52   static const std::shared_ptr<IFace>& getDefaultImpl();
53   virtual ::ndk::ScopedAStatus getSensorProps(std::vector<::aidl::android::hardware::biometrics::face::SensorProps>* _aidl_return) = 0;
54   virtual ::ndk::ScopedAStatus createSession(int32_t in_sensorId, int32_t in_userId, const std::shared_ptr<::aidl::android::hardware::biometrics::face::ISessionCallback>& in_cb, std::shared_ptr<::aidl::android::hardware::biometrics::face::ISession>* _aidl_return) = 0;
55   virtual ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) = 0;
56   virtual ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) = 0;
57 private:
58   static std::shared_ptr<IFace> default_impl;
59 };
60 class IFaceDefault : public IFace {
61 public:
62   ::ndk::ScopedAStatus getSensorProps(std::vector<::aidl::android::hardware::biometrics::face::SensorProps>* _aidl_return) override;
63   ::ndk::ScopedAStatus createSession(int32_t in_sensorId, int32_t in_userId, const std::shared_ptr<::aidl::android::hardware::biometrics::face::ISessionCallback>& in_cb, std::shared_ptr<::aidl::android::hardware::biometrics::face::ISession>* _aidl_return) override;
64   ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override;
65   ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override;
66   ::ndk::SpAIBinder asBinder() override;
67   bool isRemote() override;
68 };
69 }  // namespace face
70 }  // namespace biometrics
71 }  // namespace hardware
72 }  // namespace android
73 }  // namespace aidl
74