Home
last modified time | relevance | path

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

1234

/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java186 return grantPermission(permission, UserHandle.USER_ALL); in grantInstallPermission()
198 return revokePermission(permission, UserHandle.USER_ALL); in revokeInstallPermission()
212 if (userId == UserHandle.USER_ALL) { in grantRuntimePermission()
229 if (userId == UserHandle.USER_ALL) { in revokeRuntimePermission()
255 return hasPermission(name, UserHandle.USER_ALL); in hasInstallPermission()
318 if (userId != UserHandle.USER_ALL) { in getPermissions()
335 return getPermissionState(name, UserHandle.USER_ALL); in getInstallPermissionState()
356 return getPermissionStatesInternal(UserHandle.USER_ALL); in getInstallPermissionStates()
610 if (userId != UserHandle.USER_ALL && userId < 0) { in enforceValidUserId()
661 userId = UserHandle.USER_ALL; in isGranted()
[all …]
/frameworks/base/services/core/java/com/android/server/trust/
DTrustArchive.java104 addEvent(new Event(TYPE_POLICY_CHANGED, UserHandle.USER_ALL, null, null, 0, 0, false)); in logDevicePolicyChanged()
120 if (userId != UserHandle.USER_ALL && userId != ev.userId in dump()
121 && ev.userId != UserHandle.USER_ALL) { in dump()
128 if (userId == UserHandle.USER_ALL) { in dump()
DTrustManagerService.java160 refreshAgentList(UserHandle.USER_ALL); in onBootPhase()
161 refreshDeviceLockedForUser(UserHandle.USER_ALL); in onBootPhase()
251 if (userIdOrAll != UserHandle.USER_ALL && userIdOrAll < UserHandle.USER_SYSTEM) { in refreshAgentList()
254 userIdOrAll = UserHandle.USER_ALL; in refreshAgentList()
259 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList()
380 if (userIdOrAll == UserHandle.USER_ALL || userIdOrAll == info.userId) { in refreshAgentList()
390 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList()
405 if (userId != UserHandle.USER_ALL && userId < UserHandle.USER_SYSTEM) { in refreshDeviceLockedForUser()
408 userId = UserHandle.USER_ALL; in refreshDeviceLockedForUser()
412 if (userId == UserHandle.USER_ALL) { in refreshDeviceLockedForUser()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java271 ArrayList<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession()
298 UserHandle.USER_ALL); in dump()
333 if (userId != UserHandle.USER_ALL && userId != session.getUserId()) { in getPriorityList()
384 mCachedActiveLists.remove(UserHandle.USER_ALL); in clearCache()
/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);
291 userId = UserHandle.USER_ALL; in parseUserArg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java137 false, this, UserHandle.USER_ALL); in startObserving()
140 false, this, UserHandle.USER_ALL); in startObserving()
143 false, this, UserHandle.USER_ALL); in startObserving()
146 false, this, UserHandle.USER_ALL); in startObserving()
/frameworks/base/services/core/java/com/android/server/policy/
DAccessibilityShortcutController.java93 false, co, UserHandle.USER_ALL); in AccessibilityShortcutController()
96 false, co, UserHandle.USER_ALL); in AccessibilityShortcutController()
99 false, co, UserHandle.USER_ALL); in AccessibilityShortcutController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java89 UserHandle.USER_ALL); in DataCollector()
94 UserHandle.USER_ALL); in DataCollector()
99 UserHandle.USER_ALL); in DataCollector()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStrongAuth.java103 if (userId == UserHandle.USER_ALL) { in handleRequireStrongAuth()
177 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in requireStrongAuth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRotationLockControllerImpl.java74 UserHandle.USER_ALL); in setListening()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java134 userId = UserHandle.USER_ALL; in parseUserArg()
225 if (instrument.userId == UserHandle.USER_ALL) { in runInstrument()
/frameworks/base/core/java/com/android/internal/util/
DNotificationMessagingUtil.java53 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false; in isDefaultMessagingApp()
/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/vr/
DSettingsObserver.java95 UserHandle.USER_ALL); in SettingsObserver()
/frameworks/base/services/core/java/com/android/server/location/
DLocationBlacklist.java62 BLACKLIST_CONFIG_NAME), false, this, UserHandle.USER_ALL); in init()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java321 if (userId != UserHandle.USER_ALL) { in destroySessions()
350 if (userId != UserHandle.USER_ALL) { in listSessions()
730 Settings.Secure.AUTOFILL_SERVICE), false, this, UserHandle.USER_ALL); in SettingsObserver()
732 Settings.Secure.USER_SETUP_COMPLETE), false, this, UserHandle.USER_ALL); in SettingsObserver()
DAutofillManagerServiceShellCommand.java249 return UserHandle.USER_ALL; in getUserIdFromArgsOrAllUsers()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java765 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
768 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
771 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
774 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
777 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
780 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
783 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
786 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
789 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
792 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java329 if (mUserId == UserHandle.USER_ALL) {
518 if (mUserId == UserHandle.USER_ALL) {
550 if (mUserId == UserHandle.USER_ALL) {
736 if (userId == UserHandle.USER_ALL) {
786 if (userId == UserHandle.USER_ALL) {
872 int userId = UserHandle.USER_ALL;
888 int userId = UserHandle.USER_ALL;
914 int userId = UserHandle.USER_ALL;
935 int userId = UserHandle.USER_ALL;
1674 if (userId == UserHandle.USER_ALL) {
DProviderMap.java214 if (userId == UserHandle.USER_ALL || userId == UserHandle.USER_SYSTEM) { in collectPackageProvidersLocked()
221 if (userId == UserHandle.USER_ALL) { in collectPackageProvidersLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java648 windowId, connection, UserHandle.USER_ALL); in addAccessibilityInteractionConnection()
739 connection, UserHandle.USER_ALL); in setPictureInPictureActionReplacingConnection()
1225 if (userId == UserHandle.USER_ALL) { in removeAccessibilityInteractionConnectionLocked()
5072 false, this, UserHandle.USER_ALL); in register()
5074 false, this, UserHandle.USER_ALL); in register()
5076 false, this, UserHandle.USER_ALL); in register()
5078 false, this, UserHandle.USER_ALL); in register()
5080 false, this, UserHandle.USER_ALL); in register()
5083 false, this, UserHandle.USER_ALL); in register()
5085 mDisplayInversionEnabledUri, false, this, UserHandle.USER_ALL); in register()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java835 false, this, UserHandle.USER_ALL); in observe()
838 false, this, UserHandle.USER_ALL); in observe()
900 if (this.userid == UserHandle.USER_ALL) return true; in enabledAndUserMatches()
902 if (nid == UserHandle.USER_ALL || nid == this.userid) return true; in enabledAndUserMatches()
DValidateNotificationPeople.java117 mObserver, UserHandle.USER_ALL); in initialize()
130 if (record.getUserId() == UserHandle.USER_ALL) { in process()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java191 if (userId == UserHandle.USER_ALL) { in notifyPackageInstalled()
222 boolean updated = userId == UserHandle.USER_ALL in notifyPackageDataDestroyed()
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DSnoozeHelperTest.java125 UserHandle.USER_ALL, r3.sbn.getPackageName(), r3.getKey()));
135 UserHandle.USER_ALL, r3.sbn.getPackageName(), r3.getKey()));

1234