Searched refs:multiuser_get_uid (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | UserHandleTest.java | 39 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/ |
D | installd.cpp | 133 uid_t uid = multiuser_get_uid(user_id, AID_SYSTEM); in initialize_directories()
|
D | InstalldNativeService.cpp | 409 int32_t uid = multiuser_get_uid(userId, appId); in prepare_app_profile_dir() 461 int32_t uid = multiuser_get_uid(userId, appId); in createAppData() 964 multiuser_get_uid(userId, AID_MEDIA_RW))) { in createUserData() 1235 uid_t uid = multiuser_get_uid(userId, appId); in collectQuotaStats() 1622 uid_t uid = multiuser_get_uid(userId, AID_MEDIA_RW); in getUserSize() 1749 uid_t uid = multiuser_get_uid(userId, AID_MEDIA_RW); in getExternalSize() 1762 gid_t audioGid = multiuser_get_uid(userId, AID_MEDIA_AUDIO); in getExternalSize() 1770 gid_t videoGid = multiuser_get_uid(userId, AID_MEDIA_VIDEO); in getExternalSize() 1778 gid_t imageGid = multiuser_get_uid(userId, AID_MEDIA_IMAGE); in getExternalSize() 1876 int32_t uid = multiuser_get_uid(userId, appId); in setAppQuota() [all …]
|
D | CacheTracker.cpp | 46 multiuser_get_uid(mUserId, mAppId), cacheUsed, cacheQuota, getCacheRatio()); in toString()
|
D | utils.cpp | 889 const int uid = multiuser_get_uid(userid, AID_SYSTEM); in ensure_config_user_dirs() 890 const int gid = multiuser_get_uid(userid, AID_EVERYBODY); in ensure_config_user_dirs()
|
D | dexopt.cpp | 2782 uid_t uid = multiuser_get_uid(user_id, app_id); in prepare_app_profile()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 455 uid_t app_uid_for_user_0 = multiuser_get_uid(/*user_id*/0, /*app_id*/ 1234); in TEST_F() 456 uid_t app_uid_for_user_10 = multiuser_get_uid(/*user_id*/10, /*app_id*/ 1234); in TEST_F()
|
D | installd_dexopt_test.cpp | 151 const gid_t kTestAppUid = multiuser_get_uid(kTestUserId, kTestAppId);
|