Home
last modified time | relevance | path

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

12345678910>>...14

/aosp_15_r20/system/vold/
H A DFsCrypt.cpp141 static std::string get_de_key_path(userid_t user_id) { in get_de_key_path()
145 static std::string get_ce_key_directory_path(userid_t user_id) { in get_ce_key_directory_path()
219 static bool read_and_fixate_user_ce_key(userid_t user_id, in read_and_fixate_user_ce_key()
437 static bool de_key_exists(userid_t user_id) { in de_key_exists()
442 static bool ce_key_exists(userid_t user_id) { in ce_key_exists()
452 static bool create_de_key(userid_t user_id, bool ephemeral) { in create_de_key()
465 static bool create_ce_key(userid_t user_id, bool ephemeral) { in create_ce_key()
512 userid_t user_id = std::stoi(entry->d_name); in load_all_de_keys() local
667 bool fscrypt_create_user_keys(userid_t user_id, bool ephemeral) { in fscrypt_create_user_keys()
686 static bool evict_user_keys(std::map<userid_t, UserPolicies>& policy_map, userid_t user_id) { in evict_user_keys() argument
[all …]
H A 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
/aosp_15_r20/out/soong/.intermediates/system/apex/apexd/apex_aidl_interface-java-source/gen/android/apex/
DIApexService.java54 …@Override public void snapshotCeData(int user_id, int rollback_id, java.lang.String apex_name) thr… in snapshotCeData()
61 …@Override public void restoreCeData(int user_id, int rollback_id, java.lang.String apex_name) thro… in restoreCeData()
69 …@Override public void destroyCeSnapshots(int user_id, int rollback_id) throws android.os.RemoteExc… in destroyCeSnapshots()
76 …@Override public void destroyCeSnapshotsNotSpecified(int user_id, int[] retain_rollback_ids) throw… in destroyCeSnapshotsNotSpecified()
575 …@Override public void snapshotCeData(int user_id, int rollback_id, java.lang.String apex_name) thr… in snapshotCeData()
596 …@Override public void restoreCeData(int user_id, int rollback_id, java.lang.String apex_name) thro… in restoreCeData()
630 …@Override public void destroyCeSnapshots(int user_id, int rollback_id) throws android.os.RemoteExc… in destroyCeSnapshots()
650 …@Override public void destroyCeSnapshotsNotSpecified(int user_id, int[] retain_rollback_ids) throw… in destroyCeSnapshotsNotSpecified()
878 …public void snapshotCeData(int user_id, int rollback_id, java.lang.String apex_name) throws androi… in snapshotCeData()
883 …public void restoreCeData(int user_id, int rollback_id, java.lang.String apex_name) throws android… in restoreCeData()
[all …]
/aosp_15_r20/system/core/libcutils/
H A 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()
/aosp_15_r20/system/core/storaged/
H A 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()
/aosp_15_r20/system/gatekeeper/
H A 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()
H A 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()
/aosp_15_r20/tools/netsim/src/hci/
H A Dasync_manager.cc285 AsyncTaskId ExecAsync(AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsync()
291 AsyncTaskId ExecAsyncPeriodically(AsyncUserId user_id, in ExecAsyncPeriodically()
305 bool CancelAsyncTasksFromUser(AsyncUserId user_id) { in CancelAsyncTasksFromUser()
387 AsyncUserId user_id; member in rootcanal::AsyncManager::AsyncTaskManager::Task
559 AsyncTaskId AsyncManager::ExecAsync(AsyncUserId user_id, in ExecAsync()
566 AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsyncPeriodically()
576 bool AsyncManager::CancelAsyncTasksFromUser(rootcanal::AsyncUserId user_id) { in CancelAsyncTasksFromUser()
/aosp_15_r20/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dasync_manager.cc289 AsyncTaskId ExecAsync(AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsync()
295 AsyncTaskId ExecAsyncPeriodically(AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsyncPeriodically()
308 bool CancelAsyncTasksFromUser(AsyncUserId user_id) { in CancelAsyncTasksFromUser()
382 AsyncUserId user_id; member in rootcanal::AsyncManager::AsyncTaskManager::Task
549 AsyncTaskId AsyncManager::ExecAsync(AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsync()
554 AsyncTaskId AsyncManager::ExecAsyncPeriodically(AsyncUserId user_id, in ExecAsyncPeriodically()
565 bool AsyncManager::CancelAsyncTasksFromUser(rootcanal::AsyncUserId user_id) { in CancelAsyncTasksFromUser()
/aosp_15_r20/external/autotest/client/common_lib/cros/
H A Denrollment.py19 def RemoraEnrollment(browser, user_id, password): argument
31 def EnterpriseEnrollment(browser, user_id, password, auto_login=False): argument
48 def EnterpriseFakeEnrollment(browser, user_id, password, gaia_id, argument
80 def KioskEnrollment(browser, user_id, password, gaia_id): argument
/aosp_15_r20/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_thread.cc75 uint32_t user_id; member
204 uint32_t user_id; member
206 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id) { in btsock_thread_add_fd()
296 static inline void set_poll(poll_slot_t* ps, int fd, int type, int flags, uint32_t user_id) { in set_poll()
307 static inline void add_poll(int h, int fd, int type, int flags, uint32_t user_id) { in add_poll()
397 uint32_t user_id = ts[h].ps[ps_i].user_id; in process_data_sock() local
/aosp_15_r20/system/apex/apexd/aidl/android/apex/
H A 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()
/aosp_15_r20/out/soong/.intermediates/system/apex/apexd/apex_aidl_interface-cpp-source/gen/include/android/apex/
DBnApexService.h84 …::android::binder::Status snapshotCeData(int32_t user_id, int32_t rollback_id, const ::std::string… in snapshotCeData()
87 …::android::binder::Status restoreCeData(int32_t user_id, int32_t rollback_id, const ::std::string&… in restoreCeData()
93 ::android::binder::Status destroyCeSnapshots(int32_t user_id, int32_t rollback_id) override { in destroyCeSnapshots()
96 …::android::binder::Status destroyCeSnapshotsNotSpecified(int32_t user_id, const ::std::vector<int3… in destroyCeSnapshotsNotSpecified()
/aosp_15_r20/tools/test/connectivity/acts_tests/acts_contrib/test_utils/users/
Dusers.py41 def switch_user(android_device, user_id): argument
50 def remove_user(android_device, user_id): argument
60 def _wait_for_user_to_take_place(android_device, user_id, timeout=10): argument
/aosp_15_r20/system/security/keystore2/tests/
H A Duser_auth.rs277 let user_id = user.id; in test_auth_bound_timeout_with_gk() localVariable
393 let user_id = user.id; in test_auth_bound_timeout_failure() localVariable
528 let user_id = user.id; in test_auth_bound_per_op_with_gk() localVariable
667 let user_id = user.id; in test_auth_bound_per_op_failure() localVariable
802 let user_id = user.id; in test_unlocked_device_required() localVariable
/aosp_15_r20/out/soong/.intermediates/system/apex/apexd/apex_aidl_interface-cpp-source/gen/android/apex/
DIApexService.cpp375 ::android::binder::Status BpApexService::snapshotCeData(int32_t user_id, int32_t rollback_id, const… in snapshotCeData()
417 ::android::binder::Status BpApexService::restoreCeData(int32_t user_id, int32_t rollback_id, const … in restoreCeData()
493 ::android::binder::Status BpApexService::destroyCeSnapshots(int32_t user_id, int32_t rollback_id) { in destroyCeSnapshots()
531 ::android::binder::Status BpApexService::destroyCeSnapshotsNotSpecified(int32_t user_id, const ::st… in destroyCeSnapshotsNotSpecified()
/aosp_15_r20/external/cronet/components/metrics/test/
H A Dtest_metrics_service_client.cc37 bool TestMetricsServiceClient::ShouldUploadMetricsForUserId(uint64_t user_id) { in ShouldUploadMetricsForUserId()
113 void TestMetricsServiceClient::AllowMetricUploadForUserId(uint64_t user_id) { in AllowMetricUploadForUserId()
117 void TestMetricsServiceClient::RemoveMetricUploadForUserId(uint64_t user_id) { in RemoveMetricUploadForUserId()
/aosp_15_r20/trusty/user/app/gatekeeper/
Dtrusty_gatekeeper.cpp215 secure_id_t user_id, in GetSecureFailureRecord()
262 secure_id_t user_id, in GetFailureRecord()
273 secure_id_t user_id, in ClearFailureRecord()
343 bool TrustyGateKeeper::GetMemoryRecord(uint32_t uid, secure_id_t user_id, in GetMemoryRecord()
/aosp_15_r20/external/ltp/testcases/kernel/fs/fs_perms/
H A Dfs_perms.c69 int user_id, int group_id) in testsetup()
106 static int testfperm(const char *file_name, int flag, int user_id, in testfperm()
182 uid_t fuser_id, user_id; in main() local
/aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2115/
H A Dpoc.cpp65 secure_id_t user_id __attribute__((unused)), in GetFailureRecord()
71 secure_id_t user_id __attribute__((unused)), in ClearFailureRecord()
95 secure_id_t user_id = 1; in main() local
/aosp_15_r20/system/vold/model/
H A DPublicVolume.cpp234 int user_id = getMountUserId(); in doMount() local
287 status_t PublicVolume::bindMountForUser(userid_t user_id) { in bindMountForUser()
321 int user_id = getMountUserId(); in doUnmount() local
/aosp_15_r20/system/extras/simpleperf/
H A Denvironment.cpp553 bool IsAppDebuggable(int user_id, const std::string& package_name) { in IsAppDebuggable()
561 InAppRunner(int user_id, const std::string& package_name) in InAppRunner()
688 RunAs(int user_id, const std::string& package_name) : InAppRunner(user_id, package_name) {} in RunAs()
742 SimpleperfAppRunner(int user_id, const std::string& package_name, const std::string& app_type) in SimpleperfAppRunner()
783 int user_id; in GetCurrentUserId() local
811 int user_id = GetCurrentUserId(); in RunInAppContext() local
/aosp_15_r20/hardware/interfaces/gatekeeper/1.0/software/
H A DSoftGateKeeper.h101 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t* record, in GetFailureRecord()
113 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) { in ClearFailureRecord()
145 uint64_t user_id = android::base::get_unaligned<secure_id_t>(&expected_handle->user_id); in DoVerify() local
/aosp_15_r20/device/google/cuttlefish/host/commands/secure_env/
Dsoft_gatekeeper.h108 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t* record, in GetFailureRecord()
120 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) { in ClearFailureRecord()
152 uint64_t user_id = android::base::get_unaligned<secure_id_t>(&expected_handle->user_id); in DoVerify() local
/aosp_15_r20/hardware/interfaces/gatekeeper/aidl/software/
H A DSoftGateKeeper.h117 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t* record, in GetFailureRecord()
129 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) { in ClearFailureRecord()
161 uint64_t user_id = android::base::get_unaligned<secure_id_t>(&expected_handle->user_id); in DoVerify() local

12345678910>>...14