Home
last modified time | relevance | path

Searched refs:multiuser_get_user_id (Results 1 – 8 of 8) sorted by relevance

/system/core/libcutils/
Dmultiuser_test.cpp34 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()
Dmultiuser.cpp20 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()
DAndroid.bp367 "--allowlist-function", "multiuser_get_user_id",
/system/core/libcutils/include/cutils/
Dmultiuser.h29 extern userid_t multiuser_get_user_id(uid_t uid);
/system/core/libcutils/include_outside_system/cutils/
Dmultiuser.h29 extern userid_t multiuser_get_user_id(uid_t uid);
/system/vold/
DVolumeManager.cpp559 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/
Dutils.rs234 unsafe { cutils_bindgen::multiuser_get_user_id(uid) } in uid_to_android_user()
/system/core/storaged/
Dstoraged_uid_monitor.cpp318 usage.user_id = multiuser_get_user_id(uid.uid); in update_curr_io_stats_locked()