Searched refs:mockStopUserWithDelayedLocking (Results 1 – 2 of 2) sorted by relevance
22 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()
115 public static void mockStopUserWithDelayedLocking(@UserIdInt int userId, int result) in mockStopUserWithDelayedLocking() method in AndroidMockitoHelper