Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java62 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade01()
79 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade01()
172 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade03()
200 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade03()
360 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade05()
379 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade05()
415 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade06()
434 assertEquals(UserHandle.USER_NULL, owners.getDeviceOwnerUserId()); in testUpgrade06()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java107 private int mSecondaryUser = UserHandle.USER_NULL;
154 refreshUsers(UserHandle.USER_NULL); in UserSwitcherController()
167 if (forcePictureLoadForId != UserHandle.USER_NULL) { in refreshUsers()
348 refreshUsers(UserHandle.USER_NULL); in removeUserId()
470 refreshUsers(UserHandle.USER_NULL);
483 int forcePictureLoadForId = UserHandle.USER_NULL;
513 if (mSecondaryUser != UserHandle.USER_NULL) {
516 mSecondaryUser = UserHandle.USER_NULL;
528 UserHandle.USER_NULL);
531 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 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()
216 if (profileId == UserHandle.USER_NULL) return null; in getWorkProfileVpnName()
270 if (userId == UserHandle.USER_NULL) return false; in hasCACertInWorkProfile()
310 if (workProfileId != UserHandle.USER_NULL) new CACertLoader().execute(workProfileId); in refreshCACerts()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java102 targetUserId = UserHandle.USER_NULL; in onCreate()
104 if (targetUserId == UserHandle.USER_NULL) { in onCreate()
250 return UserHandle.USER_NULL; in getManagedProfile()
262 return UserHandle.USER_NULL; in getProfileParent()
DUnlaunchableAppActivity.java59 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate()
62 if (mUserId == UserHandle.USER_NULL) { in onCreate()
/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/display/color/
DColorDisplayService.java166 private int mCurrentUser = UserHandle.USER_NULL;
199 if (mCurrentUser != UserHandle.USER_NULL && mUserSetupObserver == null) { in onBootPhase()
209 if (mCurrentUser == UserHandle.USER_NULL) { in onStartUser()
231 message.arg1 = UserHandle.USER_NULL; in onStopUser()
239 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged()
250 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged()
544 if (mCurrentUser == UserHandle.USER_NULL) { in onAccessibilityDaltonizerChanged()
569 if (mCurrentUser == UserHandle.USER_NULL) { in onAccessibilityInversionChanged()
688 if (mCurrentUser == UserHandle.USER_NULL) { in setDisplayWhiteBalanceSettingEnabled()
697 if (mCurrentUser == UserHandle.USER_NULL) { in isDisplayWhiteBalanceSettingEnabled()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java37 private int tempUserId = UserHandle.USER_NULL;
49 if (tempUserId != UserHandle.USER_NULL) { in tearDown()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java69 int mChangeUserId = UserHandle.USER_NULL;
326 UserHandle.USER_NULL); in onReceive()
327 if (mChangeUserId == UserHandle.USER_NULL) { in onReceive()
468 mChangeUserId = UserHandle.USER_NULL; in onReceive()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java26 if (targetUserId == UserHandle.USER_NULL) { in isDebugEnabled()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsUserLifecycleTests.java59 private int mTestUserId = UserHandle.USER_NULL;
116 if (mTestUserId != UserHandle.USER_NULL) { in tearDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java61 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onReceive()
62 if (userId == UserHandle.USER_NULL) { in onReceive()
/frameworks/base/core/java/android/os/
DUserHandle.java72 public static final @UserIdInt int USER_NULL = -10000; field in UserHandle
493 out.writeInt(USER_NULL); in writeToParcel()
510 return h != USER_NULL ? new UserHandle(h) : null; in readFromParcel()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java41 assertNotEquals(UserHandle.USER_NULL, LockPatternUtils.USER_FRP);
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java164 mBestUserId = UserHandle.USER_NULL; in ServiceWatcher()
221 UserHandle.USER_NULL); in start()
356 mBestUserId = UserHandle.USER_NULL; in unbind()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java71 if (userId != UserHandle.USER_NULL) { in getDefaultUserIcon()
DNotificationMessagingUtil.java64 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false; in isDefaultMessagingApp()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java108 int mUser = UserHandle.USER_NULL;
135 if (mUser != UserHandle.USER_NULL) { in onCommand()
257 if (mUser == UserHandle.USER_NULL || mUser == UserHandle.USER_CURRENT) { in onCommand()
/frameworks/base/services/core/java/com/android/server/pm/
DProtectedPackages.java68 (deviceOwnerUserId == UserHandle.USER_NULL) ? null : deviceOwnerPackage; in setDeviceAndProfileOwnerPackages()
/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()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java345 final int extraUid = intent.getIntExtra(Intent.EXTRA_UID, UserHandle.USER_NULL); in onReceive()
346 if (extraUid == UserHandle.USER_NULL) { in onReceive()
487 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onReceive()
490 if (userId != UserHandle.USER_NULL) { in onReceive()
505 if (userId != UserHandle.USER_NULL) { in onReceive()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationContext.java41 private int mUserId = UserHandle.USER_NULL;
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java194 int blockingUserId = UserHandle.USER_NULL; in handleMessage()
218 } else if (blockingUserId == UserHandle.USER_NULL) { in handleMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DAppSaturationControllerTest.java66 mUserId = UserHandle.USER_NULL; in tearDown()

1234