Home
last modified time | relevance | path

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

1234567

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DBroadcastRecordTest.java64 final BroadcastRecord recordAllAll = createBroadcastRecord(receiversM, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
65 cleanupDisabledPackageReceivers(recordAllAll, pkgToCleanup, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
69 final BroadcastRecord recordAllOne = createBroadcastRecord(receiversM, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
76 cleanupDisabledPackageReceivers(recordOneAll, pkgToCleanup, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
86 final BroadcastRecord recordAllM = createBroadcastRecord(receiversM, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DOverlayControl.java52 mToken, null, UserHandle.USER_ALL); in setOverlayAllowed()
54 mToken, null, UserHandle.USER_ALL); in setOverlayAllowed()
/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.java220 refreshAgentList(UserHandle.USER_ALL); in onBootPhase()
221 refreshDeviceLockedForUser(UserHandle.USER_ALL); in onBootPhase()
482 if (userIdOrAll != UserHandle.USER_ALL && userIdOrAll < UserHandle.USER_SYSTEM) { in refreshAgentList()
485 userIdOrAll = UserHandle.USER_ALL; in refreshAgentList()
490 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList()
614 if (userIdOrAll == UserHandle.USER_ALL || userIdOrAll == info.userId) { in refreshAgentList()
624 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList()
643 if (userId != UserHandle.USER_ALL && userId < UserHandle.USER_SYSTEM) { in refreshDeviceLockedForUser()
646 userId = UserHandle.USER_ALL; in refreshDeviceLockedForUser()
649 if (userId == UserHandle.USER_ALL) { in refreshDeviceLockedForUser()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java63 false, this, UserHandle.USER_ALL); in register()
66 false, this, UserHandle.USER_ALL); in register()
69 false, this, UserHandle.USER_ALL); in register()
/frameworks/base/services/core/java/com/android/server/notification/
DInlineReplyUriRecord.java79 if (UserManager.isHeadlessSystemUserMode() && userId == UserHandle.USER_ALL) { in getUserId()
81 } else if (userId == UserHandle.USER_ALL) { in getUserId()
DVisibilityExtractor.java53 if (userId == UserHandle.USER_ALL) { in process()
98 if (userHandle == UserHandle.USER_ALL) { in adminAllowsKeyguardFeature()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java124 Intent.EXTRA_USER_HANDLE, UserHandle.USER_ALL);
251 UserHandle.USER_ALL); in setUpWithPresenter()
257 UserHandle.USER_ALL); in setUpWithPresenter()
268 UserHandle.USER_ALL); in setUpWithPresenter()
303 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile()
312 if (userId == UserHandle.USER_ALL) { in shouldTemporarilyHideNotifications()
408 if (userHandle == UserHandle.USER_ALL) { in userAllowsPrivateNotificationsInPublic()
442 if (userHandle == UserHandle.USER_ALL) { in adminAllowsKeyguardFeature()
458 if (userId == UserHandle.USER_ALL) { in isLockscreenPublicMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinator.java110 final int notifUserId = (sbn.getUser().getIdentifier() == UserHandle.USER_ALL)
184 UserHandle.USER_ALL); in setupInvalidateNotifListCallbacks()
190 UserHandle.USER_ALL); in setupInvalidateNotifListCallbacks()
201 UserHandle.USER_ALL); in setupInvalidateNotifListCallbacks()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java294 if ((userId == UserHandle.USER_ALL || record.getUserId() == userId) in getSession2Tokens()
324 List<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession()
383 if ((userId != UserHandle.USER_ALL && userId != session.getUserId())) { in getPriorityList()
413 mCachedActiveLists.remove(UserHandle.USER_ALL); in clearCache()
/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java78 removeUriPermission(grantUri, mode, null, UserHandle.USER_ALL); in removeUriPermission()
92 if (targetUserId != UserHandle.USER_ALL && targetUserId != perm.targetUserId) { in removeUriPermission()
113 if (targetUserId != UserHandle.USER_ALL && targetUserId != perm.targetUserId) { in removeUriPermission()
/frameworks/base/core/java/com/android/internal/os/
DUserPowerCalculator.java40 if (ArrayUtils.contains(userIds, UserHandle.USER_ALL)) { in calculate()
66 final boolean forAllUsers = (asUsers.get(UserHandle.USER_ALL) != null); in calculate()
/frameworks/base/core/java/android/os/
DUserHandle.java46 public static final @UserIdInt int USER_ALL = -1; field in UserHandle
50 public static final @NonNull UserHandle ALL = new UserHandle(USER_ALL);
295 case USER_ALL: in of()
482 userId = UserHandle.USER_ALL; in parseUserArg()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java108 UserHandle.USER_ALL); in DataCollector()
113 UserHandle.USER_ALL); in DataCollector()
118 UserHandle.USER_ALL); in DataCollector()
123 UserHandle.USER_ALL); in DataCollector()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java188 if (userId == UserHandle.USER_ALL) { in handleRequireStrongAuth()
210 if (userId == UserHandle.USER_ALL) { in handleNoLongerRequireStrongAuth()
354 if (userId == UserHandle.USER_ALL) { in setIsNonStrongBiometricAllowed()
455 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in requireStrongAuth()
465 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in noLongerRequireStrongAuth()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerShellCommand.java58 args.userId = UserHandle.USER_ALL; in runClearAllSessions()
70 args.userId = UserHandle.USER_ALL; in runClearAllBlobs()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java56 updateKeyguardEnabledLocked(UserHandle.USER_ALL); in setCurrentUser()
67 if (mCurrentUser == userId || userId == UserHandle.USER_ALL) { in updateKeyguardEnabledLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java475 UserHandle.USER_ALL, channel1.getId(), channel2.getId(), in testChannelXml()
480 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml()
746 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
748 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
767 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_defaultChannelUpdatedApp_userSettings()
769 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_defaultChannelUpdatedApp_userSettings()
789 mHelper.readXml(parser, false, UserHandle.USER_ALL); in testChannelXml_upgradeCreateDefaultChannel()
812 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_upgradeDeletesDefaultChannel()
817 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_upgradeDeletesDefaultChannel()
829 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID, "bananas"); in testDeletesDefaultChannelAfterChannelIsCreated()
[all …]
DNotificationAssistantsTest.java151 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_userDisabled()
174 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet()
192 mAssistants.readXml(parser, null, false, UserHandle.USER_ALL); in testReadXml_multiApproved()
209 mAssistants.readXml(parser, null, false, UserHandle.USER_ALL); in testXmlUpgradeExistingApprovedComponents()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPersistenceTest.kt115 UserHandle.USER_ALL, null) in <lambda>()
134 UserHandle.USER_ALL) { in <lambda>()
163 UserHandle.USER_ALL) { null } in <lambda>()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java42 assertNotEquals(UserHandle.USER_ALL, LockPatternUtils.USER_FRP);
/frameworks/base/core/java/android/content/om/
DOverlayManagerTransaction.java212 UserHandle.USER_ALL, extras)); in registerFabricatedOverlay()
225 UserHandle.USER_ALL)); in unregisterFabricatedOverlay()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java89 userId = UserHandle.USER_ALL; in parseUserArg()
193 if (instrument.userId == UserHandle.USER_ALL) { in runInstrument()
/frameworks/base/services/core/java/com/android/server/om/
DDumpState.java28 @UserIdInt private int mUserId = UserHandle.USER_ALL;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DKeyguardDisableHandlerTest.java22 import static android.os.UserHandle.USER_ALL;
102 mKeyguardDisable.updateKeyguardEnabled(USER_ALL); in starts_enabled()

1234567