commit | 7cabdc10dbeaf5778f423289025a8823765f7b96 | [log] [tgz] |
---|---|---|
author | Tommy Chiu <tommychiu@google.com> | Thu Feb 16 09:39:18 2023 +0000 |
committer | Tommy Chiu <tommychiu@google.com> | Thu Feb 16 09:39:25 2023 +0000 |
tree | 4a0706b4a9f1a91cb5e202d7089a8fd4839db2ec | |
parent | c2e1b5f7f1fae354488ec1d41cb6efd97296beba [diff] [blame] |
Fix test assumption for KeyMint+RKP integration According to the API Level definition (https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels), both 31 and 32 are belong to Android-12 (S). Bug: 263844771 Change-Id: I92e3f9015607ad9421c02442033e9b586ae07bcb Test: VtsAidlKeyMintTargetTest #EcdsaWithRkpAttestation
diff --git a/security/keymint/aidl/vts/functional/KeyMintTest.cpp b/security/keymint/aidl/vts/functional/KeyMintTest.cpp index 1b9e758..357405f 100644 --- a/security/keymint/aidl/vts/functional/KeyMintTest.cpp +++ b/security/keymint/aidl/vts/functional/KeyMintTest.cpp
@@ -1214,7 +1214,7 @@ * that has been generated using an associate IRemotelyProvisionedComponent. */ TEST_P(NewKeyGenerationTest, EcdsaWithRkpAttestation) { - if (get_vsr_api_level() < 32 || AidlVersion() < 2) { + if (get_vsr_api_level() <= 32 || AidlVersion() < 2) { GTEST_SKIP() << "Only required for VSR 12+ and KeyMint 2+"; }