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
This commit is contained in:
Tri Vo 2022-09-29 16:14:53 -07:00
parent a682b181d9
commit f48a2a7bbf
5 changed files with 13 additions and 13 deletions

View file

@ -352,7 +352,7 @@
</hal> </hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>android.hardware.identity</name> <name>android.hardware.identity</name>
<version>1-4</version> <version>1-5</version>
<interface> <interface>
<name>IIdentityCredentialStore</name> <name>IIdentityCredentialStore</name>
<instance>default</instance> <instance>default</instance>
@ -399,7 +399,7 @@
</hal> </hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>android.hardware.security.keymint</name> <name>android.hardware.security.keymint</name>
<version>1-2</version> <version>1-3</version>
<interface> <interface>
<name>IKeyMintDevice</name> <name>IKeyMintDevice</name>
<instance>default</instance> <instance>default</instance>
@ -408,7 +408,7 @@
</hal> </hal>
<hal format="aidl" optional="true"> <hal format="aidl" optional="true">
<name>android.hardware.security.keymint</name> <name>android.hardware.security.keymint</name>
<version>1-2</version> <version>1-3</version>
<interface> <interface>
<name>IRemotelyProvisionedComponent</name> <name>IRemotelyProvisionedComponent</name>
<instance>default</instance> <instance>default</instance>

View file

@ -20,7 +20,7 @@ aidl_interface {
name: "android.hardware.confirmationui", name: "android.hardware.confirmationui",
vendor_available: true, vendor_available: true,
imports: [ imports: [
"android.hardware.security.keymint-V2", "android.hardware.security.keymint-V3",
], ],
srcs: ["android/hardware/confirmationui/*.aidl"], srcs: ["android/hardware/confirmationui/*.aidl"],
stability: "vintf", stability: "vintf",

View file

@ -11,7 +11,7 @@ aidl_interface {
name: "android.hardware.gatekeeper", name: "android.hardware.gatekeeper",
vendor_available: true, vendor_available: true,
imports: [ imports: [
"android.hardware.security.keymint-V2", "android.hardware.security.keymint-V3",
], ],
srcs: ["android/hardware/gatekeeper/*.aidl"], srcs: ["android/hardware/gatekeeper/*.aidl"],
stability: "vintf", stability: "vintf",

View file

@ -14,7 +14,7 @@ aidl_interface {
"android/hardware/identity/*.aidl", "android/hardware/identity/*.aidl",
], ],
imports: [ imports: [
"android.hardware.keymaster", "android.hardware.keymaster-V3",
"android.hardware.security.keymint", "android.hardware.security.keymint",
], ],
stability: "vintf", stability: "vintf",
@ -66,20 +66,20 @@ aidl_interface {
cc_defaults { cc_defaults {
name: "identity_use_latest_hal_aidl_ndk_static", name: "identity_use_latest_hal_aidl_ndk_static",
static_libs: [ static_libs: [
"android.hardware.identity-V4-ndk", "android.hardware.identity-V5-ndk",
], ],
} }
cc_defaults { cc_defaults {
name: "identity_use_latest_hal_aidl_ndk_shared", name: "identity_use_latest_hal_aidl_ndk_shared",
shared_libs: [ shared_libs: [
"android.hardware.identity-V4-ndk", "android.hardware.identity-V5-ndk",
], ],
} }
cc_defaults { cc_defaults {
name: "identity_use_latest_hal_aidl_cpp_static", name: "identity_use_latest_hal_aidl_cpp_static",
static_libs: [ static_libs: [
"android.hardware.identity-V4-cpp", "android.hardware.identity-V5-cpp",
], ],
} }

View file

@ -52,21 +52,21 @@ aidl_interface {
cc_defaults { cc_defaults {
name: "keymint_use_latest_hal_aidl_ndk_static", name: "keymint_use_latest_hal_aidl_ndk_static",
static_libs: [ static_libs: [
"android.hardware.security.keymint-V2-ndk", "android.hardware.security.keymint-V3-ndk",
], ],
} }
cc_defaults { cc_defaults {
name: "keymint_use_latest_hal_aidl_ndk_shared", name: "keymint_use_latest_hal_aidl_ndk_shared",
shared_libs: [ shared_libs: [
"android.hardware.security.keymint-V2-ndk", "android.hardware.security.keymint-V3-ndk",
], ],
} }
cc_defaults { cc_defaults {
name: "keymint_use_latest_hal_aidl_cpp_static", name: "keymint_use_latest_hal_aidl_cpp_static",
static_libs: [ static_libs: [
"android.hardware.security.keymint-V2-cpp", "android.hardware.security.keymint-V3-cpp",
], ],
} }
@ -76,6 +76,6 @@ cc_defaults {
rust_defaults { rust_defaults {
name: "keymint_use_latest_hal_aidl_rust", name: "keymint_use_latest_hal_aidl_rust",
rustlibs: [ rustlibs: [
"android.hardware.security.keymint-V2-rust", "android.hardware.security.keymint-V3-rust",
], ],
} }