From f48a2a7bbfb7b6e251917f2728b03f2c2db48713 Mon Sep 17 00:00:00 2001 From: Tri Vo Date: Thu, 29 Sep 2022 16:14:53 -0700 Subject: [PATCH] Bump Identity and KM AIDL API versions Imported interfaces are versioned, i.e. bumping an interface version necessiates bumping the version of importing interfaces. Keystore and Identity import KM. We are uprevving KM, so all three need to be bumped at the same time. Test: m Change-Id: I46b253e72f2f245bd628ed2ae1f2f4e0572827e7 --- compatibility_matrices/compatibility_matrix.current.xml | 6 +++--- confirmationui/aidl/Android.bp | 2 +- gatekeeper/aidl/Android.bp | 2 +- identity/aidl/Android.bp | 8 ++++---- security/keymint/aidl/Android.bp | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/compatibility_matrices/compatibility_matrix.current.xml b/compatibility_matrices/compatibility_matrix.current.xml index 5dcea2d8a2..9bea1f12b5 100644 --- a/compatibility_matrices/compatibility_matrix.current.xml +++ b/compatibility_matrices/compatibility_matrix.current.xml @@ -352,7 +352,7 @@ android.hardware.identity - 1-4 + 1-5 IIdentityCredentialStore default @@ -399,7 +399,7 @@ android.hardware.security.keymint - 1-2 + 1-3 IKeyMintDevice default @@ -408,7 +408,7 @@ android.hardware.security.keymint - 1-2 + 1-3 IRemotelyProvisionedComponent default diff --git a/confirmationui/aidl/Android.bp b/confirmationui/aidl/Android.bp index 4ba4acd0d0..5395101ab2 100644 --- a/confirmationui/aidl/Android.bp +++ b/confirmationui/aidl/Android.bp @@ -20,7 +20,7 @@ aidl_interface { name: "android.hardware.confirmationui", vendor_available: true, imports: [ - "android.hardware.security.keymint-V2", + "android.hardware.security.keymint-V3", ], srcs: ["android/hardware/confirmationui/*.aidl"], stability: "vintf", diff --git a/gatekeeper/aidl/Android.bp b/gatekeeper/aidl/Android.bp index 6b1bc7e816..770e8ab694 100644 --- a/gatekeeper/aidl/Android.bp +++ b/gatekeeper/aidl/Android.bp @@ -11,7 +11,7 @@ aidl_interface { name: "android.hardware.gatekeeper", vendor_available: true, imports: [ - "android.hardware.security.keymint-V2", + "android.hardware.security.keymint-V3", ], srcs: ["android/hardware/gatekeeper/*.aidl"], stability: "vintf", diff --git a/identity/aidl/Android.bp b/identity/aidl/Android.bp index 57451ed53e..a33d43c43f 100644 --- a/identity/aidl/Android.bp +++ b/identity/aidl/Android.bp @@ -14,7 +14,7 @@ aidl_interface { "android/hardware/identity/*.aidl", ], imports: [ - "android.hardware.keymaster", + "android.hardware.keymaster-V3", "android.hardware.security.keymint", ], stability: "vintf", @@ -66,20 +66,20 @@ aidl_interface { cc_defaults { name: "identity_use_latest_hal_aidl_ndk_static", static_libs: [ - "android.hardware.identity-V4-ndk", + "android.hardware.identity-V5-ndk", ], } cc_defaults { name: "identity_use_latest_hal_aidl_ndk_shared", shared_libs: [ - "android.hardware.identity-V4-ndk", + "android.hardware.identity-V5-ndk", ], } cc_defaults { name: "identity_use_latest_hal_aidl_cpp_static", static_libs: [ - "android.hardware.identity-V4-cpp", + "android.hardware.identity-V5-cpp", ], } diff --git a/security/keymint/aidl/Android.bp b/security/keymint/aidl/Android.bp index 96d44a7935..6efff2f0da 100644 --- a/security/keymint/aidl/Android.bp +++ b/security/keymint/aidl/Android.bp @@ -52,21 +52,21 @@ aidl_interface { cc_defaults { name: "keymint_use_latest_hal_aidl_ndk_static", static_libs: [ - "android.hardware.security.keymint-V2-ndk", + "android.hardware.security.keymint-V3-ndk", ], } cc_defaults { name: "keymint_use_latest_hal_aidl_ndk_shared", shared_libs: [ - "android.hardware.security.keymint-V2-ndk", + "android.hardware.security.keymint-V3-ndk", ], } cc_defaults { name: "keymint_use_latest_hal_aidl_cpp_static", static_libs: [ - "android.hardware.security.keymint-V2-cpp", + "android.hardware.security.keymint-V3-cpp", ], } @@ -76,6 +76,6 @@ cc_defaults { rust_defaults { name: "keymint_use_latest_hal_aidl_rust", rustlibs: [ - "android.hardware.security.keymint-V2-rust", + "android.hardware.security.keymint-V3-rust", ], }