Home
last modified time | relevance | path

Searched refs:caller_uid (Results 1 – 11 of 11) sorted by relevance

/system/security/keystore2/src/
Dattestation_key_utils.rs54 caller_uid: u32, in get_attest_key_info()
63 .get_remotely_provisioned_attestation_key_and_certs(&key, caller_uid, params, db) in get_attest_key_info()
74 Some(attest_key) => get_user_generated_attestation_key(&attest_key, caller_uid, db) in get_attest_key_info()
82 caller_uid: u32, in get_user_generated_attestation_key()
86 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()
111 caller_uid, in load_attest_key_blob_and_cert()
Dservice.rs134 let caller_uid = ThreadState::get_calling_uid(); in get_key_entry() localVariable
137 LEGACY_MIGRATOR.with_try_migrate(&key, caller_uid, || { in get_key_entry()
142 caller_uid, in get_key_entry()
186 let caller_uid = ThreadState::get_calling_uid(); in update_subcomponent() localVariable
188 let entry = match LEGACY_MIGRATOR.with_try_migrate(&key, caller_uid, || { in update_subcomponent()
193 caller_uid, in update_subcomponent()
310 let caller_uid = ThreadState::get_calling_uid(); in delete_key() localVariable
312 LEGACY_MIGRATOR.with_try_migrate(&key, caller_uid, || { in delete_key()
313 db.borrow_mut().unbind_key(&key, KeyType::Client, caller_uid, |k, av| { in delete_key()
328 let caller_uid = ThreadState::get_calling_uid(); in grant() localVariable
[all …]
Dsecurity_level.rs212 let caller_uid = ThreadState::get_calling_uid(); in create_operation() localVariable
244 LEGACY_MIGRATOR.with_try_migrate(&key, caller_uid, || { in create_operation()
249 caller_uid, in create_operation()
328 self.operation_db.prune(caller_uid, forced)?; in create_operation()
356 caller_uid, in create_operation()
476 let caller_uid = ThreadState::get_calling_uid(); in generate_key() localVariable
481 nspace: caller_uid as i64, in generate_key()
498 caller_uid, in generate_key()
508 .add_certificate_parameters(caller_uid, params, &key) in generate_key()
577 let user_id = uid_to_android_user(caller_uid); in generate_key()
[all …]
Dremote_provisioning.rs93 caller_uid: u32, in get_rem_prov_attest_key()
103 self.get_rem_prov_attest_key_helper(key, caller_uid, db) in get_rem_prov_attest_key()
106 || self.get_rem_prov_attest_key_helper(key, caller_uid, db), in get_rem_prov_attest_key()
131 caller_uid: u32, in get_rem_prov_attest_key_helper()
135 .retrieve_attestation_key_and_cert_chain(key.domain, caller_uid as i64, &self.km_uuid) in get_rem_prov_attest_key_helper()
143 db.assign_attestation_key(key.domain, caller_uid as i64, &self.km_uuid) in get_rem_prov_attest_key_helper()
174 caller_uid: u32, in get_remotely_provisioned_attestation_key_and_certs()
185 match self.get_rem_prov_attest_key(&key, caller_uid, db) { in get_remotely_provisioned_attestation_key_and_certs()
Dmaintenance.rs220 let caller_uid = ThreadState::get_calling_uid(); in migrate_key_namespace() localVariable
226 .with_try_migrate(&source, caller_uid, || { in migrate_key_namespace()
231 caller_uid, in migrate_key_namespace()
250 db.borrow_mut().migrate_key_namespace(key_id_guard, destination, caller_uid, |k| { in migrate_key_namespace()
Ddatabase.rs2166 caller_uid: u32, in migrate_key_namespace()
2172 Domain::APP => KeyDescriptor { nspace: caller_uid as i64, ..(*destination).clone() }, in migrate_key_namespace()
2387 caller_uid: u32, in load_access_tuple()
2399 access_key.nspace = caller_uid as i64; in load_access_tuple()
2418 .query(params![caller_uid as i64, key.nspace, KeyLifeCycle::Live]) in load_access_tuple()
2466 if domain != Domain::APP || namespace != caller_uid as i64 { in load_access_tuple()
2471 params![caller_uid as i64, key.nspace], in load_access_tuple()
2626 caller_uid: u32, in load_key_entry()
2636 caller_uid, in load_key_entry()
2657 caller_uid: u32, in load_key_entry_internal()
[all …]
Dlegacy_migrator.rs289 caller_uid: u32, in with_try_migrate()
309 KeyDescriptor { domain: Domain::APP, alias: Some(_), .. } => caller_uid, in with_try_migrate()
Dpermission.rs505 caller_uid: u32, in check_key_permission()
527 if caller_uid as i64 != key.nspace { in check_key_permission()
/system/security/keystore2/legacykeystore/
Dlib.rs104 fn list(&mut self, caller_uid: u32) -> Result<Vec<String>> { in list()
111 .query_map(params![caller_uid], |row| row.get(0))? in list()
118 fn put(&mut self, caller_uid: u32, alias: &str, entry: &[u8]) -> Result<()> { in put()
122 params![caller_uid, alias, entry,], in put()
129 fn get(&mut self, caller_uid: u32, alias: &str) -> Result<Option<Vec<u8>>> { in get()
133 params![caller_uid, alias], in get()
141 fn remove(&mut self, caller_uid: u32, alias: &str) -> Result<bool> { in remove()
145 params![caller_uid, alias], in remove()
/system/logging/logd/
DSimpleLogBuffer.cpp275 bool SimpleLogBuffer::Prune(log_id_t id, unsigned long prune_rows, uid_t caller_uid) { in Prune() argument
299 if (caller_uid != 0 && element.uid() != caller_uid) { in Prune()
DChattyLogBuffer.cpp332 bool ChattyLogBuffer::Prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) { in Prune() argument
350 if (__predict_false(caller_uid != AID_ROOT)) { // unlikely in Prune()
357 if (element.log_id() != id || element.uid() != caller_uid) { in Prune()