Home
last modified time | relevance | path

Searched refs:isUserHandle (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DCarArgumentMatchersTest.java22 import static android.car.test.mocks.CarArgumentMatchers.isUserHandle;
87 isUserHandle(UserHandle.USER_SYSTEM))).thenReturn(true); in testIsUserHandle()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DCarArgumentMatchers.java51 public static UserHandle isUserHandle(@UserIdInt int userId) { in isUserHandle() method in CarArgumentMatchers
DAndroidMockitoHelper.java18 import static android.car.test.mocks.CarArgumentMatchers.isUserHandle;
337 when(um.isUserUnlockingOrUnlocked(isUserHandle(userId))).thenReturn(value); in mockUmIsUserUnlockingOrUnlocked()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceControllerTest.java19 import static android.car.test.mocks.CarArgumentMatchers.isUserHandle;
446 doReturn(true).when(mUserManager).isUserUnlockingOrUnlocked(isUserHandle(userId)); in mockUserUnlock()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java19 import static android.car.test.mocks.CarArgumentMatchers.isUserHandle;
1114 doReturn(newGuest).when(mSetter).replaceGuestIfNeeded(isUserHandle(existingGuestId)); in expectGuestReplaced()