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
Change-Id: I8028c20a47cf46aa807270e948e37ed6a08bfa02
6 files changed