/system/security/keystore2/src/ |
D | attestation_key_utils.rs | 55 caller_uid: u32, in get_attest_key_info() 67 .get_rkpd_attestation_key_and_certs(key, caller_uid, params) in get_attest_key_info() 75 Some(attest_key) => get_user_generated_attestation_key(attest_key, caller_uid, db) in get_attest_key_info() 83 caller_uid: u32, in get_user_generated_attestation_key() 87 load_attest_key_blob_and_cert(key, caller_uid, db) in get_user_generated_attestation_key() 98 caller_uid: u32, in load_attest_key_blob_and_cert() 110 caller_uid, in load_attest_key_blob_and_cert()
|
D | service.rs | 127 let caller_uid = ThreadState::get_calling_uid(); in get_key_entry() localVariable 132 .get_after_first_unlock_key_by_user_id(uid_to_android_user(caller_uid)); in get_key_entry() 136 LEGACY_IMPORTER.with_try_import(key, caller_uid, super_key, || { in get_key_entry() 141 caller_uid, in get_key_entry() 185 let caller_uid = ThreadState::get_calling_uid(); in update_subcomponent() localVariable 189 .get_after_first_unlock_key_by_user_id(uid_to_android_user(caller_uid)); in update_subcomponent() 192 let entry = match LEGACY_IMPORTER.with_try_import(key, caller_uid, super_key, || { in update_subcomponent() 197 caller_uid, in update_subcomponent() 321 let caller_uid = ThreadState::get_calling_uid(); in delete_key() localVariable 325 .get_after_first_unlock_key_by_user_id(uid_to_android_user(caller_uid)); in delete_key() [all …]
|
D | remote_provisioning.rs | 86 caller_uid: u32, in get_rkpd_attestation_key_and_certs() 92 match get_rkpd_attestation_key(&self.security_level, caller_uid) { in get_rkpd_attestation_key_and_certs() 124 caller_uid: u32, in get_rkpd_attestation_key() 133 rkpd_client::get_rkpd_attestation_key(&rpc_name, caller_uid) in get_rkpd_attestation_key()
|
D | security_level.rs | 225 let caller_uid = ThreadState::get_calling_uid(); in create_operation() localVariable 257 .get_after_first_unlock_key_by_user_id(uid_to_android_user(caller_uid)); in create_operation() 260 LEGACY_IMPORTER.with_try_import(key, caller_uid, super_key, || { in create_operation() 265 caller_uid, in create_operation() 343 self.operation_db.prune(caller_uid, forced)?; in create_operation() 371 caller_uid, in create_operation() 523 let caller_uid = ThreadState::get_calling_uid(); in generate_key() localVariable 528 nspace: caller_uid as i64, in generate_key() 545 caller_uid, in generate_key() 555 .add_required_parameters(caller_uid, params, &key) in generate_key() [all …]
|
D | database.rs | 1677 caller_uid: u32, in migrate_key_namespace() 1683 Domain::APP => KeyDescriptor { nspace: caller_uid as i64, ..(*destination).clone() }, in migrate_key_namespace() 1917 caller_uid: u32, in load_access_tuple() 1929 access_key.nspace = caller_uid as i64; in load_access_tuple() 1948 .query(params![caller_uid as i64, key.nspace, KeyLifeCycle::Live]) in load_access_tuple() 1996 if domain != Domain::APP || namespace != caller_uid as i64 { in load_access_tuple() 2001 params![caller_uid as i64, key.nspace], in load_access_tuple() 2155 caller_uid: u32, in load_key_entry() 2166 caller_uid, in load_key_entry() 2188 caller_uid: u32, in load_key_entry_internal() [all …]
|
D | legacy_importer.rs | 295 caller_uid: u32, in with_try_import() 316 KeyDescriptor { domain: Domain::APP, alias: Some(_), .. } => caller_uid, in with_try_import()
|
D | permission.rs | 332 caller_uid: u32, in check_key_permission() 354 if caller_uid as i64 != key.nspace { in check_key_permission()
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 104 fn list(&mut self, caller_uid: u32) -> Result<Vec<String>> { in list() 117 .query_map(params![caller_uid], |row| row.get(0))? in list() 124 fn put(&mut self, caller_uid: u32, alias: &str, entry: &[u8]) -> Result<()> { in put() 129 params![caller_uid, alias, entry,], in put() 136 fn get(&mut self, caller_uid: u32, alias: &str) -> Result<Option<Vec<u8>>> { in get() 140 params![caller_uid, alias], in get() 148 fn remove(&mut self, caller_uid: u32, alias: &str) -> Result<bool> { in remove() 152 params![caller_uid, alias], in remove()
|
/system/logging/logd/ |
D | SimpleLogBuffer.cpp | 241 bool SimpleLogBuffer::Prune(log_id_t id, unsigned long prune_rows, uid_t caller_uid) { in Prune() argument 265 if (caller_uid != 0 && element.uid() != caller_uid) { in Prune()
|
/system/security/keystore2/rkpd_client/src/ |
D | lib.rs | 205 caller_uid: u32, in get_rkpd_attestation_key_from_registration_async() 211 .getKey(caller_uid.try_into().unwrap(), &cb) in get_rkpd_attestation_key_from_registration_async() 229 caller_uid: u32, in get_rkpd_attestation_key_async() 234 get_rkpd_attestation_key_from_registration_async(®istration, caller_uid).await in get_rkpd_attestation_key_async() 299 pub fn get_rkpd_attestation_key(rpc_name: &str, caller_uid: u32) -> Result<RemotelyProvisionedKey> { in get_rkpd_attestation_key() 300 tokio_rt().block_on(get_rkpd_attestation_key_async(rpc_name, caller_uid)) in get_rkpd_attestation_key()
|