Home
last modified time | relevance | path

Searched refs:Uid (Results 1 – 18 of 18) sorted by relevance

/system/security/keystore2/tests/
Dkeystore2_client_grant_key_tests.rs15 use nix::unistd::{getuid, Gid, Uid};
118 run_as::run_as(TARGET_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), || { in keystore2_grant_key_with_perm_none()
138 Uid::from_raw(GRANTEE_UID), in keystore2_grant_key_with_perm_none()
173 run_as::run_as(TARGET_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), || { in keystore2_grant_get_info_use_key_perm()
191 Uid::from_raw(GRANTEE_UID), in keystore2_grant_get_info_use_key_perm()
255 run_as::run_as(GRANTOR_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), || { in keystore2_grant_delete_key_success()
276 Uid::from_raw(GRANTEE_UID), in keystore2_grant_delete_key_success()
294 run_as::run_as(GRANTOR_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), move || { in keystore2_grant_delete_key_success()
329 run_as::run_as(GRANTOR_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), || { in keystore2_grant_key_fails_with_permission_denied()
351 Uid::from_raw(GRANTEE_UID), in keystore2_grant_key_fails_with_permission_denied()
[all …]
Dkeystore2_client_operation_tests.rs15 use nix::unistd::{getuid, Gid, Uid};
54 Uid::from_raw(base_uid + (i as u32)), in create_operations()
137 Uid::from_raw(auid), in keystore2_forced_op_after_backendbusy_test()
211 Uid::from_raw(auid), in keystore2_max_forced_ops_test()
290 Uid::from_raw(uid), in keystore2_ops_prune_test()
381 run_as::run_as(context, Uid::from_raw(uid), Gid::from_raw(gid), move || { in keystore2_forced_op_perm_denied_test()
410 run_as::run_as(TARGET_CTX, Uid::from_raw(uid), Gid::from_raw(gid), move || { in keystore2_forced_op_success_test()
Dkeystore2_client_list_entries_tests.rs15 use nix::unistd::{getuid, Gid, Uid};
64 run_as::run_as(GRANTOR_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), || { in keystore2_list_entries_success()
119 Uid::from_raw(GRANTEE_UID), in keystore2_list_entries_success()
165 run_as::run_as(TARGET_CTX, Uid::from_raw(auid), Gid::from_raw(agid), move || { in keystore2_list_entries_fails_perm_denied()
202 run_as::run_as(CLIENT_CTX, Uid::from_raw(CLIENT_UID), Gid::from_raw(CLIENT_GID), || { in keystore2_list_entries_with_long_aliases_success()
Dkeystore2_client_update_subcomponent_tests.rs15 use nix::unistd::{getuid, Gid, Uid};
171 run_as::run_as(GRANTOR_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), || { in keystore2_update_subcomponent_fails_permission_denied()
211 Uid::from_raw(GRANTEE_1_UID), in keystore2_update_subcomponent_fails_permission_denied()
240 Uid::from_raw(GRANTEE_2_UID), in keystore2_update_subcomponent_fails_permission_denied()
Dkeystore2_client_ec_key_tests.rs15 use nix::unistd::{getuid, Gid, Uid};
440 Uid::from_raw(uid1), in keystore2_key_owner_validation()
454 run_as::run_as(TARGET_CTX, Uid::from_raw(uid2), Gid::from_raw(gid2), move || { in keystore2_key_owner_validation()
Dkeystore2_client_test_utils.rs15 use nix::unistd::{Gid, Uid};
254 auid: Uid, in execute_op_run_as_child() argument
/system/security/keystore2/test_utils/
Drun_as.rs33 ForkResult, Gid, Pid, Uid,
40 fn transition(se_context: selinux::Context, uid: Uid, gid: Gid) { in transition() argument
242 uid: Uid, in run_as_child() argument
308 pub unsafe fn run_as<F, R>(se_context: &str, uid: Uid, gid: Gid, f: F) -> R in run_as() argument
373 static TARGET_UID: Uid = Uid::from_raw(10020);
/system/security/keystore2/tests/legacy_blobs/
Dkeystore2_legacy_blob_tests.rs15 use nix::unistd::{getuid, Gid, Uid};
150 run_as::run_as(TARGET_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), || { in keystore2_encrypted_characteristics()
264 run_as::run_as(TARGET_CTX, Uid::from_raw(auid), Gid::from_raw(agid), move || { in keystore2_encrypted_characteristics()
407 run_as::run_as(TARGET_SU_CTX, Uid::from_raw(0), Gid::from_raw(0), || { in keystore2_encrypted_certificates()
525 run_as::run_as(TARGET_CTX, Uid::from_raw(auid), Gid::from_raw(agid), move || { in keystore2_encrypted_certificates()
/system/logging/logd/
DLogTags.cpp69 unsigned long Uid = strtoul(comment + 4, &cp, 10); in sniffUid() local
70 if ((cp > endp) || (Uid >= INT_MAX)) return AID_ROOT; in sniffUid()
72 return Uid; in sniffUid()
800 std::string Uid; in formatEntry() local
801 if (uid != AID_ROOT) Uid = android::base::StringPrintf(" # uid=%u", uid); in formatEntry()
803 &tabs[len], format, Uid.c_str()); in formatEntry()
/system/incremental_delivery/libdataloader/include/
Ddataloader.h39 using Uid = IncFsUid; variable
/system/memory/lmkd/
Devent.logtags39 10195355 killinfo (Pid|1|5),(Uid|1|5),(OomAdj|1),(MinOomAdj|1),(TaskSize|1),(enum kill_reasons|1|5)…
/system/core/init/fuzzer/
DREADME.md60 4. Uid (parameter name: `uid`)
/system/security/keystore2/src/
Dlegacy_importer.rs75 Uid(u32), enumerator
387 importer_state.bulk_delete(BulkDeleteRequest::Uid(uid), false) in bulk_delete_uid()
749 BulkDeleteRequest::Uid(uid) => ( in bulk_delete()
/system/security/keystore/tests/fuzzer/
DREADME.md59 3. Uid (parameter name: `uid`)
/system/core/llkd/
Dlibllkd.cpp255 static constexpr char Uid[] = "\nUid:"; in llkProcGetUid() local
256 auto pos = content.find(Uid); in llkProcGetUid()
260 pos += ::strlen(Uid); in llkProcGetUid()
/system/incremental_delivery/incfs/include/
Dincfs.h185 using Uid = IncFsUid; variable
/system/sepolicy/prebuilts/api/34.0/private/
Dseapp_contexts45 # isIsolatedComputeApp=true means the process re-uses an isolated Uid but not
/system/sepolicy/private/
Dseapp_contexts45 # isIsolatedComputeApp=true means the process re-uses an isolated Uid but not