Home
last modified time | relevance | path

Searched defs:user_id (Results 1 – 25 of 40) 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 gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_cache_gid()
40 gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_gid()
48 gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_cache_gid()
/system/vold/
DFsCrypt.cpp119 static std::string get_de_key_path(userid_t user_id) { in get_de_key_path()
123 static std::string get_ce_key_directory_path(userid_t user_id) { in get_ce_key_directory_path()
197 static bool read_and_fixate_user_ce_key(userid_t user_id, in read_and_fixate_user_ce_key()
292 static bool read_and_install_user_ce_key(userid_t user_id, in read_and_install_user_ce_key()
326 static bool create_and_install_user_keys(userid_t user_id, bool create_ephemeral) { in create_and_install_user_keys()
360 static bool lookup_policy(const std::map<userid_t, EncryptionPolicy>& key_map, userid_t user_id, in lookup_policy() argument
402 userid_t user_id = std::stoi(entry->d_name); in load_all_de_keys() local
506 bool fscrypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral) { in fscrypt_vold_create_user_key()
545 static bool evict_ce_key(userid_t user_id) { in evict_ce_key()
557 bool fscrypt_destroy_user_key(userid_t user_id) { in fscrypt_destroy_user_key()
[all …]
Dvold_prepare_subdirs.cpp58 const std::string& path, uid_t user_id) { in prepare_dir_for_user()
166 static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int flags) { in prepare_subdirs()
234 static bool destroy_subdirs(const std::string& volume_uuid, int user_id, int flags) { in destroy_subdirs()
265 int user_id = stoi(args[2]); in main() local
/system/core/storaged/
Dstoraged.cpp164 void storaged_t::add_user_ce(userid_t user_id) { in add_user_ce()
173 void storaged_t::remove_user_ce(userid_t user_id) { in remove_user_ce()
181 void storaged_t::load_proto(userid_t user_id) { in load_proto()
208 char* storaged_t:: prepare_proto(userid_t user_id, StoragedProto* proto) { in prepare_proto()
241 void storaged_t::flush_proto_data(userid_t user_id, in flush_proto_data()
297 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.cpp34 secure_id_t user_id = 0;// todo: rename to policy in Enroll() local
118 secure_id_t user_id = password_handle->user_id; in Verify() local
181 secure_id_t user_id, uint64_t flags, uint8_t handle_version, const SizedBuffer & password) { in CreatePasswordHandle()
241 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, in MintAuthToken()
341 bool GateKeeper::IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, in IncrementFailureRecord()
/system/apex/apexd/aidl/android/apex/
DIApexService.aidl42 void snapshotCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in snapshotCeData()
48 void restoreCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in restoreCeData()
58 void destroyCeSnapshots(int user_id, int rollback_id); in destroyCeSnapshots()
64 void destroyCeSnapshotsNotSpecified(int user_id, in int[] retain_rollback_ids); in destroyCeSnapshotsNotSpecified()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc273 AsyncTaskId ExecAsync(AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsync()
279 AsyncTaskId ExecAsyncPeriodically(AsyncUserId user_id, in ExecAsyncPeriodically()
293 bool CancelAsyncTasksFromUser(AsyncUserId user_id) { in CancelAsyncTasksFromUser()
369 AsyncUserId user_id; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task
519 AsyncTaskId AsyncManager::ExecAsync(AsyncUserId user_id, in ExecAsync()
526 AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsyncPeriodically()
537 test_vendor_lib::AsyncUserId user_id) { in CancelAsyncTasksFromUser()
Dtest_model.cc203 AsyncUserId user_id = get_user_id_(); in IncomingHciConnection() local
218 AsyncUserId user_id) { in OnHciConnectionClosed()
/system/bt/btif/src/
Dbtif_sock_thread.cc82 uint32_t user_id; member
213 uint32_t user_id; member
215 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id) { in btsock_thread_add_fd()
263 uint32_t user_id) { in btsock_thread_post_cmd()
355 uint32_t user_id) { in set_poll()
368 uint32_t user_id) { in add_poll()
452 uint32_t user_id = ts[h].ps[ps_i].user_id; in process_data_sock() local
Dbtif_sock.cc257 static void btsock_signaled(int fd, int type, int flags, uint32_t user_id) { in btsock_signaled()
/system/gatekeeper/include/gatekeeper/
Dpassword_handle.h36 secure_id_t user_id; member
/system/extras/simpleperf/
Denvironment.cpp533 bool IsAppDebuggable(int user_id, const std::string& package_name) { in IsAppDebuggable()
541 InAppRunner(int user_id, const std::string& package_name) in InAppRunner()
668 RunAs(int user_id, const std::string& package_name) : InAppRunner(user_id, package_name) {} in RunAs()
722 SimpleperfAppRunner(int user_id, const std::string& package_name, const std::string app_type) in SimpleperfAppRunner()
763 int user_id; in GetCurrentUserId() local
791 int user_id = GetCurrentUserId(); in RunInAppContext() local
/system/vold/model/
DEmulatedVolume.cpp326 int user_id = getMountUserId(); in doMount() local
435 int user_id = getMountUserId(); in getRootPath() local
DPublicVolume.cpp234 int user_id = getMountUserId(); in doMount() local
/system/security/keystore2/src/
Dlegacy_blob.rs675 let user_id = uid_to_android_user(uid); in remove_legacy_keystore_entry() localVariable
683 let user_id = uid_to_android_user(uid); in list_legacy_keystore_entries_for_uid() localVariable
765 let user_id = uid_to_android_user(uid); in make_legacy_keystore_entry_filename() localVariable
775 let user_id = uid_to_android_user(uid); in make_blob_filename() localVariable
785 let user_id = uid_to_android_user(uid); in make_chr_filename() localVariable
898 let user_id = uid_to_android_user(uid); in list_keystore_entries_for_uid() localVariable
983 let user_id = uid_to_android_user(uid); in remove_keystore_entry() localVariable
Dsecurity_level.rs577 let user_id = uid_to_android_user(caller_uid); in generate_key() localVariable
637 let user_id = uid_to_android_user(caller_uid); in import_key() localVariable
672 let user_id = uid_to_android_user(caller_uid); in import_wrapped_key() localVariable
/system/core/storaged/include/
Dstoraged_uid_monitor.h63 userid_t user_id; member
/system/apex/apexd/
Dapexservice.cpp551 BinderStatus ApexService::snapshotCeData(int user_id, int rollback_id, in snapshotCeData()
564 BinderStatus ApexService::restoreCeData(int user_id, int rollback_id, in restoreCeData()
588 BinderStatus ApexService::destroyCeSnapshots(int user_id, int rollback_id) { in destroyCeSnapshots()
600 int user_id, const std::vector<int>& retain_rollback_ids) { in destroyCeSnapshotsNotSpecified()
/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp180 uint32_t user_id = 0; in main() local
/system/security/keystore2/src/database/
Dperboot.rs30 user_id: i64, field
/system/bt/vendor_libs/test_vendor_lib/desktop/
Dtest_environment.cc40 auto user_id = async_manager_.GetNextUserId(); in initialize() local
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java113 int user_id = uid / AID_USER_OFFSET; in ProfileSession() local

12