commit | dccc0e0c41ba7ad8dd99a1bcafa2978cc85fba30 | [log] [tgz] |
---|---|---|
author | Rajesh Nyamagoud <nyamagoud@google.com> | Wed Jul 31 17:06:35 2024 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu Aug 01 14:37:34 2024 +0000 |
tree | a477fbe9a2aac04959f5355ffb201ca2119073e6 | |
parent | 4767e6c31c5689dcbcd9e438703192d58652ab82 [diff] |
keystore2-client-tests: To ensure test isolation, update the APPLICATION_ID value to avoid unintended matching with existing installed app UIDs. Bug: 354094581 Bug: 355586255 Bug: 353162976 Test: atest keystore2_client_tests (cherry picked from https://android-review.googlesource.com/q/commit:92f3880214c45bc078709551fbe21cd0b3560919) Merged-In: I980459fee70631ac77ee8f7ead60cb494923a36a Change-Id: I980459fee70631ac77ee8f7ead60cb494923a36a
diff --git a/keystore2/tests/keystore2_client_attest_key_tests.rs b/keystore2/tests/keystore2_client_attest_key_tests.rs index db555de..266f2f2 100644 --- a/keystore2/tests/keystore2_client_attest_key_tests.rs +++ b/keystore2/tests/keystore2_client_attest_key_tests.rs
@@ -666,7 +666,7 @@ fn keystore2_generate_attested_key_fail_to_get_aaid() { static APP_USER_CTX: &str = "u:r:untrusted_app:s0:c91,c256,c10,c20"; const USER_ID: u32 = 99; - const APPLICATION_ID: u32 = 10001; + const APPLICATION_ID: u32 = 19901; static APP_UID: u32 = USER_ID * AID_USER_OFFSET + APPLICATION_ID; static APP_GID: u32 = APP_UID;