/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 139 private int mSecondaryUser = UserHandle.USER_NULL; 215 refreshUsers(UserHandle.USER_NULL); in UserSwitcherController() 234 refreshUsers(UserHandle.USER_NULL); in UserSwitcherController() 247 if (forcePictureLoadForId != UserHandle.USER_NULL) { in refreshUsers() 439 refreshUsers(UserHandle.USER_NULL); in removeUserId() 449 if (guestId == UserHandle.USER_NULL) { in onUserListItemClicked() 531 refreshUsers(UserHandle.USER_NULL); 544 int forcePictureLoadForId = UserHandle.USER_NULL; 574 if (mSecondaryUser != UserHandle.USER_NULL) { 577 mSecondaryUser = UserHandle.USER_NULL; [all …]
|
D | SecurityControllerImpl.java | 185 if (profileId == UserHandle.USER_NULL) return null; in getWorkProfileOrganizationName() 205 return UserHandle.USER_NULL; in getWorkProfileUserId() 210 return getWorkProfileUserId(mCurrentUserId) != UserHandle.USER_NULL; in hasWorkProfile() 227 if (profileId == UserHandle.USER_NULL) return null; in getWorkProfileVpnName() 293 if (userId == UserHandle.USER_NULL) return false; in hasCACertInWorkProfile() 482 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); 483 if (userId != UserHandle.USER_NULL) refreshCACerts(userId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/ |
D | UserAwareBiometricSchedulerTest.java | 62 private int mCurrentUserId = UserHandle.USER_NULL; 102 mCurrentUserId = UserHandle.USER_NULL; in testScheduleOperation_whenNoUser() 117 mCurrentUserId = UserHandle.USER_NULL; in testScheduleOperation_whenNoUser_notStarted() 141 mCurrentUserId = UserHandle.USER_NULL; in testScheduleOperation_whenNoUser_notStarted_andReset() 207 mCurrentUserId = UserHandle.USER_NULL; in onUserStopped()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 81 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onReceive() 82 if (userId == UserHandle.USER_NULL) { in onReceive() 151 mUserSwitcherController.removeGuestUser(mUserId, UserHandle.USER_NULL); in onClick()
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | CarServiceProxy.java | 103 private int mLastSwitchedUser = UserHandle.USER_NULL; 106 private int mPreviousUserOfLastSwitchedUser = UserHandle.USER_NULL; 198 sendUserLifecycleEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING, UserHandle.USER_NULL, in sendAllLifecyleToUser() 210 sendUserLifecycleEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKING, UserHandle.USER_NULL, in sendAllLifecyleToUser() 215 sendUserLifecycleEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKED, UserHandle.USER_NULL, in sendAllLifecyleToUser() 379 int fromId = from == null ? UserHandle.USER_NULL : from.getUserIdentifier(); in sendUserLifecycleEvent()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayService.java | 169 private int mCurrentUser = UserHandle.USER_NULL; 203 if (mCurrentUser != UserHandle.USER_NULL && mUserSetupObserver == null) { in onBootPhase() 211 if (mCurrentUser == UserHandle.USER_NULL) { in onUserStarting() 229 message.arg1 = UserHandle.USER_NULL; in onUserStopping() 237 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged() 248 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged() 475 if (mCurrentUser == UserHandle.USER_NULL) { in resetReduceBrightColors() 584 if (mCurrentUser == UserHandle.USER_NULL) { in onAccessibilityDaltonizerChanged() 609 if (mCurrentUser == UserHandle.USER_NULL) { in onAccessibilityInversionChanged() 618 if (mCurrentUser == UserHandle.USER_NULL) { in onReduceBrightColorsActivationChanged() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 75 public static final @UserIdInt int USER_NULL = -10000; field in UserHandle 77 private static final @NonNull UserHandle NULL = new UserHandle(USER_NULL); 308 if (userId == USER_NULL) { // Not common. in of() 586 out.writeInt(USER_NULL); in writeToParcel() 603 return h != USER_NULL ? new UserHandle(h) : null; in readFromParcel()
|
/frameworks/opt/car/services/tests/src/com/android/internal/car/ |
D | CarServiceHelperServiceTest.java | 133 UserHandle.USER_NULL, userId); in testOnUserStarting_notifiesICar() 169 UserHandle.USER_NULL, userId); in testOnUserUnlocking_notifiesICar() 186 UserHandle.USER_NULL, userId); in testOnUserStopping_notifiesICar() 203 UserHandle.USER_NULL, userId); in testOnUserStopped_notifiesICar()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeSettingsHelper.java | 59 setValue(newValue, UserHandle.USER_NULL); in setValue() 63 Preconditions.checkState(userId == UserHandle.USER_NULL || userId >= 0); in setValue() 73 return getValue(UserHandle.USER_NULL, clazz); in getValue()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 132 if (primaryUser == UserHandle.USER_NULL) { in sendReportReadyBroadcast() 438 return UserHandle.USER_NULL; in getAndValidateUser() 443 return UserHandle.USER_NULL; in getAndValidateUser() 448 return UserHandle.USER_NULL; in getAndValidateUser()
|
D | PendingReports.java | 277 if (primaryUser == UserHandle.USER_NULL) { in authorizeReportImpl() 319 if (primaryUser != UserHandle.USER_NULL && receiver != null) { in cancelReportImpl() 346 if (primaryUser == UserHandle.USER_NULL) { in sendBroadcast()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SystemServerAdapter.java | 119 UserHandle.USER_NULL); in registerUserStartedReceiver() 120 if (userId == UserHandle.USER_NULL) { in registerUserStartedReceiver()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 81 assertThat(owners.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in testUpgrade01() 108 assertThat(owners.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in testUpgrade01() 215 assertThat(owners.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in testUpgrade03() 247 assertThat(owners.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in testUpgrade03() 460 assertThat(owners.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in testUpgrade05() 483 assertThat(owners.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in testUpgrade05() 524 assertThat(owners.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in testUpgrade06() 547 assertThat(owners.getDeviceOwnerUserId()).isEqualTo(UserHandle.USER_NULL); in testUpgrade06()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | UnlaunchableAppActivity.java | 61 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate() 64 if (mUserId == UserHandle.USER_NULL) { in onCreate()
|
D | IntentForwarderActivity.java | 122 targetUserId = UserHandle.USER_NULL; in onCreate() 124 if (targetUserId == UserHandle.USER_NULL) { in onCreate() 344 return UserHandle.USER_NULL; in getManagedProfile() 356 return UserHandle.USER_NULL; in getProfileParent()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 70 int mChangeUserId = UserHandle.USER_NULL; 330 UserHandle.USER_NULL); in onReceive() 331 if (mChangeUserId == UserHandle.USER_NULL) { in onReceive() 471 mChangeUserId = UserHandle.USER_NULL; in onReceive()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsUserLifecycleTests.java | 59 private int mTestUserId = UserHandle.USER_NULL; 117 if (mTestUserId != UserHandle.USER_NULL) { in tearDown()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 41 private int tempUserId = UserHandle.USER_NULL; 53 if (tempUserId != UserHandle.USER_NULL) { in tearDown()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | UserUnlockedBlockingReceiver.java | 46 if (intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL) == mUserId) { in onReceive()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockPatternUtilsTest.java | 41 assertNotEquals(UserHandle.USER_NULL, LockPatternUtils.USER_FRP);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 173 if (userId == UserHandle.USER_NULL) { in getUserHandleOf() 274 if (managedProfileId != UserHandle.USER_NULL) { in checkIfInputMethodDisallowed() 362 return UserHandle.USER_NULL; in getManagedProfileId() 413 if (admin == null && managedProfileId != UserHandle.USER_NULL) { in checkIfUsbDataSignalingIsDisabled() 609 if (userId == UserHandle.USER_NULL) { in getProfileOwner()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTrackerImpl.kt | 123 handleSwitchUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL)) in onReceive() 148 if (newUser == UserHandle.USER_NULL) { in handleSwitchUser()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | UserIcons.java | 71 if (userId != UserHandle.USER_NULL) { in getDefaultUserIcon()
|
D | NotificationMessagingUtil.java | 65 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false; in isDefaultMessagingApp()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallFinish.java | 140 int blockingUserId = UserHandle.USER_NULL; in onReceive() 162 if (blockingUserId == UserHandle.USER_NULL) { in onReceive()
|