/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/ |
D | PendingRemovalStoreTest.kt | 47 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/ |
D | OverlayControl.java | 52 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/ |
D | BroadcastRecordTest.java | 322 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/ |
D | InlineReplyUriRecord.java | 79 if (UserManager.isHeadlessSystemUserMode() && userId == UserHandle.USER_ALL) { in getUserId() 81 } else if (userId == UserHandle.USER_ALL) { in getUserId()
|
D | VisibilityExtractor.java | 53 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/ |
D | FakeSettingsTest.java | 97 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/ |
D | TrustArchive.java | 104 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/ |
D | RemovePackageHelper.java | 294 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()
|
D | DeletePackageHelper.java | 123 ? 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()
|
D | AppsFilterImpl.java | 20 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/ |
D | GestureNavigationSettingsObserver.java | 69 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/ |
D | NotificationAssistantsTest.java | 185 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/ |
D | KeyguardNotificationVisibilityProvider.kt | 141 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/ |
D | UriPermissionOwner.java | 80 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/ |
D | MediaSessionStack.java | 303 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/ |
D | NotificationLockscreenUserManagerImpl.java | 26 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/ |
D | AccessPersistence.kt | 71 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/ |
D | BroadcastDispatcher.kt | 230 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/ |
D | KeyguardDisableHandler.java | 56 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/ |
D | BlobStoreManagerShellCommand.java | 58 args.userId = UserHandle.USER_ALL; in runClearAllSessions() 70 args.userId = UserHandle.USER_ALL; in runClearAllBlobs()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 52 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/ |
D | LockSettingsStrongAuth.java | 191 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/ |
D | DomainVerificationPersistenceTest.kt | 120 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/ |
D | DumpState.java | 28 @UserIdInt private int mUserId = UserHandle.USER_ALL;
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 94 userId = UserHandle.USER_ALL; in parseUserArg() 207 if (instrument.userId == UserHandle.USER_ALL) { in runInstrument()
|