Home
last modified time | relevance | path

Searched refs:multiuser_get_uid (Results 1 – 5 of 5) sorted by relevance

/system/core/libcutils/
Dmultiuser_test.cpp23 EXPECT_EQ(0U, multiuser_get_uid(0, 0)); in TEST()
24 EXPECT_EQ(1000U, multiuser_get_uid(0, 1000)); in TEST()
25 EXPECT_EQ(10000U, multiuser_get_uid(0, 10000)); in TEST()
26 EXPECT_EQ(50000U, multiuser_get_uid(0, 50000)); in TEST()
27 EXPECT_EQ(1000000U, multiuser_get_uid(10, 0)); in TEST()
28 EXPECT_EQ(1001000U, multiuser_get_uid(10, 1000)); in TEST()
29 EXPECT_EQ(1010000U, multiuser_get_uid(10, 10000)); in TEST()
30 EXPECT_EQ(1050000U, multiuser_get_uid(10, 50000)); in TEST()
Dmultiuser.cpp28 uid_t multiuser_get_uid(userid_t user_id, appid_t app_id) { in multiuser_get_uid() function
34 return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_CACHE_GID_START); in multiuser_get_cache_gid()
42 return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_EXT_GID_START); in multiuser_get_ext_gid()
50 return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_EXT_CACHE_GID_START); in multiuser_get_ext_cache_gid()
/system/core/libcutils/include/cutils/
Dmultiuser.h32 extern uid_t multiuser_get_uid(userid_t user_id, appid_t app_id);
/system/core/libcutils/include_vndk/cutils/
Dmultiuser.h32 extern uid_t multiuser_get_uid(userid_t user_id, appid_t app_id);
/system/vold/
DFsCrypt.cpp820 if (!prepare_dir(misc_legacy_path, 0750, multiuser_get_uid(user_id, AID_SYSTEM), in fscrypt_prepare_user_storage()
821 multiuser_get_uid(user_id, AID_EVERYBODY))) in fscrypt_prepare_user_storage()