Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DUserHandleTest.java54 EXPECT_EQ(0, multiuser_get_user_id(0)); in testSplitUser()
55 EXPECT_EQ(0, multiuser_get_user_id(1000)); in testSplitUser()
56 EXPECT_EQ(0, multiuser_get_user_id(10000)); in testSplitUser()
57 EXPECT_EQ(0, multiuser_get_user_id(50000)); in testSplitUser()
58 EXPECT_EQ(10, multiuser_get_user_id(1000000)); in testSplitUser()
59 EXPECT_EQ(10, multiuser_get_user_id(1001000)); in testSplitUser()
60 EXPECT_EQ(10, multiuser_get_user_id(1010000)); in testSplitUser()
61 EXPECT_EQ(10, multiuser_get_user_id(1050000)); in testSplitUser()
116 private static int multiuser_get_user_id(int uid) { in multiuser_get_user_id() method in UserHandleTest
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp35 mUserId = multiuser_get_user_id(mUid); in SensorDirectConnection()
DSensorEventConnection.cpp48 mUserId = multiuser_get_user_id(mUid); in SensorEventConnection()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp61 userid_t userId = multiuser_get_user_id(uid); in isCriterionMatched()
421 && mix->hasUserIdRule(false /* match */, multiuser_get_user_id(uid)); in mixDisallowsRequestedDevice()
/frameworks/native/cmds/installd/
Dutils.cpp1104 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()) in validate_secondary_dex_path()
1106 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
1112 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
Ddexopt.cpp493 users.push_back(multiuser_get_user_id(uid)); in open_profile_files()
750 clear_current_profile(package_name, location, multiuser_get_user_id(uid), in analyze_profiles()
2161 multiuser_get_user_id(uid), pkgname, dex_path, /*is_secondary*/true); in reconcile_secondary_dex_file()
DInstalldNativeService.cpp1459 int32_t gid = multiuser_get_cache_gid(multiuser_get_user_id(uid), multiuser_get_app_id(uid)); in get_cache_gid()
2185 multiuser_get_user_id(uid), multiuser_get_app_id(uid), uuidString)); in freeCache()
3283 const auto userId = multiuser_get_user_id(uid); in dexopt()
3617 const auto userId = multiuser_get_user_id(uid); in reconcileSecondaryDexFile()
3987 ENFORCE_VALID_USER(multiuser_get_user_id(uid)); in createFsveritySetupAuthToken()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp710 auto userId = multiuser_get_user_id(read.uid); in onPageReadsWithUid()
762 auto userId = multiuser_get_user_id(read.uid); in traceRead()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp862 const userid_t user_id = multiuser_get_user_id(uid); in MountEmulatedStorage()
1257 const userid_t userId = multiuser_get_user_id(uid); in isolateAppData()
1440 const userid_t userId = multiuser_get_user_id(uid); in isolateSdkSandboxData()
1640 const userid_t user_id = multiuser_get_user_id(uid); in isolateJitProfile()
1877 const userid_t user_id = multiuser_get_user_id(uid); in BindMountStorageDirs()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1821 userid_t clientUserId = multiuser_get_user_id(clientUid); in validateClientPermissionsLocked()
2275 userid_t clientUserId = multiuser_get_user_id(clientUid); in connectDevice()
2277 clientUserId = multiuser_get_user_id(callingUid); in connectDevice()
2637 clientPackageName, facing, multiuser_get_user_id(clientUid))); in connectHelper()
3248 multiuser_get_user_id(basicClient->getClientUid()))); in notifyDisplayConfigurationChange()
3824 userid_t clientUserId = multiuser_get_user_id(clientUid); in doUserSwitch()
5154 clientUserId = multiuser_get_user_id(clientUid); in toString()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp3303 am_args, multiuser_get_user_id(calling_uid)); in RunInternal()