/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionsState.java | 257 return grantPermission(permission, UserHandle.USER_ALL); in grantInstallPermission() 269 return revokePermission(permission, UserHandle.USER_ALL); in revokeInstallPermission() 283 if (userId == UserHandle.USER_ALL) { in grantRuntimePermission() 300 if (userId == UserHandle.USER_ALL) { in revokeRuntimePermission() 326 return hasPermission(name, UserHandle.USER_ALL); in hasInstallPermission() 403 if (userId != UserHandle.USER_ALL) { in getPermissions() 421 return getPermissionState(name, UserHandle.USER_ALL); in getInstallPermissionState() 442 return getPermissionStatesInternal(UserHandle.USER_ALL); in getInstallPermissionStates() 737 if (userId != UserHandle.USER_ALL && userId < 0) { in enforceValidUserId() 804 userId = UserHandle.USER_ALL; in isGranted() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | BroadcastRecordTest.java | 64 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/ |
D | OverlayControl.java | 52 mToken, null, UserHandle.USER_ALL); in setOverlayAllowed() 54 mToken, null, UserHandle.USER_ALL); in setOverlayAllowed()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | GestureNavigationSettingsObserver.java | 63 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/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()
|
D | TrustManagerService.java | 214 refreshAgentList(UserHandle.USER_ALL); in onBootPhase() 215 refreshDeviceLockedForUser(UserHandle.USER_ALL); in onBootPhase() 476 if (userIdOrAll != UserHandle.USER_ALL && userIdOrAll < UserHandle.USER_SYSTEM) { in refreshAgentList() 479 userIdOrAll = UserHandle.USER_ALL; in refreshAgentList() 484 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList() 608 if (userIdOrAll == UserHandle.USER_ALL || userIdOrAll == info.userId) { in refreshAgentList() 618 if (userIdOrAll == UserHandle.USER_ALL) { in refreshAgentList() 637 if (userId != UserHandle.USER_ALL && userId < UserHandle.USER_SYSTEM) { in refreshDeviceLockedForUser() 640 userId = UserHandle.USER_ALL; in refreshDeviceLockedForUser() 643 if (userId == UserHandle.USER_ALL) { in refreshDeviceLockedForUser() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerImpl.java | 124 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() 404 if (userHandle == UserHandle.USER_ALL) { in userAllowsPrivateNotificationsInPublic() 438 if (userHandle == UserHandle.USER_ALL) { in adminAllowsKeyguardFeature() 454 if (userId == UserHandle.USER_ALL) { in isLockscreenPublicMode()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 295 if ((userId == UserHandle.USER_ALL || record.getUserId() == userId) in getSession2Tokens() 325 List<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession() 384 if ((userId != UserHandle.USER_ALL && userId != session.getUserId())) { in getPriorityList() 414 mCachedActiveLists.remove(UserHandle.USER_ALL); in clearCache()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 43 public static final @UserIdInt int USER_ALL = -1; field in UserHandle 48 public static final @NonNull UserHandle ALL = new UserHandle(USER_ALL); 268 case USER_ALL: in of() 444 userId = UserHandle.USER_ALL; in parseUserArg()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | KeyguardCoordinator.java | 107 final int notifUserId = (sbn.getUser().getIdentifier() == UserHandle.USER_ALL) 182 UserHandle.USER_ALL); in setupInvalidateNotifListCallbacks() 188 UserHandle.USER_ALL); in setupInvalidateNotifListCallbacks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | DataCollector.java | 108 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/ |
D | LockSettingsStrongAuth.java | 188 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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 410 UserHandle.USER_ALL, channel1.getId(), channel2.getId(), in testChannelXml() 415 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml() 681 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_defaultChannelLegacyApp_noUserSettings() 683 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_defaultChannelLegacyApp_noUserSettings() 702 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_defaultChannelUpdatedApp_userSettings() 704 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_defaultChannelUpdatedApp_userSettings() 724 mHelper.readXml(parser, false, UserHandle.USER_ALL); in testChannelXml_upgradeCreateDefaultChannel() 747 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_upgradeDeletesDefaultChannel() 752 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_upgradeDeletesDefaultChannel() 764 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID, "bananas"); in testDeletesDefaultChannelAfterChannelIsCreated() [all …]
|
D | ZenModeHelperTest.java | 202 mZenModeHelperSpy.writeXml(serializer, false, version, UserHandle.USER_ALL); in writeXmlAndPurge() 840 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testWriteXml() 1051 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testWriteXmlWithZenPolicy() 1119 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testReadXmlRulesNotOverriden() 1139 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_oneExistsButOff() 1155 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_oneExistsButOff() 1174 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_bothExistButOff() 1193 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_bothExistButOn() 1212 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_bothExistButOn() 1228 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_bothExistButOn() [all …]
|
/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/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/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 141 false, this, UserHandle.USER_ALL); in startObserving() 144 false, this, UserHandle.USER_ALL); in startObserving() 147 false, this, UserHandle.USER_ALL); in startObserving() 150 false, this, UserHandle.USER_ALL); in startObserving()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | DumpState.java | 27 @UserIdInt private int mUserId = UserHandle.USER_ALL;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockPatternUtilsTest.java | 42 assertNotEquals(UserHandle.USER_ALL, LockPatternUtils.USER_FRP);
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 89 userId = UserHandle.USER_ALL; in parseUserArg() 195 if (instrument.userId == UserHandle.USER_ALL) { in runInstrument()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | InlineReplyUriRecord.java | 77 if (userId == UserHandle.USER_ALL) { in getUserId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 239 return getActiveAppOpsForUser(UserHandle.USER_ALL); in getActiveAppOps() 256 if ((userId == UserHandle.USER_ALL in getActiveAppOpsForUser() 266 if ((userId == UserHandle.USER_ALL in getActiveAppOpsForUser()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 101 testContext.startActivityAsUser(null, new UserHandle(UserHandle.USER_ALL)); in testStartActivityAsUserNullIntentNonNullUser() 115 testContext.startActivityAsUser(new Intent(), new UserHandle(UserHandle.USER_ALL)); in testStartActivityAsUserNonNullIntentNonNullUser()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | KeyguardDisableHandlerTest.java | 22 import static android.os.UserHandle.USER_ALL; 102 mKeyguardDisable.updateKeyguardEnabled(USER_ALL); in starts_enabled()
|
/frameworks/base/core/java/com/android/internal/ |
D | BrightnessSynchronizer.java | 273 cr.registerContentObserver(BRIGHTNESS_URI, false, this, UserHandle.USER_ALL); in startObserving() 274 cr.registerContentObserver(BRIGHTNESS_FLOAT_URI, false, this, UserHandle.USER_ALL); in startObserving()
|