commit | c2702bf08591b100e6133f5454fa8df77cd6a3a8 | [log] [tgz] |
---|---|---|
author | Rajesh Nyamagoud <nyamagoud@google.com> | Thu Aug 15 21:12:20 2024 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Wed Aug 21 15:59:16 2024 +0000 |
tree | e22bf8808c238b464004c2c2e50b9f02ab7ea2ec | |
parent | 05461b9211b2e1894beaf5d27e211bbaeb27e6f2 [diff] |
Tests updated to handle RKP-ONLY property on GSI builds. GSI replaces the values for remote_prov_prop properties (since they’re system_internal_prop properties), so on GSI the properties are not reliable indicators of whether StrongBox/TEE are RKP-only or not. Tests are updated to stop running on GSI build if generateKey API returns `ATTESTATION_KEYS_NOT_PROVISIONED` error code when RKP_ONLY property is undetermined. Impacted tests: test that generates a key with attestation but doesn't provide an ATTEST_KEY, i.e. any test that requires batch keys. Bug: 359743897 Test: atest keystore2_client_tests (cherry picked from https://android-review.googlesource.com/q/commit:94f2503f135c1b4d1584cac9a2cf386de6bcbf77) Merged-In: I8028c20a47cf46aa807270e948e37ed6a08bfa02 Change-Id: I8028c20a47cf46aa807270e948e37ed6a08bfa02