Searched refs:multiuser_get_app_id (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | UserHandleTest.java | 63 EXPECT_EQ(0, multiuser_get_app_id(0)); in testSplitApp() 64 EXPECT_EQ(1000, multiuser_get_app_id(1000)); in testSplitApp() 65 EXPECT_EQ(10000, multiuser_get_app_id(10000)); in testSplitApp() 66 EXPECT_EQ(50000, multiuser_get_app_id(50000)); in testSplitApp() 67 EXPECT_EQ(0, multiuser_get_app_id(1000000)); in testSplitApp() 68 EXPECT_EQ(1000, multiuser_get_app_id(1001000)); in testSplitApp() 69 EXPECT_EQ(10000, multiuser_get_app_id(1010000)); in testSplitApp() 70 EXPECT_EQ(50000, multiuser_get_app_id(1050000)); in testSplitApp() 117 private static int multiuser_get_app_id(int uid) { in multiuser_get_app_id() method in UserHandleTest
|
/frameworks/av/media/utils/include/mediautils/ |
D | ServiceUtilities.h | 41 return multiuser_get_app_id(uid) < AID_APP_START; in isServiceUid() 58 return multiuser_get_app_id(uid) == AID_SYSTEM || uid == AID_AUDIOSERVER; in isAudioServerOrSystemServerUid() 64 return multiuser_get_app_id(uid) == AID_SYSTEM || uid == AID_AUDIOSERVER || uid == AID_ROOT; in isAudioServerOrSystemServerOrRootUid()
|
/frameworks/native/cmds/servicemanager/ |
D | ServiceManager.cpp | 140 uid_t appid = multiuser_get_app_id(ctx.uid); in tryGetService() 186 if (multiuser_get_app_id(ctx.uid) >= AID_APP) { in addService()
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 403 int32_t user_uid = multiuser_get_app_id(uid); in calculate_tree_size() 404 int32_t user_gid = multiuser_get_app_id(gid); in calculate_tree_size()
|
D | InstalldNativeService.cpp | 769 int32_t gid = multiuser_get_cache_gid(multiuser_get_user_id(uid), multiuser_get_app_id(uid)); in get_cache_gid() 1373 if (multiuser_get_app_id(uid) == AID_MEDIA_RW) { in freeCache() 1374 uid = (multiuser_get_app_id(p->fts_statp->st_gid) - AID_EXT_GID_START) in freeCache() 1382 multiuser_get_user_id(uid), multiuser_get_app_id(uid), uuidString)); in freeCache() 1684 int32_t user_uid = multiuser_get_app_id(s.st_uid); in collectManualStatsForUser()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 1343 if (multiuser_get_app_id(uid) == AID_BLUETOOTH) { in CalculateCapabilities() 1351 if (multiuser_get_app_id(uid) == AID_NETWORK_STACK) { in CalculateCapabilities()
|