Home
last modified time | relevance | path

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

123

/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/core/java/com/android/internal/app/
DIntentForwarderActivity.java76 targetUserId = UserHandle.USER_NULL; in onCreate()
78 if (targetUserId == UserHandle.USER_NULL) { in onCreate()
197 return UserHandle.USER_NULL; in getManagedProfile()
209 return UserHandle.USER_NULL; in getProfileParent()
DUnlaunchableAppActivity.java68 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate()
71 if (mUserId == UserHandle.USER_NULL) { in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java112 private int mSecondaryUser = UserHandle.USER_NULL;
158 refreshUsers(UserHandle.USER_NULL); in UserSwitcherController()
171 if (forcePictureLoadForId != UserHandle.USER_NULL) { in refreshUsers()
352 refreshUsers(UserHandle.USER_NULL); in removeUserId()
479 refreshUsers(UserHandle.USER_NULL);
492 int forcePictureLoadForId = UserHandle.USER_NULL;
531 if (mSecondaryUser != UserHandle.USER_NULL) {
534 mSecondaryUser = UserHandle.USER_NULL;
554 UserHandle.USER_NULL);
557 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
[all …]
DSecurityControllerImpl.java170 if (profileId == UserHandle.USER_NULL) return null; in getWorkProfileOrganizationName()
190 return UserHandle.USER_NULL; in getWorkProfileUserId()
195 return getWorkProfileUserId(mCurrentUserId) != UserHandle.USER_NULL; in hasWorkProfile()
201 if (profileId == UserHandle.USER_NULL) return null; in getWorkProfileVpnName()
255 if (userId == UserHandle.USER_NULL) return false; in hasCACertInWorkProfile()
295 if (workProfileId != UserHandle.USER_NULL) new CACertLoader().execute(workProfileId); in refreshCACerts()
DUserInfoControllerImpl.java157 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId, in queryForUserInformation()
/frameworks/base/services/core/java/com/android/server/display/
DNightDisplayService.java119 private int mCurrentUser = UserHandle.USER_NULL;
156 if (mCurrentUser != UserHandle.USER_NULL && mUserSetupObserver == null) { in onBootPhase()
166 if (mCurrentUser == UserHandle.USER_NULL) { in onStartUser()
183 onUserChanged(UserHandle.USER_NULL); in onStopUser()
190 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged()
201 if (mCurrentUser != UserHandle.USER_NULL) { in onUserChanged()
/frameworks/base/core/java/android/os/
DUserHandle.java58 public static final @UserIdInt int USER_NULL = -10000; field in UserHandle
400 out.writeInt(USER_NULL); in writeToParcel()
417 return h != USER_NULL ? new UserHandle(h) : null; in readFromParcel()
/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.java66 int mChangeUserId = UserHandle.USER_NULL;
308 UserHandle.USER_NULL); in onReceive()
309 if (mChangeUserId == UserHandle.USER_NULL) { in onReceive()
449 mChangeUserId = UserHandle.USER_NULL; in onReceive()
/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/tests/coretests/src/com/android/internal/os/
DBatteryStatsUserLifecycleTests.java58 private int mTestUserId = UserHandle.USER_NULL;
115 if (mTestUserId != UserHandle.USER_NULL) { in tearDown()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java328 return UserHandle.USER_NULL; in getManagedProfileId()
543 if (userId == UserHandle.USER_NULL) { in getProfileOrDeviceOwner()
578 if (userId == UserHandle.USER_NULL) { in getProfileOwner()
647 if (admin != null && admin.userId != UserHandle.USER_NULL in sendShowAdminSupportDetailsIntent()
661 if (admin.userId != UserHandle.USER_NULL) { in getShowAdminSupportDetailsIntent()
726 public int userId = UserHandle.USER_NULL;
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java40 assertNotEquals(UserHandle.USER_NULL, LockPatternUtils.USER_FRP);
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java85 private int mBoundUserId = UserHandle.USER_NULL;
163 UserHandle.USER_NULL); in start()
281 mBoundUserId = UserHandle.USER_NULL; in unbindLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DProtectedPackages.java68 (deviceOwnerUserId == UserHandle.USER_NULL) ? null : deviceOwnerPackage; in setDeviceAndProfileOwnerPackages()
DCrossProfileIntentFilter.java67 mTargetUserId = getIntFromXml(parser, ATTR_TARGET_USER_ID, UserHandle.USER_NULL); in CrossProfileIntentFilter()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java69 if (userId != UserHandle.USER_NULL) { in getDefaultUserIcon()
DNotificationMessagingUtil.java53 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false; in isDefaultMessagingApp()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java334 final int extraUid = intent.getIntExtra(Intent.EXTRA_UID, UserHandle.USER_NULL); in onReceive()
335 if (extraUid == UserHandle.USER_NULL) { in onReceive()
453 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onReceive()
456 if (userId != UserHandle.USER_NULL) { in onReceive()
466 if (userId != UserHandle.USER_NULL) { in onReceive()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java203 Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL) == userInfo.id) { in ephemeralUserStopped()
290 Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL) == userId) { in registerBroadcastReceiver()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java83 currentUser = UserHandle.USER_NULL; in reset()
166 if (mKeyguardState.currentUser != UserHandle.USER_NULL) {
/frameworks/base/core/java/android/content/pm/
DUserInfo.java95 public static final int NO_PROFILE_GROUP_ID = UserHandle.USER_NULL;
DPackageItemInfo.java105 showUserIcon = UserHandle.USER_NULL; in PackageItemInfo()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java132 private volatile int mTargetUserId = UserHandle.USER_NULL;
875 mTargetUserId = UserHandle.USER_NULL; // reset, mCurrentUserId has caught up
1510 if (mTargetUserId == UserHandle.USER_NULL) {
1519 int userId = mTargetUserId != UserHandle.USER_NULL ? mTargetUserId : mCurrentUserId;
1524 return mTargetUserId != UserHandle.USER_NULL ? mTargetUserId : mCurrentUserId;

123