Searched refs:mockStopUserWithDelayedLocking (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/ |
D | AndroidMockitoHelperTest.java | 35 import static android.car.test.mocks.AndroidMockitoHelper.mockStopUserWithDelayedLocking; 184 mockStopUserWithDelayedLocking(TEST_USER_ID, 42); in testMockStopUserWithDelayedLocking()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 27 import static android.car.test.mocks.AndroidMockitoHelper.mockStopUserWithDelayedLocking; 769 mockStopUserWithDelayedLocking(user3, ActivityManager.USER_OP_IS_CURRENT); in testBackgroundUsersStartStopKeepBackgroundUserList() 788 mockStopUserWithDelayedLocking(TEST_USER_ID, ActivityManager.USER_OP_SUCCESS); in testStopUser_success() 821 mockStopUserWithDelayedLocking(TEST_USER_ID, ActivityManager.USER_OP_UNKNOWN_USER); in testStopUser_userDoesNotExist() 834 mockStopUserWithDelayedLocking(userId, ActivityManager.USER_OP_ERROR_IS_SYSTEM); in testStopUser_systemUser() 859 mockStopUserWithDelayedLocking(TEST_USER_ID, ActivityManager.USER_OP_IS_CURRENT); in testStopUser_currentUser() 871 mockStopUserWithDelayedLocking(TEST_USER_ID, ActivityManager.USER_OP_SUCCESS); in testStopUser_withDelayedLocking_success() 933 mockStopUserWithDelayedLocking(TEST_USER_ID, ActivityManager.USER_OP_SUCCESS); in testStopBackgroundUserInGarageMode() 936 mockStopUserWithDelayedLocking(TEST_USER_ID, ActivityManager.USER_OP_IS_CURRENT); in testStopBackgroundUserInGarageMode() 939 mockStopUserWithDelayedLocking(UserHandle.USER_SYSTEM, in testStopBackgroundUserInGarageMode()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 156 public static void mockStopUserWithDelayedLocking(@UserIdInt int userId, int result) in mockStopUserWithDelayedLocking() method in AndroidMockitoHelper
|