Searched refs:multiuser_get_user_id (Results 1 – 8 of 8) sorted by relevance
/system/core/libcutils/ |
D | multiuser_test.cpp | 34 EXPECT_EQ(0U, multiuser_get_user_id(0)); in TEST() 35 EXPECT_EQ(0U, multiuser_get_user_id(1000)); in TEST() 36 EXPECT_EQ(0U, multiuser_get_user_id(10000)); in TEST() 37 EXPECT_EQ(0U, multiuser_get_user_id(50000)); in TEST() 38 EXPECT_EQ(10U, multiuser_get_user_id(1000000)); in TEST() 39 EXPECT_EQ(10U, multiuser_get_user_id(1001000)); in TEST() 40 EXPECT_EQ(10U, multiuser_get_user_id(1010000)); in TEST() 41 EXPECT_EQ(10U, multiuser_get_user_id(1050000)); in TEST()
|
D | multiuser.cpp | 20 userid_t multiuser_get_user_id(uid_t uid) { in multiuser_get_user_id() function 67 return multiuser_get_shared_gid(multiuser_get_user_id(uid), multiuser_get_app_id(uid)); in multiuser_get_shared_app_gid()
|
D | Android.bp | 367 "--allowlist-function", "multiuser_get_user_id",
|
/system/core/libcutils/include/cutils/ |
D | multiuser.h | 29 extern userid_t multiuser_get_user_id(uid_t uid);
|
/system/core/libcutils/include_outside_system/cutils/ |
D | multiuser.h | 29 extern userid_t multiuser_get_user_id(uid_t uid);
|
/system/vold/ |
D | VolumeManager.cpp | 559 userSource = StringPrintf("/mnt/user/%d", multiuser_get_user_id(uid)); in forkAndRemountChild() 625 if (userId != static_cast<userid_t>(-1) && multiuser_get_user_id(sb.st_uid) != userId) { in scanProcProcesses() 777 userid_t userId = multiuser_get_user_id(uid); in forkAndRemountStorage() 873 userid_t userId = multiuser_get_user_id(uid); in handleAppStorageDirs() 1013 vol.getMountUserId() != multiuser_get_user_id(appUid)) { in setupAppDir()
|
/system/security/keystore2/src/ |
D | utils.rs | 234 unsafe { cutils_bindgen::multiuser_get_user_id(uid) } in uid_to_android_user()
|
/system/core/storaged/ |
D | storaged_uid_monitor.cpp | 318 usage.user_id = multiuser_get_user_id(uid.uid); in update_curr_io_stats_locked()
|