/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 62 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/ |
D | IntentForwarderActivity.java | 76 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()
|
D | UnlaunchableAppActivity.java | 68 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/ |
D | UserSwitcherController.java | 112 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 …]
|
D | SecurityControllerImpl.java | 170 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()
|
D | UserInfoControllerImpl.java | 157 avatar = UserIcons.getDefaultUserIcon(isGuest? UserHandle.USER_NULL : userId, in queryForUserInformation()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | NightDisplayService.java | 119 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/ |
D | UserHandle.java | 58 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/ |
D | UserManagerServiceTest.java | 37 private int tempUserId = UserHandle.USER_NULL; 49 if (tempUserId != UserHandle.USER_NULL) { in tearDown()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 66 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/ |
D | GuestResumeSessionReceiver.java | 61 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/ |
D | BatteryStatsUserLifecycleTests.java | 58 private int mTestUserId = UserHandle.USER_NULL; 115 if (mTestUserId != UserHandle.USER_NULL) { in tearDown()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 328 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/ |
D | LockPatternUtilsTest.java | 40 assertNotEquals(UserHandle.USER_NULL, LockPatternUtils.USER_FRP);
|
/frameworks/base/services/core/java/com/android/server/ |
D | ServiceWatcher.java | 85 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/ |
D | ProtectedPackages.java | 68 (deviceOwnerUserId == UserHandle.USER_NULL) ? null : deviceOwnerPackage; in setDeviceAndProfileOwnerPackages()
|
D | CrossProfileIntentFilter.java | 67 mTargetUserId = getIntFromXml(parser, ATTR_TARGET_USER_ID, UserHandle.USER_NULL); in CrossProfileIntentFilter()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | UserIcons.java | 69 if (userId != UserHandle.USER_NULL) { in getDefaultUserIcon()
|
D | NotificationMessagingUtil.java | 53 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false; in isDefaultMessagingApp()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 334 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/ |
D | UserLifecycleTests.java | 203 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/ |
D | KeyguardServiceDelegate.java | 83 currentUser = UserHandle.USER_NULL; in reset() 166 if (mKeyguardState.currentUser != UserHandle.USER_NULL) {
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 95 public static final int NO_PROFILE_GROUP_ID = UserHandle.USER_NULL;
|
D | PackageItemInfo.java | 105 showUserIcon = UserHandle.USER_NULL; in PackageItemInfo()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 132 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;
|