Home
last modified time | relevance | path

Searched refs:mockStopUserWithDelayedLocking (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java22 import static android.car.test.mocks.AndroidMockitoHelper.mockStopUserWithDelayedLocking;
585 mockStopUserWithDelayedLocking(user3, ActivityManager.USER_OP_IS_CURRENT); in testBackgroundUsersStartStopKeepBackgroundUserList()
605 mockStopUserWithDelayedLocking(userId, ActivityManager.USER_OP_SUCCESS); in testStopUser_success()
656 mockStopUserWithDelayedLocking(userId, ActivityManager.USER_OP_UNKNOWN_USER); in testStopUser_userDoesNotExist()
669 mockStopUserWithDelayedLocking(userId, ActivityManager.USER_OP_ERROR_IS_SYSTEM); in testStopUser_systemUser()
682 mockStopUserWithDelayedLocking(userId, ActivityManager.USER_OP_IS_CURRENT); in testStopUser_currentUser()
694 mockStopUserWithDelayedLocking( in testStopBackgroundUserForSystemUser()
704 mockStopUserWithDelayedLocking(userId, ActivityManager.USER_OP_IS_CURRENT); in testStopBackgroundUserForFgUser()
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java115 public static void mockStopUserWithDelayedLocking(@UserIdInt int userId, int result) in mockStopUserWithDelayedLocking() method in AndroidMockitoHelper