Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0053/src/android/security/cts/CVE_2024_0053/
DTestPrintService.java19 import static android.os.UserHandle.USER_NULL;
98 int userId = sharedPreferences.getInt("userId", USER_NULL); in onRequestCustomPrinterIcon()
101 .isNotEqualTo(USER_NULL); in onRequestCustomPrinterIcon()
DDeviceTest.java20 import static android.os.UserHandle.USER_NULL;
89 return USER_NULL; in testPocCVE_2024_0053()
94 .isNotEqualTo(USER_NULL); in testPocCVE_2024_0053()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/
DValidationHelperTest.java34 private static final int USER_NULL = -10000; field in ValidationHelperTest
48 assertTrue(ValidationHelper.isUserIdValid(USER_NULL)); in testUserIdValidation()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/concurrentuser/
DConcurrentUserActivityUtils.java70 int[] responderUserId = new int[]{UserHandle.USER_NULL}; in getResponderUserId()
83 UserHandle.USER_NULL, responderUserId[0]); in getResponderUserId()
/cts/tests/tests/os/src/android/os/cts/
DUserHandleTest.java43 assertSameUserHandle(UserHandle.USER_NULL); in testOf()
/cts/tests/tests/car/src/android/car/cts/
DCarOccupantZoneManagerTest.java297 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()
DCarServiceHelperServiceUpdatableTest.java204 assertUserLifecycleEventLogged(eventType, UserHandle.USER_NULL, userId); in assertUserLifecycleEventLogged()
DCarUserManagerTest.java487 int newUserId = UserHandle.USER_NULL; in getNonExistentUser()
DCarInputTest.java522 != UserHandle.USER_NULL).toList(); in pickAnyPassengerZoneAndDisplay()
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java1936 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()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java246 int currentUserId = UserHandle.USER_NULL; in newUserDisclaimer()
266 if (currentUserId == UserHandle.USER_NULL) { in newUserDisclaimer()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt2475 field public static final int USER_NULL = -10000; // 0xffffd8f0