/frameworks/base/apex/media/service/java/com/android/server/media/ |
D | MediaCommunicationService.java | 20 import static android.os.UserHandle.getUserHandleForUid; 211 && record.mUserId != getUserHandleForUid(token.getUid()).getIdentifier()) { in dispatchSession2Created() 286 int userId = getUserHandleForUid(sessionToken.getUid()).getIdentifier(); in notifySession2Created() 313 final int userId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in isTrusted() 394 int controllerUserId = UserHandle.getUserHandleForUid(controllerUid).getIdentifier(); in hasEnabledNotificationListener() 401 UserHandle.getUserHandleForUid(controllerUid))) { in hasEnabledNotificationListener() 418 int callingUserId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in handleIncomingUser() 453 ? ALL.getIdentifier() : UserHandle.getUserHandleForUid(mUid).getIdentifier(); in CallbackRecord() 569 return UserHandle.getUserHandleForUid(mSessionToken.getUid()).getIdentifier(); in getUserId()
|
/frameworks/base/core/java/android/content/pm/ |
D | ActivityInfo.java | 1331 UserHandle.getUserHandleForUid(applicationInfo.uid))) { in supportsSizeChanges() 1341 UserHandle.getUserHandleForUid(applicationInfo.uid))) { in supportsSizeChanges() 1355 UserHandle.getUserHandleForUid(applicationInfo.uid)) in neverSandboxDisplayApis() 1366 UserHandle.getUserHandleForUid(applicationInfo.uid)) in alwaysSandboxDisplayApis() 1398 UserHandle.getUserHandleForUid(applicationInfo.uid))) { in getMinAspectRatio() 1404 UserHandle.getUserHandleForUid(applicationInfo.uid))) { in getMinAspectRatio() 1410 UserHandle.getUserHandleForUid(applicationInfo.uid))) { in getMinAspectRatio()
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 355 if (!isLocationModeEnabled(context, UserHandle.getUserHandleForUid(uid).getIdentifier())) { in checkSystemLocationAccess() 382 if (UserHandle.getUserHandleForUid(uid).getIdentifier() in isCurrentProfile() 389 UserHandle.getUserHandleForUid(ActivityManager.getCurrentUser())); in isCurrentProfile()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CallerIdentity.java | 51 return UserHandle.getUserHandleForUid(mUid); in getUserHandle()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/ |
D | ComponentKey.java | 79 UserHandle.getUserHandleForUid(Integer.parseInt(str.substring(sep + 1)))); in fromString()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | AudioPlayerStateMonitor.java | 175 int userId = UserHandle.getUserHandleForUid(mediaButtonSessionUid).getIdentifier(); in cleanUpAudioPlaybackUids() 181 if (userId == UserHandle.getUserHandleForUid(uid).getIdentifier() in cleanUpAudioPlaybackUids()
|
D | MediaSessionService.java | 206 UserHandle.getUserHandleForUid(config.getClientUid()) in onStart() 604 UserHandle.getUserHandleForUid(uid), resolvedUserId)) { in enforceMediaPermissions() 853 UserHandle.getUserHandleForUid(sessionToken.getUid()).getIdentifier()); in getMediaSessionRecordLocked() 1243 final int userId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in getMediaKeyEventSession() 1274 final int userId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in getMediaKeyEventSessionPackageName() 1521 final int userId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in addOnMediaKeyEventDispatchedListener() 1549 final int userId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in removeOnMediaKeyEventDispatchedListener() 1577 final int userId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in addOnMediaKeyEventSessionChangedListener() 1605 final int userId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in removeOnMediaKeyEventSessionChangedListener() 1643 int userId = UserHandle.getUserHandleForUid(uid).getIdentifier(); in setOnVolumeKeyLongPressListener() [all …]
|
D | MediaSession2Record.java | 88 return UserHandle.getUserHandleForUid(mSessionToken.getUid()).getIdentifier(); in getUserId()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 732 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in generateNotificationRecord() 753 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in generateNotificationRecord() 785 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in generateMessageBubbleNotifRecord() 956 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in testLimitTimeOutBroadcast() 1851 n, UserHandle.getUserHandleForUid(mUid), null, 0); in testRemoveForegroundServiceFlag_ImmediatelyAfterEnqueue() 3423 nb.build(), UserHandle.getUserHandleForUid(mUid), null, 0); in testNoFakeColorizedPermission() 3461 n, UserHandle.getUserHandleForUid(mUid), null, 0); in testGetNotificationCountLocked() 3687 UserHandle.getUserHandleForUid(Binder.getCallingUid()), null, 0); in testBumpFGImportance_noChannelChangePreOApp() 3704 0, nb.build(), UserHandle.getUserHandleForUid(Binder.getCallingUid()), null, 0); in testBumpFGImportance_noChannelChangePreOApp() 4079 PKG, PKG, 0, "tag", mUid, 0, nbA.build(), UserHandle.getUserHandleForUid(mUid), in updateUriPermissions_update() [all …]
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 140 + " userHandle=" + UserHandle.getUserHandleForUid(primaryUser) in sendReportReadyBroadcast() 145 UserHandle.getUserHandleForUid(primaryUser), in sendReportReadyBroadcast()
|
D | PendingReports.java | 368 mContext.sendBroadcastAsUser(intent, UserHandle.getUserHandleForUid(primaryUser), in sendBroadcast()
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
D | LocationPermissionCheckerTest.java | 142 return UserHandle.getUserHandleForUid(Process.myUid()).getIdentifier(); in setupTestCase() 168 UserHandle.getUserHandleForUid(MANAGED_PROFILE_UID))) in setupMockInterface()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHandlerManager.java | 94 UserHandle.getUserHandleForUid(rInfo.activityInfo.applicationInfo.uid); in confirmUsbHandler()
|
D | UsbProfileGroupSettingsManager.java | 196 handlePackageAdded(new UserPackage(packageName, UserHandle.getUserHandleForUid(uid))); in onPackageAdded() 206 clearDefaults(packageName, UserHandle.getUserHandleForUid(uid)); in onPackageRemoved() 830 if (UserHandle.getUserHandleForUid( in removeForwardIntentIfNotNeeded() 995 .getUserHandleForUid(match.activityInfo.applicationInfo.uid); in resolveActivity() 1029 UserHandle user = UserHandle.getUserHandleForUid( in resolveActivity() 1059 UserHandle.getUserHandleForUid( in getDefaultActivityLocked()
|
/frameworks/libs/net/common/framework/com/android/net/module/util/ |
D | LocationPermissionChecker.java | 236 UserHandle.getUserHandleForUid(callingUid)).targetSdkVersion in isTargetSdkLessThan()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 374 callingPackage, 0, UserHandle.getUserHandleForUid(uid)); in reportAccessDeniedToReadIdentifiers() 751 packageName, 0, UserHandle.getUserHandleForUid(Binder.getCallingUid())); in getTargetSdk()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 264 UserHandle user = UserHandle.getUserHandleForUid(uid);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/ |
D | ToastUITest.java | 353 UserHandle.getUserHandleForUid(UID_1).getIdentifier())).thenReturn(applicationInfo); in testShowToast_targetsPreS_unlimitedLines_noAppIcon() 372 UserHandle.getUserHandleForUid(UID_1).getIdentifier())).thenReturn(applicationInfo); in testShowToast_targetsS_twoLineLimit_noAppIcon()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 97 final UserHandle user = UserHandle.getUserHandleForUid(uid); in getAppList()
|
D | RecentLocationAccesses.java | 104 UserHandle user = UserHandle.getUserHandleForUid(uid); in getAppList()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | ToastUI.java | 111 UserHandle userHandle = UserHandle.getUserHandleForUid(uid); in showToast()
|
D | SystemUIToast.java | 281 UserHandle user = UserHandle.getUserHandleForUid(appInfo.uid); in getBadgedIcon()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionUsageHelper.java | 358 UserHandle user = UserHandle.getUserHandleForUid(uid); in getOpUsages() 618 return UserHandle.getUserHandleForUid(uid); in getUser()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | LegacyPermissionManagerService.java | 454 UserHandle.getUserHandleForUid(uid)); in getApplicationInfo()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 238 public static UserHandle getUserHandleForUid(int uid) { in getUserHandleForUid() method in UserHandle
|