Home
last modified time | relevance | path

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

12345678910

/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/tests/mockingservicestests/src/com/android/server/am/
DBroadcastRecordTest.java322 List.of(createResolveInfo(PACKAGE1, getAppId(1))), UserHandle.USER_ALL, intent); in testGetReceiverIntent_Simple()
333 List.of(createResolveInfo(PACKAGE1, getAppId(1))), UserHandle.USER_ALL, intent, in testGetReceiverIntent_Filtered_Partial()
348 List.of(createResolveInfo(PACKAGE1, getAppId(1))), UserHandle.USER_ALL, intent, in testGetReceiverIntent_Filtered_Complete()
451 final BroadcastRecord recordAllAll = createBroadcastRecord(receiversM, UserHandle.USER_ALL, in testCleanupDisabledPackageReceivers()
453 cleanupDisabledPackageReceivers(recordAllAll, pkgToCleanup, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
457 final BroadcastRecord recordAllOne = createBroadcastRecord(receiversM, UserHandle.USER_ALL, in testCleanupDisabledPackageReceivers()
466 cleanupDisabledPackageReceivers(recordOneAll, pkgToCleanup, UserHandle.USER_ALL); in testCleanupDisabledPackageReceivers()
477 final BroadcastRecord recordAllM = createBroadcastRecord(receiversM, UserHandle.USER_ALL, in testCleanupDisabledPackageReceivers()
497 final BroadcastRecord record1 = createBroadcastRecord(receivers, UserHandle.USER_ALL, in testMatchesDeliveryGroup()
504 final BroadcastRecord record2 = createBroadcastRecord(receivers, UserHandle.USER_ALL, in testMatchesDeliveryGroup()
[all …]
/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/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/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/services/core/java/com/android/server/pm/
DRemovePackageHelper.java294 if (userId != UserHandle.USER_ALL) { in clearPackageStateForUserLIF()
301 if (userId == UserHandle.USER_ALL) { in clearPackageStateForUserLIF()
319 packageName, changedUsers, UserHandle.USER_ALL); in clearPackageStateForUserLIF()
324 mBroadcastHelper.sendPreferredActivityChangedBroadcast(UserHandle.USER_ALL); in clearPackageStateForUserLIF()
360 removePackageDataLIF(deletedPs, UserHandle.USER_ALL, allUserHandles, in removePackageData()
386 shouldDeletePackageSetting ? UserHandle.USER_ALL : targetUserId, flags); in removePackageDataLIF()
410 deletedPs, deletedPkg, sharedUserPkgs, UserHandle.USER_ALL); in removePackageDataLIF()
475 if (userId == UserHandle.USER_ALL) { in shouldDeletePackageSetting()
DDeletePackageHelper.java123 ? UserHandle.USER_ALL : userId; in deletePackageX()
184 if (removeUser != UserHandle.USER_ALL && removeUser != currUserId) { in deletePackageX()
228 freezeUser = UserHandle.USER_ALL; in deletePackageX()
422 user == null || user.getIdentifier() == UserHandle.USER_ALL; in mayDeletePackageLocked()
462 final int userId = user == null ? UserHandle.USER_ALL : user.getIdentifier(); in executeDeletePackageLIF()
464 outInfo.mRemovedUsers = userId == UserHandle.USER_ALL in executeDeletePackageLIF()
477 && userId != UserHandle.USER_ALL) { in executeDeletePackageLIF()
588 final int[] userIds = (user == null || user.getIdentifier() == UserHandle.USER_ALL) in markPackageUninstalledForUserLPw()
685 deleteInstalledPackageLIF(deletedPs, UserHandle.USER_ALL, true, flags, allUserHandles, in deleteInstalledSystemPackage()
DAppsFilterImpl.java20 import static android.os.UserHandle.USER_ALL;
529 settings, users, USER_ALL, settings.size()); in addPackage()
541 settings, users, USER_ALL, settings.size()); in addPackage()
784 userId = USER_ALL; in updateEntireShouldFilterCache()
796 if (subjectUserId == USER_ALL) { in updateEntireShouldFilterCacheInner()
837 updateEntireShouldFilterCacheInner(snapshot, settings, usersRef[0], USER_ALL); in updateEntireShouldFilterCacheAsync()
916 settings.get(packageName), settings, users, USER_ALL, in updateShouldFilterCacheForPackage()
937 if (subjectUserId == USER_ALL) { in updateShouldFilterCacheForPackage()
1233 users, USER_ALL, settings.size()); in removePackageInternal()
1251 settings, users, USER_ALL, settings.size()); in removePackageInternal()
/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java69 false, this, UserHandle.USER_ALL); in register()
72 false, this, UserHandle.USER_ALL); in register()
75 false, this, UserHandle.USER_ALL); in register()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java185 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testWriteXml_userTurnedOffNAS()
210 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_userDisabled()
260 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet()
280 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet_preS_VersionThree()
301 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet_preS_VersionOne()
321 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet_preS_noUserSet()
341 mAssistants.readXml(parser, allowedManagedServicePackages, false, UserHandle.USER_ALL); in testReadXml_upgradeUserSet_preS_noUserSet_diffDefault()
364 mAssistants.readXml(parser, null, false, UserHandle.USER_ALL); in testReadXml_multiApproved()
381 mAssistants.readXml(parser, null, false, UserHandle.USER_ALL); in testXmlUpgradeExistingApprovedComponents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProvider.kt141 UserHandle.USER_ALL in start()
148 UserHandle.USER_ALL in start()
156 UserHandle.USER_ALL in start()
232 notifUser == UserHandle.USER_ALL -> false in userSettingsDisallowNotification()
/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java80 removeUriPermission(grantUri, mode, null, UserHandle.USER_ALL); in removeUriPermission()
97 if (targetUserId != UserHandle.USER_ALL && targetUserId != perm.targetUserId) { in removeUriPermission()
119 if (targetUserId != UserHandle.USER_ALL && targetUserId != perm.targetUserId) { in removeUriPermission()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java303 if ((userId == UserHandle.USER_ALL || record.getUserId() == userId) in getSession2Tokens()
330 List<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession()
388 if ((userId != UserHandle.USER_ALL && userId != session.getUserId())) { in getPriorityList()
417 mCachedActiveLists.remove(UserHandle.USER_ALL); in clearCache()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java26 import static android.os.UserHandle.USER_ALL;
178 if (sendingUserId == USER_ALL) {
398 USER_ALL); in init()
404 USER_ALL); in init()
464 return userId == USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile()
553 if (userHandle == USER_ALL) { in userAllowsPrivateNotificationsInPublic()
590 if (userHandle == USER_ALL) { in adminAllowsKeyguardFeature()
607 if (userId == USER_ALL) { in isLockscreenPublicMode()
625 if (userHandle == USER_ALL || mCurrentManagedProfiles.contains(userHandle)) { in userAllowsNotificationsInPublic()
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessPersistence.kt71 state.systemState.write(state, UserHandle.USER_ALL) in <lambda>()
101 state.systemState.write(state, UserHandle.USER_ALL) in <lambda>()
148 if (userId == UserHandle.USER_ALL) { in <lambda>()
/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.java52 public static final @UserIdInt int USER_ALL = -1; field in UserHandle
56 public static final @NonNull UserHandle ALL = new UserHandle(USER_ALL);
333 case USER_ALL: in of()
543 userId = UserHandle.USER_ALL; in parseUserArg()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java191 if (userId == UserHandle.USER_ALL) { in handleRequireStrongAuth()
213 if (userId == UserHandle.USER_ALL) { in handleNoLongerRequireStrongAuth()
358 if (userId == UserHandle.USER_ALL) { in setIsNonStrongBiometricAllowed()
459 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in requireStrongAuth()
469 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in noLongerRequireStrongAuth()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPersistenceTest.kt120 UserHandle.USER_ALL, null) in <lambda>()
139 UserHandle.USER_ALL) { in <lambda>()
168 UserHandle.USER_ALL) { null } in <lambda>()
/frameworks/base/services/core/java/com/android/server/om/
DDumpState.java28 @UserIdInt private int mUserId = UserHandle.USER_ALL;
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java94 userId = UserHandle.USER_ALL; in parseUserArg()
207 if (instrument.userId == UserHandle.USER_ALL) { in runInstrument()

12345678910