Home
last modified time | relevance | path

Searched refs:USER_NULL (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java139 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 …]
DSecurityControllerImpl.java185 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/
DUserAwareBiometricSchedulerTest.java62 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/
DGuestResumeSessionReceiver.java81 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/
DCarServiceProxy.java103 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/
DColorDisplayService.java169 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/
DUserHandle.java75 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/
DCarServiceHelperServiceTest.java133 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/
DFakeSettingsHelper.java59 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/
DIncidentCompanionService.java132 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()
DPendingReports.java277 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/
DSystemServerAdapter.java119 UserHandle.USER_NULL); in registerUserStartedReceiver()
120 if (userId == UserHandle.USER_NULL) { in registerUserStartedReceiver()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java81 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/
DUnlaunchableAppActivity.java61 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate()
64 if (mUserId == UserHandle.USER_NULL) { in onCreate()
DIntentForwarderActivity.java122 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/
DPackageMonitor.java70 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/
DBatteryStatsUserLifecycleTests.java59 private int mTestUserId = UserHandle.USER_NULL;
117 if (mTestUserId != UserHandle.USER_NULL) { in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java41 private int tempUserId = UserHandle.USER_NULL;
53 if (tempUserId != UserHandle.USER_NULL) { in tearDown()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUserUnlockedBlockingReceiver.java46 if (intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL) == mUserId) { in onReceive()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java41 assertNotEquals(UserHandle.USER_NULL, LockPatternUtils.USER_FRP);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java173 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/
DUserTrackerImpl.kt123 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/
DUserIcons.java71 if (userId != UserHandle.USER_NULL) { in getDefaultUserIcon()
DNotificationMessagingUtil.java65 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false; in isDefaultMessagingApp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java140 int blockingUserId = UserHandle.USER_NULL; in onReceive()
162 if (blockingUserId == UserHandle.USER_NULL) { in onReceive()

12345