Home
last modified time | relevance | path

Searched refs:USER_ALL (Results 1 – 25 of 75) 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()
288 if (userId != UserHandle.USER_ALL) { in getPermissions()
305 return getPermissionState(name, UserHandle.USER_ALL); in getInstallPermissionState()
326 return getPermissionStatesInternal(UserHandle.USER_ALL); in getInstallPermissionStates()
579 if (userId != UserHandle.USER_ALL && userId < 0) { in enforceValidUserId()
630 userId = UserHandle.USER_ALL; in isGranted()
[all …]
DPackageManagerShellCommand.java742 int userId = UserHandle.USER_ALL; in runUninstall()
772 if (userId == UserHandle.USER_ALL) { in runUninstall()
814 doCreateSession(sessionParams, null /*installerPackageName*/, UserHandle.USER_ALL); in runRemoveSplit()
1018 int userId = UserHandle.USER_ALL;
1164 if (userId == UserHandle.USER_ALL) { in doCreateSession()
/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()
234 if (userIdOrAll != UserHandle.USER_ALL && userIdOrAll < UserHandle.USER_SYSTEM) { in refreshAgentList()
237 userIdOrAll = UserHandle.USER_ALL; in refreshAgentList()
242 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList()
301 if (userIdOrAll == UserHandle.USER_ALL || userIdOrAll == info.userId) { in refreshAgentList()
311 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList()
326 if (userId != UserHandle.USER_ALL && userId < UserHandle.USER_SYSTEM) { in refreshDeviceLockedForUser()
329 userId = UserHandle.USER_ALL; in refreshDeviceLockedForUser()
333 if (userId == UserHandle.USER_ALL) { in refreshDeviceLockedForUser()
903 refreshAgentList(UserHandle.USER_ALL);
[all …]
/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.java136 false, this, UserHandle.USER_ALL); in startObserving()
139 false, this, UserHandle.USER_ALL); in startObserving()
142 false, this, UserHandle.USER_ALL); in startObserving()
145 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/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java88 UserHandle.USER_ALL); in DataCollector()
93 UserHandle.USER_ALL); in DataCollector()
98 UserHandle.USER_ALL); in DataCollector()
/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()
327 boolean filterUser = !userIdList.contains(UserHandle.USER_ALL); in getPriorityListLocked()
/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.java637 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
640 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
643 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
646 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
649 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
652 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
655 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
658 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
661 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady()
664 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.java477 userId = UserHandle.USER_ALL; in parseUserArg()
536 if (mUserId == UserHandle.USER_ALL) {
554 if (mUserId == UserHandle.USER_ALL) {
572 if (mUserId == UserHandle.USER_ALL) {
741 int userId = UserHandle.USER_ALL;
756 int userId = UserHandle.USER_ALL;
821 if (userId == UserHandle.USER_ALL) {
1027 if (userId == UserHandle.USER_ALL) {
1081 if (userId == UserHandle.USER_ALL) {
2496 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.java699 UserHandle.USER_ALL);
725 changeUserId != UserHandle.USER_ALL ? changeUserId :
835 false, this, UserHandle.USER_ALL); in observe()
837 false, this, UserHandle.USER_ALL); in observe()
839 false, this, UserHandle.USER_ALL); in observe()
1624 if (userId != info.userid && userId != UserHandle.USER_ALL &&
1687 if (userId != info.userid && userId != UserHandle.USER_ALL &&
1695 userId == UserHandle.USER_ALL ? UserHandle.USER_SYSTEM
2537 (userId == UserHandle.USER_ALL) ? UserHandle.USER_SYSTEM : userId); in enqueueNotificationInternal()
2830 && (record.getUserId() == UserHandle.USER_ALL || in buzzBeepBlinkLocked()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java589 windowId, connection, UserHandle.USER_ALL); in addAccessibilityInteractionConnection()
1031 if (userId == UserHandle.USER_ALL) { in removeAccessibilityInteractionConnectionLocked()
4368 false, this, UserHandle.USER_ALL); in register()
4370 false, this, UserHandle.USER_ALL); in register()
4372 false, this, UserHandle.USER_ALL); in register()
4374 false, this, UserHandle.USER_ALL); in register()
4377 false, this, UserHandle.USER_ALL); in register()
4379 false, this, UserHandle.USER_ALL); in register()
4381 mDisplayInversionEnabledUri, false, this, UserHandle.USER_ALL); in register()
4383 mDisplayDaltonizerEnabledUri, false, this, UserHandle.USER_ALL); in register()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHumanInteractionClassifier.java95 UserHandle.USER_ALL); in HumanInteractionClassifier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java724 UserHandle.USER_ALL); in start()
730 UserHandle.USER_ALL); in start()
737 UserHandle.USER_ALL); in start()
791 UserHandle.USER_ALL); in start()
921 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile()
1442 if (userHandle == UserHandle.USER_ALL) {
1462 if (userHandle == UserHandle.USER_ALL) {
1480 if (userHandle == UserHandle.USER_ALL) {
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java202 UserHandle.USER_ALL); in killPackageDependents()
/frameworks/base/core/java/android/widget/
DTextClock.java568 mFormatChangeObserver, UserHandle.USER_ALL); in registerObserver()

123