1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=ndk -Weverything -Wno-missing-permission-annotation -t --min_sdk_version current -pout/soong/.intermediates/hardware/interfaces/security/keymint/aidl/android.hardware.security.keymint_interface/4/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/security/secureclock/aidl/android.hardware.security.secureclock_interface/1/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/security/sharedsecret/aidl/android.hardware.security.sharedsecret_interface/1/preprocessed.aidl --ninja -d out/soong/.intermediates/system/security/keystore2/aidl/android.security.compat-ndk-source/gen/staging/android/security/compat/IKeystoreCompatService.cpp.d -h out/soong/.intermediates/system/security/keystore2/aidl/android.security.compat-ndk-source/gen/include/staging -o out/soong/.intermediates/system/security/keystore2/aidl/android.security.compat-ndk-source/gen/staging -Nsystem/security/keystore2/aidl system/security/keystore2/aidl/android/security/compat/IKeystoreCompatService.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 "aidl/android/security/compat/IKeystoreCompatService.h"
12 
13 #include <android/binder_ibinder.h>
14 #include <cassert>
15 
16 #ifndef __BIONIC__
17 #ifndef __assert2
18 #define __assert2(a,b,c,d) ((void)0)
19 #endif
20 #endif
21 
22 namespace aidl {
23 namespace android {
24 namespace security {
25 namespace compat {
26 class BnKeystoreCompatService : public ::ndk::BnCInterface<IKeystoreCompatService> {
27 public:
28   BnKeystoreCompatService();
29   virtual ~BnKeystoreCompatService();
30 protected:
31   ::ndk::SpAIBinder createBinder() override;
32 private:
33 };
34 class IKeystoreCompatServiceDelegator : public BnKeystoreCompatService {
35 public:
IKeystoreCompatServiceDelegator(const std::shared_ptr<IKeystoreCompatService> & impl)36   explicit IKeystoreCompatServiceDelegator(const std::shared_ptr<IKeystoreCompatService> &impl) : _impl(impl) {
37   }
38 
getKeyMintDevice(::aidl::android::hardware::security::keymint::SecurityLevel in_securityLevel,std::shared_ptr<::aidl::android::hardware::security::keymint::IKeyMintDevice> * _aidl_return)39   ::ndk::ScopedAStatus getKeyMintDevice(::aidl::android::hardware::security::keymint::SecurityLevel in_securityLevel, std::shared_ptr<::aidl::android::hardware::security::keymint::IKeyMintDevice>* _aidl_return) override {
40     return _impl->getKeyMintDevice(in_securityLevel, _aidl_return);
41   }
getSecureClock(std::shared_ptr<::aidl::android::hardware::security::secureclock::ISecureClock> * _aidl_return)42   ::ndk::ScopedAStatus getSecureClock(std::shared_ptr<::aidl::android::hardware::security::secureclock::ISecureClock>* _aidl_return) override {
43     return _impl->getSecureClock(_aidl_return);
44   }
getSharedSecret(::aidl::android::hardware::security::keymint::SecurityLevel in_securityLevel,std::shared_ptr<::aidl::android::hardware::security::sharedsecret::ISharedSecret> * _aidl_return)45   ::ndk::ScopedAStatus getSharedSecret(::aidl::android::hardware::security::keymint::SecurityLevel in_securityLevel, std::shared_ptr<::aidl::android::hardware::security::sharedsecret::ISharedSecret>* _aidl_return) override {
46     return _impl->getSharedSecret(in_securityLevel, _aidl_return);
47   }
48 protected:
49 private:
50   std::shared_ptr<IKeystoreCompatService> _impl;
51 };
52 
53 }  // namespace compat
54 }  // namespace security
55 }  // namespace android
56 }  // namespace aidl
57