diff options
Diffstat (limited to 'security/keymint/aidl/default/service.cpp')
-rw-r--r-- | security/keymint/aidl/default/service.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/security/keymint/aidl/default/service.cpp b/security/keymint/aidl/default/service.cpp index 75b394e187..bcebbaf8cf 100644 --- a/security/keymint/aidl/default/service.cpp +++ b/security/keymint/aidl/default/service.cpp @@ -25,7 +25,10 @@ #include <AndroidSharedSecret.h> #include <keymaster/soft_keymaster_logger.h> +#include "RemotelyProvisionedComponent.h" + using aidl::android::hardware::security::keymint::AndroidKeyMintDevice; +using aidl::android::hardware::security::keymint::RemotelyProvisionedComponent; using aidl::android::hardware::security::keymint::SecurityLevel; using aidl::android::hardware::security::secureclock::AndroidSecureClock; using aidl::android::hardware::security::sharedsecret::AndroidSharedSecret; @@ -45,7 +48,6 @@ int main() { // Zero threads seems like a useless pool, but below we'll join this thread to it, increasing // the pool size to 1. ABinderProcess_setThreadPoolMaxThreadCount(0); - // Add Keymint Service std::shared_ptr<AndroidKeyMintDevice> keyMint = addService<AndroidKeyMintDevice>(SecurityLevel::SOFTWARE); @@ -53,6 +55,8 @@ int main() { addService<AndroidSecureClock>(keyMint); // Add Shared Secret Service addService<AndroidSharedSecret>(keyMint); + // Add Remotely Provisioned Component Service + addService<RemotelyProvisionedComponent>(keyMint); ABinderProcess_joinThreadPool(); return EXIT_FAILURE; // should not reach } |