Home
last modified time | relevance | path

Searched defs:user_id (Results 1 – 25 of 30) 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.cpp113 static std::string get_de_key_path(userid_t user_id) { in get_de_key_path()
117 static std::string get_ce_key_directory_path(userid_t user_id) { in get_ce_key_directory_path()
190 static bool read_and_fixate_user_ce_key(userid_t user_id, in read_and_fixate_user_ce_key()
286 static bool read_and_install_user_ce_key(userid_t user_id, in read_and_install_user_ce_key()
320 static bool create_and_install_user_keys(userid_t user_id, bool create_ephemeral) { in create_and_install_user_keys()
354 static bool lookup_policy(const std::map<userid_t, EncryptionPolicy>& key_map, userid_t user_id, in lookup_policy() argument
395 userid_t user_id = std::stoi(entry->d_name); in load_all_de_keys() local
500 bool fscrypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral) { in fscrypt_vold_create_user_key()
539 static bool evict_ce_key(userid_t user_id) { in evict_ce_key()
551 bool fscrypt_destroy_user_key(userid_t user_id) { in fscrypt_destroy_user_key()
[all …]
Dvold_prepare_subdirs.cpp148 static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int flags) { in prepare_subdirs()
197 static bool destroy_subdirs(const std::string& volume_uuid, int user_id, int flags) { in destroy_subdirs()
228 int user_id = stoi(args[2]); in main() local
DVolumeManager.cpp570 userid_t user_id = multiuser_get_user_id(uid); in remountUid() local
/system/core/storaged/
Dstoraged.cpp164 void storaged_t::add_user_ce(userid_t user_id) { in add_user_ce()
171 void storaged_t::remove_user_ce(userid_t user_id) { in remove_user_ce()
177 void storaged_t::load_proto(userid_t user_id) { in load_proto()
204 char* storaged_t:: prepare_proto(userid_t user_id, StoragedProto* proto) { in prepare_proto()
237 void storaged_t::flush_proto_data(userid_t user_id, in flush_proto_data()
293 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.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
167 secure_id_t user_id, uint64_t flags, uint8_t handle_version, const SizedBuffer & password) { in CreatePasswordHandle()
227 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, in MintAuthToken()
327 bool GateKeeper::IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, in IncrementFailureRecord()
Dgatekeeper_messages.cpp30 uint32_t user_id; member
145 VerifyRequest::VerifyRequest(uint32_t user_id, uint64_t challenge, in VerifyRequest()
183 VerifyResponse::VerifyResponse(uint32_t user_id, SizedBuffer auth_token) { in VerifyResponse()
220 EnrollRequest::EnrollRequest(uint32_t user_id, SizedBuffer password_handle, in EnrollRequest()
260 EnrollResponse::EnrollResponse(uint32_t user_id, SizedBuffer enrolled_password_handle) { in EnrollResponse()
/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()
298 bool CancelAsyncTasksFromUser(AsyncUserId user_id) { in CancelAsyncTasksFromUser()
375 AsyncUserId user_id; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task
511 AsyncTaskId AsyncManager::ExecAsync(AsyncUserId user_id, in ExecAsync()
518 AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsyncPeriodically()
529 test_vendor_lib::AsyncUserId user_id) { in CancelAsyncTasksFromUser()
Dtest_model.cc199 AsyncUserId user_id = get_user_id_(); in IncomingHciConnection() local
212 AsyncUserId user_id) { in OnHciConnectionClosed()
/system/apex/apexd/aidl/android/apex/
DIApexService.aidl41 long snapshotCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in snapshotCeData()
47 void restoreCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in restoreCeData()
58 void destroyCeSnapshotsNotSpecified(int user_id, in int[] retain_rollback_ids); in destroyCeSnapshotsNotSpecified()
/system/bt/btif/src/
Dbtif_sock_thread.cc81 uint32_t user_id; member
219 uint32_t user_id; member
221 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id) { in btsock_thread_add_fd()
270 uint32_t user_id) { in btsock_thread_post_cmd()
363 uint32_t user_id) { in set_poll()
376 uint32_t user_id) { in add_poll()
473 uint32_t user_id = ts[h].ps[ps_i].user_id; in process_data_sock() local
Dbtif_sock.cc262 static void btsock_signaled(int fd, int type, int flags, uint32_t user_id) { in btsock_signaled()
Dbtif_pan.cc761 uint32_t user_id) { in btpan_tap_fd_signaled()
/system/gatekeeper/include/gatekeeper/
Dpassword_handle.h36 secure_id_t user_id; member
Dgatekeeper_messages.h162 uint32_t user_id; member
/system/core/storaged/include/
Dstoraged_uid_monitor.h63 userid_t user_id; member
Dstoraged.h94 string proto_path(userid_t user_id) { in proto_path()
/system/bt/bta/jv/
Dbta_jv_api.cc486 uint32_t user_id) { in BTA_JvL2capWrite()
512 BT_HDR* msg, uint32_t user_id) { in BTA_JvL2capWriteFixed()
/system/bt/vendor_libs/test_vendor_lib/desktop/
Dtest_environment.cc41 auto user_id = async_manager_.GetNextUserId(); in initialize() local
/system/apex/apexd/
Dapexservice.cpp485 BinderStatus ApexService::snapshotCeData(int user_id, int rollback_id, in snapshotCeData()
500 BinderStatus ApexService::restoreCeData(int user_id, int rollback_id, in restoreCeData()
525 int user_id, const std::vector<int>& retain_rollback_ids) { in destroyCeSnapshotsNotSpecified()
Dapexd.cpp1383 Result<ino_t> snapshotCeData(const int user_id, const int rollback_id, in snapshotCeData()
1396 Result<void> restoreCeData(const int user_id, const int rollback_id, in restoreCeData()
1520 int user_id, const std::vector<int>& retain_rollback_ids) { in destroyCeSnapshotsNotSpecified()
/system/security/keystore/
Dkeymaster_enforcement.cpp182 int32_t user_id = -1; in AuthorizeBegin() local
/system/media/audio/include/system/
Dsound_trigger.h179 unsigned int user_id; /* user ID */ member

12