Searched refs:mockAmStartUserInBackground (Results 1 – 3 of 3) sorted by relevance
21 import static android.car.test.mocks.AndroidMockitoHelper.mockAmStartUserInBackground;137 mockAmStartUserInBackground(TEST_USER_ID, true); in testMockAmStartUserInBackground_true()144 mockAmStartUserInBackground(TEST_USER_ID, false); in testMockAmStartUserInBackground_false()
19 import static android.car.test.mocks.AndroidMockitoHelper.mockAmStartUserInBackground;2420 mockAmStartUserInBackground(TEST_USER_ID, true); in testStartUser_onDefaultDisplay_notPassengerOnly()2438 mockAmStartUserInBackground(TEST_USER_ID, true); in testStartUser_withoutDisplayId_startsUserInBackground()2453 mockAmStartUserInBackground(newUser.getIdentifier(), true); in testStartUserInBackground_success()2477 mockAmStartUserInBackground(TEST_USER_ID, false); in testStartUserInBackground_fail()2491 mockAmStartUserInBackground(newUser.getIdentifier(), true); in testStartUserInBackground_currentUser()2504 mockAmStartUserInBackground(TEST_USER_ID, true); in testStartUserInBackground_userDoesNotExist()
107 public static void mockAmStartUserInBackground(@UserIdInt int userId, boolean result) in mockAmStartUserInBackground() method in AndroidMockitoHelper