Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DUserHandleTest.java42 EXPECT_EQ(0, multiuser_get_uid(0, 0)); in testMerge()
43 EXPECT_EQ(1000, multiuser_get_uid(0, 1000)); in testMerge()
44 EXPECT_EQ(10000, multiuser_get_uid(0, 10000)); in testMerge()
45 EXPECT_EQ(50000, multiuser_get_uid(0, 50000)); in testMerge()
46 EXPECT_EQ(1000000, multiuser_get_uid(10, 0)); in testMerge()
47 EXPECT_EQ(1001000, multiuser_get_uid(10, 1000)); in testMerge()
48 EXPECT_EQ(1010000, multiuser_get_uid(10, 10000)); in testMerge()
49 EXPECT_EQ(1050000, multiuser_get_uid(10, 50000)); in testMerge()
104 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()
DInstalldNativeService.cpp509 int32_t uid = multiuser_get_uid(userId, appId); in prepare_app_profile_dir()
589 uid_t uid = multiuser_get_uid(userId, appId); in chown_app_profile_dir()
699 int32_t uid = multiuser_get_uid(userId, appId); in createAppDataLocked()
703 previousAppId > 0 ? (int32_t)multiuser_get_uid(userId, previousAppId) : -1; in createAppDataLocked()
946 int32_t appUid = multiuser_get_uid(userId, appId); in reconcileSdkData()
2190 uid_t uid = multiuser_get_uid(userId, appId); in collectQuotaStats()
2562 uid_t uid = multiuser_get_uid(userId, AID_MEDIA_RW); in getExternalSizesForUserWithQuota()
2567 gid_t audioGid = multiuser_get_uid(userId, AID_MEDIA_AUDIO); in getExternalSizesForUserWithQuota()
2572 gid_t videoGid = multiuser_get_uid(userId, AID_MEDIA_VIDEO); in getExternalSizesForUserWithQuota()
2577 gid_t imageGid = multiuser_get_uid(userId, AID_MEDIA_IMAGE); in getExternalSizesForUserWithQuota()
[all …]
Dutils.cpp1164 const int uid = multiuser_get_uid(userid, AID_SYSTEM); in ensure_config_user_dirs()
1165 const int gid = multiuser_get_uid(userid, AID_EVERYBODY); in ensure_config_user_dirs()
1309 uid_t uid = multiuser_get_uid(userId, appId); in get_occupied_app_space_external()
1326 uid_t uid = multiuser_get_uid(userId, appId); in get_occupied_app_cache_space_external()
Ddexopt.cpp2789 uid_t uid = multiuser_get_uid(user_id, app_id); in prepare_app_profile()
2806 open_reference_profile(multiuser_get_uid(user_id, app_id), package_name, profile_name, in prepare_app_profile()
/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp470 uid_t app_uid_for_user_0 = multiuser_get_uid(/*user_id*/0, /*app_id*/ 1234); in TEST_F()
471 uid_t app_uid_for_user_10 = multiuser_get_uid(/*user_id*/10, /*app_id*/ 1234); in TEST_F()
Dinstalld_dexopt_test.cpp195 const gid_t kTestAppUid = multiuser_get_uid(kTestUserId, kTestAppId);
1181 int32_t uid = has_user_id ? kTestAppUid : multiuser_get_uid(USER_SYSTEM, kTestAppId); in preparePackageProfile()
Dinstalld_service_test.cpp92 const gid_t kTestAppUid = multiuser_get_uid(kTestUserId, kTestAppId);
/frameworks/av/services/mediatranscoding/tests/
DMediaTranscodingServiceTestHelper.h88 uid = multiuser_get_uid(userId, uid); in getUidForPackage()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp838 multiuser_get_uid(user_id, AID_EVERYBODY), fail_fn); in MountEmulatedStorage()
/frameworks/native/services/sensorservice/
DSensorService.cpp846 uid = multiuser_get_uid(userId, uid); in getUidForPackage()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1427 uid = multiuser_get_uid(userId, uid); in getUidForPackage()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1186 uid = multiuser_get_uid(userId, uid); in getUidForPackage()