1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl --lang=ndk --structured --version 1 --hash 4ae5a11c7bcce793ed8db5333483cc4296d3367e -t --stability vintf --min_sdk_version current -pout/soong/.intermediates/hardware/interfaces/security/keymint/aidl/android.hardware.security.keymint_interface/4/preprocessed.aidl --ninja -d out/soong/.intermediates/hardware/interfaces/confirmationui/aidl/android.hardware.confirmationui-V1-ndk-source/gen/staging/android/hardware/confirmationui/IConfirmationResultCallback.cpp.d -h out/soong/.intermediates/hardware/interfaces/confirmationui/aidl/android.hardware.confirmationui-V1-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/confirmationui/aidl/android.hardware.confirmationui-V1-ndk-source/gen/staging -Nhardware/interfaces/confirmationui/aidl/aidl_api/android.hardware.confirmationui/1 hardware/interfaces/confirmationui/aidl/aidl_api/android.hardware.confirmationui/1/android/hardware/confirmationui/IConfirmationResultCallback.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 #ifdef BINDER_STABILITY_SUPPORT 18 #include <android/binder_stability.h> 19 #endif // BINDER_STABILITY_SUPPORT 20 21 namespace aidl { 22 namespace android { 23 namespace hardware { 24 namespace confirmationui { 25 class IConfirmationResultCallbackDelegator; 26 27 class IConfirmationResultCallback : public ::ndk::ICInterface { 28 public: 29 typedef IConfirmationResultCallbackDelegator DefaultDelegator; 30 static const char* descriptor; 31 IConfirmationResultCallback(); 32 virtual ~IConfirmationResultCallback(); 33 34 static inline const int32_t version = 1; 35 static inline const std::string hash = "4ae5a11c7bcce793ed8db5333483cc4296d3367e"; 36 static constexpr uint32_t TRANSACTION_result = FIRST_CALL_TRANSACTION + 0; 37 38 static std::shared_ptr<IConfirmationResultCallback> fromBinder(const ::ndk::SpAIBinder& binder); 39 static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<IConfirmationResultCallback>& instance); 40 static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<IConfirmationResultCallback>* instance); 41 static bool setDefaultImpl(const std::shared_ptr<IConfirmationResultCallback>& impl); 42 static const std::shared_ptr<IConfirmationResultCallback>& getDefaultImpl(); 43 virtual ::ndk::ScopedAStatus result(int32_t in_error, const std::vector<uint8_t>& in_formattedMessage, const std::vector<uint8_t>& in_confirmationToken) = 0; 44 virtual ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) = 0; 45 virtual ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) = 0; 46 private: 47 static std::shared_ptr<IConfirmationResultCallback> default_impl; 48 }; 49 class IConfirmationResultCallbackDefault : public IConfirmationResultCallback { 50 public: 51 ::ndk::ScopedAStatus result(int32_t in_error, const std::vector<uint8_t>& in_formattedMessage, const std::vector<uint8_t>& in_confirmationToken) override; 52 ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override; 53 ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override; 54 ::ndk::SpAIBinder asBinder() override; 55 bool isRemote() override; 56 }; 57 } // namespace confirmationui 58 } // namespace hardware 59 } // namespace android 60 } // namespace aidl 61