Home
last modified time | relevance | path

Searched refs:multiuser_get_app_id (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DUserHandleTest.java66 EXPECT_EQ(0, multiuser_get_app_id(0)); in testSplitApp()
67 EXPECT_EQ(1000, multiuser_get_app_id(1000)); in testSplitApp()
68 EXPECT_EQ(10000, multiuser_get_app_id(10000)); in testSplitApp()
69 EXPECT_EQ(50000, multiuser_get_app_id(50000)); in testSplitApp()
70 EXPECT_EQ(0, multiuser_get_app_id(1000000)); in testSplitApp()
71 EXPECT_EQ(1000, multiuser_get_app_id(1001000)); in testSplitApp()
72 EXPECT_EQ(10000, multiuser_get_app_id(1010000)); in testSplitApp()
73 EXPECT_EQ(50000, multiuser_get_app_id(1050000)); in testSplitApp()
120 private static int multiuser_get_app_id(int uid) { in multiuser_get_app_id() method in UserHandleTest
/frameworks/av/media/utils/include/mediautils/
DServiceUtilities.h48 return multiuser_get_app_id(uid) < AID_APP_START; in isServiceUid()
66 return multiuser_get_app_id(uid) == AID_SYSTEM || uid == AID_AUDIOSERVER; in isAudioServerOrSystemServerUid()
72 return multiuser_get_app_id(uid) == AID_SYSTEM || uid == AID_AUDIOSERVER in isAudioServerOrMediaServerOrSystemServerOrRootUid()
/frameworks/native/cmds/servicemanager/
DServiceManager.cpp253 uid_t appid = multiuser_get_app_id(ctx.uid); in tryGetService()
298 if (multiuser_get_app_id(ctx.uid) >= AID_APP) { in addService()
/frameworks/native/services/sensorservice/
DSensorService.h465 return multiuser_get_app_id(uid) == AID_SYSTEM || uid == AID_AUDIOSERVER; in isAudioServerOrSystemServerUid()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp711 auto appId = multiuser_get_app_id(read.uid); in onPageReadsWithUid()
763 auto appId = multiuser_get_app_id(read.uid); in traceRead()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp1293 int32_t gid = multiuser_get_cache_gid(multiuser_get_user_id(uid), multiuser_get_app_id(uid)); in get_cache_gid()
1999 if (multiuser_get_app_id(uid) == AID_MEDIA_RW) { in freeCache()
2000 uid = (multiuser_get_app_id(p->fts_statp->st_gid) - AID_EXT_GID_START) in freeCache()
2008 multiuser_get_user_id(uid), multiuser_get_app_id(uid), uuidString)); in freeCache()
2328 int32_t user_uid = multiuser_get_app_id(s.st_uid); in collectManualStatsForUser()
2393 return ((int32_t)multiuser_get_app_id(s.st_uid) == appId); in ownsExternalStorage()
Dutils.cpp488 int32_t user_uid = multiuser_get_app_id(uid); in calculate_tree_size()
489 int32_t user_gid = multiuser_get_app_id(gid); in calculate_tree_size()
/frameworks/av/media/libmediametrics/
DMediaMetricsItem.cpp347 uid_t appid = multiuser_get_app_id(uid); in isEnabled()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp1180 appid_t appId = multiuser_get_app_id(uid); in is_sdk_sandbox_uid()
2012 if (multiuser_get_app_id(uid) == AID_BLUETOOTH) { in CalculateCapabilities()
2020 if (multiuser_get_app_id(uid) == AID_NETWORK_STACK) { in CalculateCapabilities()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp475 int32_t externalStorageAppId = multiuser_get_app_id(s.st_uid); in TEST_F()