Searched refs:mockAmSwitchUser (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 21 import static android.car.test.mocks.AndroidMockitoHelper.mockAmSwitchUser; 1215 mockAmSwitchUser(mMockedActivityManager, mRegularUser, true); in testSwitchUser_halNotSupported_success() 1251 mockAmSwitchUser(mMockedActivityManager, mGuestUser, true); in testSwitchUser_HalSuccessAndroidSuccess() 1272 mockAmSwitchUser(mMockedActivityManager, mGuestUser, false); in testSwitchUser_HalSuccessAndroidFailure() 1347 mockAmSwitchUser(mMockedActivityManager, mGuestUser, true); in testSwitchUser_failUxRestrictionsChanged() 1377 mockAmSwitchUser(mMockedActivityManager, mGuestUser, true); in testSwitchUserIgnoringUxRestrictions() 1405 mockAmSwitchUser(mMockedActivityManager, mGuestUser, true); in testSwitchUser_multipleCallsDifferentUser_beforeFirstUserUnlocked() 1414 mockAmSwitchUser(mMockedActivityManager, mRegularUser, true); in testSwitchUser_multipleCallsDifferentUser_beforeFirstUserUnlocked() 1435 mockAmSwitchUser(mMockedActivityManager, mGuestUser, true); in testSwitchUser_multipleCallsDifferentUser_beforeFirstUserUnlock_abandonFirstCall() 1444 mockAmSwitchUser(mMockedActivityManager, mRegularUser, true); in testSwitchUser_multipleCallsDifferentUser_beforeFirstUserUnlock_abandonFirstCall() [all …]
|
D | ExperimentalCarUserServiceTest.java | 19 import static android.car.test.mocks.AndroidMockitoHelper.mockAmSwitchUser; 177 mockAmSwitchUser(mMockedActivityManager, mRegularUser, true); in testSwitchDriver()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 95 public static void mockAmSwitchUser(ActivityManager am, UserHandle user, in mockAmSwitchUser() method in AndroidMockitoHelper
|