/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionsState.java | 197 return grantPermission(permission, UserHandle.USER_ALL); in grantInstallPermission() 209 return revokePermission(permission, UserHandle.USER_ALL); in revokeInstallPermission() 223 if (userId == UserHandle.USER_ALL) { in grantRuntimePermission() 240 if (userId == UserHandle.USER_ALL) { in revokeRuntimePermission() 266 return hasPermission(name, UserHandle.USER_ALL); in hasInstallPermission() 343 if (userId != UserHandle.USER_ALL) { in getPermissions() 361 return getPermissionState(name, UserHandle.USER_ALL); in getInstallPermissionState() 382 return getPermissionStatesInternal(UserHandle.USER_ALL); in getInstallPermissionStates() 675 if (userId != UserHandle.USER_ALL && userId < 0) { in enforceValidUserId() 734 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/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 | 216 UserHandle.USER_ALL); in setUpWithPresenter() 222 UserHandle.USER_ALL); in setUpWithPresenter() 233 UserHandle.USER_ALL); in setUpWithPresenter() 265 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null; in isCurrentProfile() 274 if (userId == UserHandle.USER_ALL) { in shouldTemporarilyHideNotifications() 364 if (userHandle == UserHandle.USER_ALL) { in userAllowsPrivateNotificationsInPublic() 383 if (userHandle == UserHandle.USER_ALL) { in adminAllowsKeyguardFeature() 399 if (userId == UserHandle.USER_ALL) { in isLockscreenPublicMode()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 286 ArrayList<MediaSessionRecord> records = getPriorityList(true, UserHandle.USER_ALL); in getDefaultVolumeSession() 313 UserHandle.USER_ALL); in dump() 348 if (userId != UserHandle.USER_ALL && userId != session.getUserId()) { in getPriorityList() 398 mCachedActiveLists.remove(UserHandle.USER_ALL); in clearCache()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 74 testContext.startActivityAsUser(null, new UserHandle(UserHandle.USER_ALL)); in testStartActivityAsUserNullIntentNonNullUser() 88 testContext.startActivityAsUser(new Intent(), new UserHandle(UserHandle.USER_ALL)); in testStartActivityAsUserNonNullIntentNonNullUser()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntentBroadcaster.java | 59 ActivityManager.broadcastStickyIntent(i, UserHandle.USER_ALL); 94 ActivityManager.broadcastStickyIntent(intent, UserHandle.USER_ALL); in broadcastStickyIntent()
|
/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/wm/ |
D | KeyguardDisableHandler.java | 56 updateKeyguardEnabledLocked(UserHandle.USER_ALL); in setCurrentUser() 67 if (mCurrentUser == userId || userId == UserHandle.USER_ALL) { in updateKeyguardEnabledLocked()
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 42 public static final @UserIdInt int USER_ALL = -1; field in UserHandle 47 public static final @NonNull UserHandle ALL = new UserHandle(USER_ALL); 386 userId = UserHandle.USER_ALL; in parseUserArg()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 344 UserHandle.USER_ALL, channel1.getId(), channel2.getId(), in testChannelXml() 349 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml() 606 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_defaultChannelLegacyApp_noUserSettings() 608 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_defaultChannelLegacyApp_noUserSettings() 627 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_defaultChannelUpdatedApp_userSettings() 629 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_defaultChannelUpdatedApp_userSettings() 649 mHelper.readXml(parser, false, UserHandle.USER_ALL); in testChannelXml_upgradeCreateDefaultChannel() 672 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID); in testChannelXml_upgradeDeletesDefaultChannel() 677 loadStreamXml(baos, false, UserHandle.USER_ALL); in testChannelXml_upgradeDeletesDefaultChannel() 689 UserHandle.USER_ALL, NotificationChannel.DEFAULT_CHANNEL_ID, "bananas"); in testDeletesDefaultChannelAfterChannelIsCreated() [all …]
|
D | ZenModeHelperTest.java | 170 mZenModeHelperSpy.writeXml(serializer, false, version, UserHandle.USER_ALL); in writeXmlAndPurge() 732 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testWriteXml() 847 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testWriteXmlWithZenPolicy() 915 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testReadXmlRulesNotOverriden() 935 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_oneExistsButOff() 951 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_oneExistsButOff() 970 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_bothExistButOff() 989 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_bothExistButOn() 1008 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_bothExistButOn() 1024 mZenModeHelperSpy.readXml(parser, false, UserHandle.USER_ALL); in testMigrateSuppressedVisualEffects_bothExistButOn() [all …]
|
D | SnoozeHelperTest.java | 127 UserHandle.USER_ALL, r3.sbn.getPackageName(), r3.getKey())); 137 UserHandle.USER_ALL, r3.sbn.getPackageName(), r3.getKey())); 338 UserHandle.USER_ALL, r2.sbn.getPackageName(), r2.getKey())); 348 UserHandle.USER_ALL, r2.sbn.getPackageName(), r2.getKey()));
|
/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() 189 if (instrument.userId == UserHandle.USER_ALL) { in runInstrument()
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 145 false, co, UserHandle.USER_ALL); in AccessibilityShortcutController() 148 false, co, UserHandle.USER_ALL); in AccessibilityShortcutController() 151 false, co, UserHandle.USER_ALL); in AccessibilityShortcutController() 154 false, co, UserHandle.USER_ALL); in AccessibilityShortcutController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 230 return getActiveAppOpsForUser(UserHandle.USER_ALL); in getActiveAppOps() 247 if ((userId == UserHandle.USER_ALL in getActiveAppOpsForUser() 257 if ((userId == UserHandle.USER_ALL in getActiveAppOpsForUser()
|
/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/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStrongAuth.java | 91 if (userId == UserHandle.USER_ALL) { in handleRequireStrongAuth() 168 if (userId == UserHandle.USER_ALL || userId >= UserHandle.USER_SYSTEM) { in requireStrongAuth()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 136 false, this, UserHandle.USER_ALL); in startObserving() 139 false, this, UserHandle.USER_ALL); in startObserving() 142 false, this, UserHandle.USER_ALL); in startObserving()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RotationLockControllerImpl.java | 83 UserHandle.USER_ALL); in setListening()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationMessagingUtil.java | 64 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false; in isDefaultMessagingApp()
|