Home
last modified time | relevance | path

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

123456789

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DPendingRemovalStoreTest.kt47 val user = UserHandle.USER_ALL in testClearedPendingRemoval_logged()
60 assertThat(store.isPendingRemoval(receiverOne, UserHandle.USER_ALL)).isFalse() in testTaggedReceiverMarkedAsPending_specificUser()
66 store.tagForRemoval(receiverOne, UserHandle.USER_ALL) in testTaggedReceiverMarkedAsPending_allUsers()
70 assertThat(store.isPendingRemoval(receiverOne, UserHandle.USER_ALL)).isTrue() in testTaggedReceiverMarkedAsPending_allUsers()
/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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DFakeSettingsTest.java97 mFakeSettings.getUriFor("cat"), false, mContentObserver, UserHandle.USER_ALL); in testRegisterContentObserverAllUsers()
119 mFakeSettings.getUriFor("cat"), false, mContentObserver, UserHandle.USER_ALL); in testUnregisterContentObserverAllUsers()
132 mFakeSettings.getUriFor("cat"), false, mContentObserver, UserHandle.USER_ALL in testContentObserverDispatchCorrectUser()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/kidsmode/
DKidsModeSettingsObserver.java58 false, this, UserHandle.USER_ALL); in register()
61 false, this, UserHandle.USER_ALL); in register()
/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java66 false, this, UserHandle.USER_ALL); in register()
69 false, this, UserHandle.USER_ALL); in register()
72 false, this, UserHandle.USER_ALL); in register()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java153 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_userDisabled()
176 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet()
196 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet_preS_VersionThree()
217 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet_preS_VersionOne()
237 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet_preS_noUserSet()
257 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet_preS_noUserSet_diffDefault()
280 mAssistants.readXml(parser, null, false, UserHandle.USER_ALL); in testReadXml_multiApproved()
297 mAssistants.readXml(parser, null, false, UserHandle.USER_ALL); in testXmlUpgradeExistingApprovedComponents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProvider.kt129 UserHandle.USER_ALL) in start()
135 UserHandle.USER_ALL) in start()
142 UserHandle.USER_ALL) in start()
211 notifUser == UserHandle.USER_ALL -> false in userSettingsDisallowNotification()
/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/services/core/java/com/android/server/pm/
DRemovePackageHelper.java260 mAppDataHelper.destroyAppDataLIF(resolvedPkg, UserHandle.USER_ALL, in removePackageDataLIF()
291 deletedPkg, sharedUserPkgs, UserHandle.USER_ALL); in removePackageDataLIF()
298 deletedPs.getPackageName(), changedUsers, UserHandle.USER_ALL); in removePackageDataLIF()
307 mPm.postPreferredActivityChangedBroadcast(UserHandle.USER_ALL); in removePackageDataLIF()
348 mAppDataHelper.clearKeystoreData(UserHandle.USER_ALL, appIdToRemove); in removePackageDataLIF()
DAppsFilterImpl.java20 import static android.os.UserHandle.USER_ALL;
458 settings, users, USER_ALL, settings.size()); in addPackage()
470 settings, users, USER_ALL, settings.size()); in addPackage()
651 userId = USER_ALL; in updateEntireShouldFilterCache()
663 if (subjectUserId == USER_ALL) { in updateEntireShouldFilterCacheInner()
703 updateEntireShouldFilterCacheInner(snapshot, settings, usersRef[0], USER_ALL); in updateEntireShouldFilterCacheAsync()
742 settings.get(packageName), settings, users, USER_ALL, in updateShouldFilterCacheForPackage()
763 if (subjectUserId == USER_ALL) { in updateShouldFilterCacheForPackage()
1018 users, USER_ALL, settings.size()); in removePackage()
1035 settings, users, USER_ALL, settings.size()); in removePackage()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java308 if ((userId == UserHandle.USER_ALL || record.getUserId() == userId) in getSession2Tokens()
338 List<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession()
397 if ((userId != UserHandle.USER_ALL && userId != session.getUserId())) { in getPriorityList()
427 mCachedActiveLists.remove(UserHandle.USER_ALL); in clearCache()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java271 UserHandle.USER_ALL); in setUpWithPresenter()
277 UserHandle.USER_ALL); in setUpWithPresenter()
288 UserHandle.USER_ALL); in setUpWithPresenter()
327 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile()
370 if (userHandle == UserHandle.USER_ALL) { in userAllowsPrivateNotificationsInPublic()
403 if (userHandle == UserHandle.USER_ALL) { in adminAllowsKeyguardFeature()
420 if (userId == UserHandle.USER_ALL) { in isLockscreenPublicMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DBroadcastRecordTest.java101 final BroadcastRecord recordAllAll = createBroadcastRecord(receiversM, UserHandle.USER_ALL, in testCleanupDisabledPackageReceivers()
103 cleanupDisabledPackageReceivers(recordAllAll, pkgToCleanup, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
107 final BroadcastRecord recordAllOne = createBroadcastRecord(receiversM, UserHandle.USER_ALL, in testCleanupDisabledPackageReceivers()
116 cleanupDisabledPackageReceivers(recordOneAll, pkgToCleanup, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
127 final BroadcastRecord recordAllM = createBroadcastRecord(receiversM, UserHandle.USER_ALL, in testCleanupDisabledPackageReceivers()
167 final BroadcastRecord br = createBroadcastRecord(receivers, UserHandle.USER_ALL, in createBootCompletedBroadcastRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/
DBroadcastDispatcher.kt230 removalPendingStore.tagForRemoval(receiver, UserHandle.USER_ALL) in <lambda>()
284 if (userId < UserHandle.USER_ALL) { in <lambda>()
299 UserHandle.USER_ALL in <lambda>()
/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/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/core/java/android/os/
DUserHandle.java51 public static final @UserIdInt int USER_ALL = -1; field in UserHandle
55 public static final @NonNull UserHandle ALL = new UserHandle(USER_ALL);
327 case USER_ALL: in of()
532 userId = UserHandle.USER_ALL; in parseUserArg()
/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/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java190 if (userId == UserHandle.USER_ALL) { in handleRequireStrongAuth()
212 if (userId == UserHandle.USER_ALL) { in handleNoLongerRequireStrongAuth()
357 if (userId == UserHandle.USER_ALL) { in setIsNonStrongBiometricAllowed()
458 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in requireStrongAuth()
468 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in noLongerRequireStrongAuth()
/frameworks/base/core/java/android/content/om/
DOverlayManagerTransaction.java212 UserHandle.USER_ALL, extras)); in registerFabricatedOverlay()
225 UserHandle.USER_ALL)); in unregisterFabricatedOverlay()
/frameworks/base/services/core/java/com/android/server/om/
DDumpState.java28 @UserIdInt private int mUserId = UserHandle.USER_ALL;

123456789