Searched refs:multiuser_get_user_id (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | UserHandleTest.java | 54 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/ |
D | SensorDirectConnection.cpp | 35 mUserId = multiuser_get_user_id(mUid); in SensorDirectConnection()
|
D | SensorEventConnection.cpp | 48 mUserId = multiuser_get_user_id(mUid); in SensorEventConnection()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 61 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/ |
D | utils.cpp | 1104 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()
|
D | dexopt.cpp | 493 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()
|
D | InstalldNativeService.cpp | 1459 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/ |
D | com_android_server_pm_PackageManagerShellCommandDataLoader.cpp | 710 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/ |
D | com_android_internal_os_Zygote.cpp | 862 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/ |
D | CameraService.cpp | 1821 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/ |
D | dumpstate.cpp | 3303 am_args, multiuser_get_user_id(calling_uid)); in RunInternal()
|