diff options
author | Max Bires <jbires@google.com> | 2021-04-19 18:55:56 -0700 |
---|---|---|
committer | Max Bires <jbires@google.com> | 2021-04-20 02:00:00 +0000 |
commit | 261a0490b6cbcf7c0c550111af6533bcd4fa2cf0 (patch) | |
tree | 814b0098bf1dc3b0ba26a1f95a29ca24f9e873ec /security/keymint/aidl/default/service.cpp | |
parent | ed54acfbff499fedf179910cb43a4c0f91d902e9 (diff) |
Porting the client <-> HAL service interface
This change removes the interface layer between the client and the
underlying HAL. This is one part of a two part change to properly finish
migrating all of the RemotelyProvisionedComponent functionality to
system/keymaster.
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Ibccc6b3af86a63b8a6c6207fffd43cfc41b903b5
Diffstat (limited to 'security/keymint/aidl/default/service.cpp')
-rw-r--r-- | security/keymint/aidl/default/service.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/security/keymint/aidl/default/service.cpp b/security/keymint/aidl/default/service.cpp index bcebbaf8cf..8092e348ad 100644 --- a/security/keymint/aidl/default/service.cpp +++ b/security/keymint/aidl/default/service.cpp @@ -21,14 +21,13 @@ #include <android/binder_process.h> #include <AndroidKeyMintDevice.h> +#include <AndroidRemotelyProvisionedComponentDevice.h> #include <AndroidSecureClock.h> #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::AndroidRemotelyProvisionedComponentDevice; using aidl::android::hardware::security::keymint::SecurityLevel; using aidl::android::hardware::security::secureclock::AndroidSecureClock; using aidl::android::hardware::security::sharedsecret::AndroidSharedSecret; @@ -56,7 +55,7 @@ int main() { // Add Shared Secret Service addService<AndroidSharedSecret>(keyMint); // Add Remotely Provisioned Component Service - addService<RemotelyProvisionedComponent>(keyMint); + addService<AndroidRemotelyProvisionedComponentDevice>(keyMint); ABinderProcess_joinThreadPool(); return EXIT_FAILURE; // should not reach } |