Home
last modified time | relevance | path

Searched refs:USER_ALL (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java156 return grantPermission(permission, UserHandle.USER_ALL); in grantInstallPermission()
168 return revokePermission(permission, UserHandle.USER_ALL); in revokeInstallPermission()
182 if (userId == UserHandle.USER_ALL) { in grantRuntimePermission()
199 if (userId == UserHandle.USER_ALL) { in revokeRuntimePermission()
225 return hasPermission(name, UserHandle.USER_ALL); in hasInstallPermission()
287 if (userId != UserHandle.USER_ALL) { in getPermissions()
304 return getPermissionState(name, UserHandle.USER_ALL); in getInstallPermissionState()
325 return getPermissionStatesInternal(UserHandle.USER_ALL); in getInstallPermissionStates()
578 if (userId != UserHandle.USER_ALL && userId < 0) { in enforceValidUserId()
629 userId = UserHandle.USER_ALL; in isGranted()
[all …]
DPackageManagerShellCommand.java715 int userId = UserHandle.USER_ALL; in runUninstall()
745 if (userId == UserHandle.USER_ALL) { in runUninstall()
787 doCreateSession(sessionParams, null /*installerPackageName*/, UserHandle.USER_ALL); in runRemoveSplit()
991 int userId = UserHandle.USER_ALL;
1136 if (userId == UserHandle.USER_ALL) { in doCreateSession()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java161 refreshAgentList(UserHandle.USER_ALL); in onBootPhase()
235 if (userIdOrAll != UserHandle.USER_ALL && userIdOrAll < UserHandle.USER_SYSTEM) { in refreshAgentList()
238 userIdOrAll = UserHandle.USER_ALL; in refreshAgentList()
243 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList()
302 if (userIdOrAll == UserHandle.USER_ALL || userIdOrAll == info.userId) { in refreshAgentList()
312 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList()
341 if (userId != UserHandle.USER_ALL && userId < UserHandle.USER_SYSTEM) { in refreshDeviceLockedForUser()
344 userId = UserHandle.USER_ALL; in refreshDeviceLockedForUser()
348 if (userId == UserHandle.USER_ALL) { in refreshDeviceLockedForUser()
899 refreshAgentList(UserHandle.USER_ALL);
[all …]
DTrustArchive.java115 if (userId != UserHandle.USER_ALL && userId != ev.userId) { in dump()
122 if (userId == UserHandle.USER_ALL) { in dump()
/frameworks/base/core/java/android/os/
DUserHandle.java36 public static final @UserIdInt int USER_ALL = -1; field in UserHandle
39 public static final UserHandle ALL = new UserHandle(USER_ALL);
280 userId = UserHandle.USER_ALL; in parseUserArg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java119 false, this, UserHandle.USER_ALL); in startObserving()
122 false, this, UserHandle.USER_ALL); in startObserving()
125 false, this, UserHandle.USER_ALL); in startObserving()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStrongAuth.java85 if (userId == UserHandle.USER_ALL) { in handleRequireStrongAuth()
141 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in requireStrongAuth()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java86 int userId = UserHandle.USER_ALL; in runForceStop()
102 int userId = UserHandle.USER_ALL; in runKill()
DProviderMap.java214 if (userId == UserHandle.USER_ALL || userId == UserHandle.USER_SYSTEM) { in collectPackageProvidersLocked()
221 if (userId == UserHandle.USER_ALL) { in collectPackageProvidersLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRotationLockControllerImpl.java74 UserHandle.USER_ALL); in setListening()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java289 UserHandle.USER_ALL); in dump()
324 if (userId != UserHandle.USER_ALL && userId != session.getUserId()) { in getPriorityListLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java83 UserHandle.USER_ALL); in DataCollector()
88 UserHandle.USER_ALL); in DataCollector()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java306 false, contentObserver, UserHandle.USER_ALL); in registerDefaultAppNotifier()
308 false, contentObserver, UserHandle.USER_ALL); in registerDefaultAppNotifier()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java617 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
620 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
623 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
626 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
629 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
632 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
635 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
638 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
641 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
644 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DLocationBlacklist.java62 BLACKLIST_CONFIG_NAME), false, this, UserHandle.USER_ALL); in init()
/frameworks/base/services/core/java/com/android/server/vr/
DSettingsObserver.java95 UserHandle.USER_ALL); in SettingsObserver()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java469 userId = UserHandle.USER_ALL; in parseUserArg()
528 if (mUserId == UserHandle.USER_ALL) {
546 if (mUserId == UserHandle.USER_ALL) {
564 if (mUserId == UserHandle.USER_ALL) {
733 int userId = UserHandle.USER_ALL;
748 int userId = UserHandle.USER_ALL;
813 if (userId == UserHandle.USER_ALL) {
1019 if (userId == UserHandle.USER_ALL) {
1073 if (userId == UserHandle.USER_ALL) {
2486 if (userId == UserHandle.USER_ALL) {
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java807 false, this, UserHandle.USER_ALL); in observe()
810 false, this, UserHandle.USER_ALL); in observe()
872 if (this.userid == UserHandle.USER_ALL) return true; in enabledAndUserMatches()
874 if (nid == UserHandle.USER_ALL || nid == this.userid) return true; in enabledAndUserMatches()
DValidateNotificationPeople.java114 mObserver, UserHandle.USER_ALL); in initialize()
127 if (record.getUserId() == UserHandle.USER_ALL) { in process()
DNotificationManagerService.java696 UserHandle.USER_ALL);
722 changeUserId != UserHandle.USER_ALL ? changeUserId :
830 false, this, UserHandle.USER_ALL); in observe()
832 false, this, UserHandle.USER_ALL); in observe()
1605 if (userId != info.userid && userId != UserHandle.USER_ALL &&
1668 if (userId != info.userid && userId != UserHandle.USER_ALL &&
1676 userId == UserHandle.USER_ALL ? UserHandle.USER_SYSTEM
2516 (userId == UserHandle.USER_ALL) ? UserHandle.USER_SYSTEM : userId); in enqueueNotificationInternal()
2805 && (record.getUserId() == UserHandle.USER_ALL || in buzzBeepBlinkLocked()
3409 userId == UserHandle.USER_ALL in notificationMatchesUserId()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java554 windowId, connection, UserHandle.USER_ALL); in addAccessibilityInteractionConnection()
996 if (userId == UserHandle.USER_ALL) { in removeAccessibilityInteractionConnectionLocked()
4318 false, this, UserHandle.USER_ALL); in register()
4320 false, this, UserHandle.USER_ALL); in register()
4322 false, this, UserHandle.USER_ALL); in register()
4324 false, this, UserHandle.USER_ALL); in register()
4327 false, this, UserHandle.USER_ALL); in register()
4329 false, this, UserHandle.USER_ALL); in register()
4331 mDisplayInversionEnabledUri, false, this, UserHandle.USER_ALL); in register()
4333 mDisplayDaltonizerEnabledUri, false, this, UserHandle.USER_ALL); in register()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java707 UserHandle.USER_ALL); in start()
713 UserHandle.USER_ALL); in start()
720 UserHandle.USER_ALL); in start()
774 UserHandle.USER_ALL); in start()
901 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile()
1431 if (userHandle == UserHandle.USER_ALL) {
1451 if (userHandle == UserHandle.USER_ALL) {
1469 if (userHandle == UserHandle.USER_ALL) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHumanInteractionClassifier.java95 UserHandle.USER_ALL); in HumanInteractionClassifier()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java313 } else if (userHandle != UserHandle.USER_ALL) { in registerContentObserver()
378 } else if (userHandle != UserHandle.USER_ALL) { in notifyChange()
1358 if (targetUserHandle == UserHandle.USER_ALL in collectMyObserversLocked()
1359 || entry.userHandle == UserHandle.USER_ALL in collectMyObserversLocked()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java202 UserHandle.USER_ALL); in killPackageDependents()

123