Searched refs:USER_NULL (Results 1 – 12 of 12) sorted by relevance
19 import static android.os.UserHandle.USER_NULL;98 int userId = sharedPreferences.getInt("userId", USER_NULL); in onRequestCustomPrinterIcon()101 .isNotEqualTo(USER_NULL); in onRequestCustomPrinterIcon()
20 import static android.os.UserHandle.USER_NULL;89 return USER_NULL; in testPocCVE_2024_0053()94 .isNotEqualTo(USER_NULL); in testPocCVE_2024_0053()
34 private static final int USER_NULL = -10000; field in ValidationHelperTest48 assertTrue(ValidationHelper.isUserIdValid(USER_NULL)); in testUserIdValidation()
70 int[] responderUserId = new int[]{UserHandle.USER_NULL}; in getResponderUserId()83 UserHandle.USER_NULL, responderUserId[0]); in getResponderUserId()
43 assertSameUserHandle(UserHandle.USER_NULL); in testOf()
297 CarOccupantZoneManager.INVALID_USER_ID).isEqualTo(UserHandle.USER_NULL); in testInvalidUserId()412 UserHandle invalidUser = UserHandle.of(UserHandle.USER_NULL); in testGetOccupantZoneForInvalidUser()437 if (userId == UserHandle.USER_NULL) { in testGetOccupantZoneForAllUsers()
204 assertUserLifecycleEventLogged(eventType, UserHandle.USER_NULL, userId); in assertUserLifecycleEventLogged()
487 int newUserId = UserHandle.USER_NULL; in getNonExistentUser()
522 != UserHandle.USER_NULL).toList(); in pickAnyPassengerZoneAndDisplay()
1936 int newUserId = UserHandle.USER_NULL; in testGetUidProcessState_checkAccess()1943 assertNotEquals(UserHandle.USER_NULL, newUserId); in testGetUidProcessState_checkAccess()1956 if (newUserId != UserHandle.USER_NULL) { in testGetUidProcessState_checkAccess()1975 int newUserId = UserHandle.USER_NULL; in testGetUidProcessCapabilities_checkAccess()1982 assertNotEquals(UserHandle.USER_NULL, newUserId); in testGetUidProcessCapabilities_checkAccess()1995 if (newUserId != UserHandle.USER_NULL) { in testGetUidProcessCapabilities_checkAccess()2308 return newUser == null ? UserHandle.USER_NULL : newUser.getIdentifier(); in createNewUser()
246 int currentUserId = UserHandle.USER_NULL; in newUserDisclaimer()266 if (currentUserId == UserHandle.USER_NULL) { in newUserDisclaimer()
2475 field public static final int USER_NULL = -10000; // 0xffffd8f0