Home
last modified time | relevance | path

Searched refs:OWNER_UID (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DDynamicCodeLoggerTests.java61 private static final int OWNER_UID = 43; field in DynamicCodeLoggerTests
120 appInfo.uid = OWNER_UID; in setup()
136 assertThat(mMessagesForUid.keys()).containsExactly(OWNER_UID); in testOneLoader_ownFile_withFileHash()
137 assertThat(mMessagesForUid).containsEntry(OWNER_UID, EXPECTED_MESSAGE_WITH_CONTENT_HASH); in testOneLoader_ownFile_withFileHash()
151 assertThat(mMessagesForUid.keys()).containsExactly(OWNER_UID); in testOneLoader_ownFile_noFileHash()
167 assertThat(mMessagesForUid.keys()).containsExactly(OWNER_UID); in testOneLoader_ownFile_hashingFails()
229 assertThat(mMessagesForUid.keys()).containsExactly(OWNER_UID); in testNativeCodeLoad()
231 .containsEntry(OWNER_UID, EXPECTED_MESSAGE_NATIVE_WITH_CONTENT_HASH); in testNativeCodeLoad()
252 assertThat(mMessagesForUid.keys()).containsExactly(1001, 1001, 1002, OWNER_UID); in testMultipleLoadersAndFiles()
294 dexPath, OWNING_PACKAGE_NAME, OWNER_UID, VOLUME_UUID, STORAGE_FLAGS); in whenFileIsHashed()
[all …]
/aosp12/system/security/keystore2/src/
H A Ddatabase.rs4224 const OWNER_UID: u32 = 1u32; in test_insert_and_load_full_keyentry_from_grant_by_key_id() const
4227 let key_id = make_test_key_entry(&mut db, Domain::APP, OWNER_UID as i64, TEST_ALIAS, None) in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4238 OWNER_UID, in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4258 assert_eq!(OWNER_UID as i64, k.nspace); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4275 assert_eq!(OWNER_UID as i64, k.nspace); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4284 db.unbind_key(&id_descriptor, KeyType::Client, OWNER_UID, |_, _| Ok(())).unwrap(); in test_insert_and_load_full_keyentry_from_grant_by_key_id()