Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DUserHandleTest.java39 EXPECT_EQ(0, multiuser_get_uid(0, 0)); in testMerge()
40 EXPECT_EQ(1000, multiuser_get_uid(0, 1000)); in testMerge()
41 EXPECT_EQ(10000, multiuser_get_uid(0, 10000)); in testMerge()
42 EXPECT_EQ(50000, multiuser_get_uid(0, 50000)); in testMerge()
43 EXPECT_EQ(1000000, multiuser_get_uid(10, 0)); in testMerge()
44 EXPECT_EQ(1001000, multiuser_get_uid(10, 1000)); in testMerge()
45 EXPECT_EQ(1010000, multiuser_get_uid(10, 10000)); in testMerge()
46 EXPECT_EQ(1050000, multiuser_get_uid(10, 50000)); in testMerge()
101 private static int multiuser_get_uid(int userId, int appId) { in multiuser_get_uid() method in UserHandleTest
/frameworks/native/cmds/installd/
Dinstalld.cpp133 uid_t uid = multiuser_get_uid(user_id, AID_SYSTEM); in initialize_directories()
DCacheTracker.cpp50 multiuser_get_uid(mUserId, mAppId), cacheUsed, cacheQuota, getCacheRatio()); in toString()
Dutils.cpp960 const int uid = multiuser_get_uid(userid, AID_SYSTEM); in ensure_config_user_dirs()
961 const int gid = multiuser_get_uid(userid, AID_EVERYBODY); in ensure_config_user_dirs()
1088 uid_t uid = multiuser_get_uid(userId, appId); in get_occupied_app_space_external()
1105 uid_t uid = multiuser_get_uid(userId, appId); in get_occupied_app_cache_space_external()
DInstalldNativeService.cpp377 int32_t uid = multiuser_get_uid(userId, appId); in prepare_app_profile_dir()
456 int32_t uid = multiuser_get_uid(userId, appId); in createAppData()
1550 uid_t uid = multiuser_get_uid(userId, appId); in collectQuotaStats()
1877 uid_t uid = multiuser_get_uid(userId, AID_MEDIA_RW); in getExternalSizesForUserWithQuota()
1882 gid_t audioGid = multiuser_get_uid(userId, AID_MEDIA_AUDIO); in getExternalSizesForUserWithQuota()
1887 gid_t videoGid = multiuser_get_uid(userId, AID_MEDIA_VIDEO); in getExternalSizesForUserWithQuota()
1892 gid_t imageGid = multiuser_get_uid(userId, AID_MEDIA_IMAGE); in getExternalSizesForUserWithQuota()
1933 uid_t uid = multiuser_get_uid(userId, appId); in getExternalSizesForUserWithQuota()
2212 int32_t uid = multiuser_get_uid(userId, appId); in setAppQuota()
2642 uid_t uid = multiuser_get_uid(userId, appId); in restoreconAppData()
Ddexopt.cpp2985 uid_t uid = multiuser_get_uid(user_id, app_id); in prepare_app_profile()
/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp472 uid_t app_uid_for_user_0 = multiuser_get_uid(/*user_id*/0, /*app_id*/ 1234); in TEST_F()
473 uid_t app_uid_for_user_10 = multiuser_get_uid(/*user_id*/10, /*app_id*/ 1234); in TEST_F()
Dinstalld_dexopt_test.cpp192 const gid_t kTestAppUid = multiuser_get_uid(kTestUserId, kTestAppId);
/frameworks/native/services/sensorservice/
DSensorService.cpp586 uid = multiuser_get_uid(userId, uid); in getUidForPackage()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp757 uid = multiuser_get_uid(userId, uid); in getUidForPackage()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp910 uid = multiuser_get_uid(userId, uid); in getUidForPackage()