1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/10ece8c3f2676d939c6532d9928a7335ddf2c032/out/android/security/identity/ICredentialStoreFactory.cpp.d --ninja -Isystem/security/identity/binder -t --min_sdk_version=platform_apis -Isystem/security/identity/binder/ system/security/identity/binder/android/security/identity/ICredentialStoreFactory.aidl out/soong/.temp/sbox/10ece8c3f2676d939c6532d9928a7335ddf2c032/out out/soong/.temp/sbox/10ece8c3f2676d939c6532d9928a7335ddf2c032/out/android/security/identity/ICredentialStoreFactory.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 <android/security/identity/ICredentialStore.h> 12 #include <binder/IBinder.h> 13 #include <binder/IInterface.h> 14 #include <binder/Status.h> 15 #include <binder/Trace.h> 16 #include <cstdint> 17 #include <utils/StrongPointer.h> 18 19 namespace android::security::identity { 20 class ICredentialStore; 21 } // namespace android::security::identity 22 namespace android { 23 namespace security { 24 namespace identity { 25 class LIBBINDER_EXPORTED ICredentialStoreFactoryDelegator; 26 27 class LIBBINDER_EXPORTED ICredentialStoreFactory : public ::android::IInterface { 28 public: 29 typedef ICredentialStoreFactoryDelegator DefaultDelegator; 30 DECLARE_META_INTERFACE(CredentialStoreFactory) 31 enum : int32_t { CREDENTIAL_STORE_TYPE_DEFAULT = 0 }; 32 enum : int32_t { CREDENTIAL_STORE_TYPE_DIRECT_ACCESS = 1 }; 33 virtual ::android::binder::Status getCredentialStore(int32_t credentialStoreType, ::android::sp<::android::security::identity::ICredentialStore>* _aidl_return) = 0; 34 }; // class ICredentialStoreFactory 35 36 class LIBBINDER_EXPORTED ICredentialStoreFactoryDefault : public ICredentialStoreFactory { 37 public: onAsBinder()38 ::android::IBinder* onAsBinder() override { 39 return nullptr; 40 } getCredentialStore(int32_t,::android::sp<::android::security::identity::ICredentialStore> *)41 ::android::binder::Status getCredentialStore(int32_t /*credentialStoreType*/, ::android::sp<::android::security::identity::ICredentialStore>* /*_aidl_return*/) override { 42 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 43 } 44 }; // class ICredentialStoreFactoryDefault 45 } // namespace identity 46 } // namespace security 47 } // namespace android 48