Home
last modified time | relevance | path

Searched defs:user_id (Results 1 – 25 of 32) sorted by relevance

12

/system/core/libcutils/
Dmultiuser.cpp28 uid_t multiuser_get_uid(userid_t user_id, appid_t app_id) { in multiuser_get_uid()
32 uid_t multiuser_get_sdk_sandbox_uid(userid_t user_id, appid_t app_id) { in multiuser_get_sdk_sandbox_uid()
51 gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_cache_gid()
59 gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_gid()
67 gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_cache_gid()
/system/vold/
DFsCrypt.cpp140 static std::string get_de_key_path(userid_t user_id) { in get_de_key_path()
144 static std::string get_ce_key_directory_path(userid_t user_id) { in get_ce_key_directory_path()
218 static bool read_and_fixate_user_ce_key(userid_t user_id, in read_and_fixate_user_ce_key()
384 static bool de_key_exists(userid_t user_id) { in de_key_exists()
389 static bool ce_key_exists(userid_t user_id) { in ce_key_exists()
399 static bool create_de_key(userid_t user_id, bool ephemeral) { in create_de_key()
412 static bool create_ce_key(userid_t user_id, bool ephemeral) { in create_ce_key()
459 userid_t user_id = std::stoi(entry->d_name); in load_all_de_keys() local
614 bool fscrypt_create_user_keys(userid_t user_id, bool ephemeral) { in fscrypt_create_user_keys()
633 static bool evict_user_keys(std::map<userid_t, UserPolicies>& policy_map, userid_t user_id) { in evict_user_keys() argument
[all …]
Dvold_prepare_subdirs.cpp58 const std::string& path, uid_t user_id) { in prepare_dir_for_user()
172 static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int flags) { in prepare_subdirs()
267 static bool destroy_subdirs(const std::string& volume_uuid, int user_id, int flags) { in destroy_subdirs()
300 int user_id = stoi(args[2]); in main() local
DUtils.cpp97 std::string GetFuseMountPathForUser(userid_t user_id, const std::string& relative_upper_path) { in GetFuseMountPathForUser()
1547 status_t MountUserFuse(userid_t user_id, const std::string& absolute_lower_path, in MountUserFuse()
1651 status_t UnmountUserFuse(userid_t user_id, const std::string& absolute_lower_path, in UnmountUserFuse()
/system/core/storaged/
Dstoraged.cpp219 void storaged_t::add_user_ce(userid_t user_id) { in add_user_ce()
228 void storaged_t::remove_user_ce(userid_t user_id) { in remove_user_ce()
236 void storaged_t::load_proto(userid_t user_id) { in load_proto()
264 char* storaged_t:: prepare_proto(userid_t user_id, StoragedProto* proto) { in prepare_proto()
295 void storaged_t::flush_proto_data(userid_t user_id, in flush_proto_data()
351 void storaged_t::flush_proto(userid_t user_id, StoragedProto* proto) { in flush_proto()
Dstoraged_uid_monitor.cpp416 userid_t user_id = entry.ios.user_id; in update_uid_io_proto() local
448 void uid_monitor::clear_user_history(userid_t user_id) in clear_user_history()
470 void uid_monitor::load_uid_io_proto(userid_t user_id, const UidIOUsage& uid_io_proto) in load_uid_io_proto()
Dstoraged.proto25 optional uint32 user_id = 2; field
/system/gatekeeper/
Dgatekeeper_messages.cpp30 uint32_t user_id; member
161 VerifyRequest::VerifyRequest(uint32_t user_id, uint64_t challenge, in VerifyRequest()
199 VerifyResponse::VerifyResponse(uint32_t user_id, SizedBuffer auth_token) { in VerifyResponse()
236 EnrollRequest::EnrollRequest(uint32_t user_id, SizedBuffer password_handle, in EnrollRequest()
276 EnrollResponse::EnrollResponse(uint32_t user_id, SizedBuffer enrolled_password_handle) { in EnrollResponse()
299 DeleteUserRequest::DeleteUserRequest(uint32_t user_id) { in DeleteUserRequest()
Dgatekeeper.cpp47 secure_id_t user_id = 0;// todo: rename to policy in Enroll() local
131 secure_id_t user_id = password_handle->user_id; in Verify() local
194 secure_id_t user_id, uint64_t flags, uint8_t handle_version, const SizedBuffer & password) { in CreatePasswordHandle()
254 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, in MintAuthToken()
354 bool GateKeeper::IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, in IncrementFailureRecord()
/system/apex/apexd/aidl/android/apex/
DIApexService.aidl43 void snapshotCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in snapshotCeData()
49 void restoreCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in restoreCeData()
59 void destroyCeSnapshots(int user_id, int rollback_id); in destroyCeSnapshots()
65 void destroyCeSnapshotsNotSpecified(int user_id, in int[] retain_rollback_ids); in destroyCeSnapshotsNotSpecified()
/system/vold/model/
DPublicVolume.cpp234 int user_id = getMountUserId(); in doMount() local
281 status_t PublicVolume::bindMountForUser(userid_t user_id) { in bindMountForUser()
315 int user_id = getMountUserId(); in doUnmount() local
DEmulatedVolume.cpp411 int user_id = getMountUserId(); in doMount() local
524 int user_id = getMountUserId(); in getRootPath() local
/system/gatekeeper/include/gatekeeper/
Dpassword_handle.h36 secure_id_t user_id; member
Dgatekeeper_messages.h165 uint32_t user_id; member
/system/extras/simpleperf/
Denvironment.cpp556 bool IsAppDebuggable(int user_id, const std::string& package_name) { in IsAppDebuggable()
564 InAppRunner(int user_id, const std::string& package_name) in InAppRunner()
691 RunAs(int user_id, const std::string& package_name) : InAppRunner(user_id, package_name) {} in RunAs()
745 SimpleperfAppRunner(int user_id, const std::string& package_name, const std::string& app_type) in SimpleperfAppRunner()
786 int user_id; in GetCurrentUserId() local
814 int user_id = GetCurrentUserId(); in RunInAppContext() local
/system/core/storaged/include/
Dstoraged_uid_monitor.h63 userid_t user_id; member
Dstoraged.h116 string proto_path(userid_t user_id) { in proto_path()
/system/security/keystore2/src/database/
Dperboot.rs29 user_id: i64, field
/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp180 uint32_t user_id = 0; in main() local
/system/apex/apexd/
Dapexservice.cpp631 BinderStatus ApexService::snapshotCeData(int user_id, int rollback_id, in snapshotCeData()
651 BinderStatus ApexService::restoreCeData(int user_id, int rollback_id, in restoreCeData()
689 BinderStatus ApexService::destroyCeSnapshots(int user_id, int rollback_id) { in destroyCeSnapshots()
708 int user_id, const std::vector<int>& retain_rollback_ids) { in destroyCeSnapshotsNotSpecified()
/system/security/keystore2/src/
Dlegacy_blob.rs843 let user_id = uid_to_android_user(uid); in remove_legacy_keystore_entry() localVariable
852 let user_id = uid_to_android_user(uid); in list_legacy_keystore_entries_for_uid() localVariable
926 let user_id = uid_to_android_user(uid); in make_legacy_keystore_entry_filename() localVariable
936 let user_id = uid_to_android_user(uid); in make_blob_filename() localVariable
946 let user_id = uid_to_android_user(uid); in make_chr_filename() localVariable
1055 let user_id = uid_to_android_user(uid); in list_keystore_entries_for_uid() localVariable
1138 let user_id = uid_to_android_user(uid); in remove_keystore_entry() localVariable
Dsecurity_level.rs628 let user_id = uid_to_android_user(caller_uid); in generate_key() localVariable
686 let user_id = uid_to_android_user(caller_uid); in import_key() localVariable
717 let user_id = uid_to_android_user(caller_uid); in import_wrapped_key() localVariable
Dmaintenance.rs246 let user_id = uid_to_android_user(calling_uid); in migrate_key_namespace() localVariable
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java113 int user_id = uid / AID_USER_OFFSET; in ProfileSession() local
/system/security/keystore2/tests/
Dkeystore2_client_grant_key_tests.rs418 let user_id = 98; in keystore2_grant_key_fails_with_grant_perm_expect_perm_denied() localVariable
439 let user_id = 98; in keystore2_grant_fails_with_non_existing_key_expect_key_not_found_err() localVariable

12