Searched refs:mockAmGetCurrentUser (Results 1 – 10 of 10) sorted by relevance
19 import static android.car.test.mocks.AndroidMockitoHelper.mockAmGetCurrentUser;141 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_noRunningActivity()159 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_alreadyRunningActivity()189 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_runNewActivity()214 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_WithNewExtras()245 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_WithModifiedExtras()279 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_WithTwoExtras()309 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplay_relaunchWithPackageUpdated()357 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_runOnDifferentDisplay()377 mockAmGetCurrentUser(userId); in testStartFixedActivityModeForDisplayAndUser_invalidDisplay()[all …]
71 AndroidMockitoHelper.mockAmGetCurrentUser(mActivityManagerTestUser); in setUp()
19 import static android.car.test.mocks.AndroidMockitoHelper.mockAmGetCurrentUser;99 mockAmGetCurrentUser(CURRENT_USER_ID); in setUp()
20 import static android.car.test.mocks.AndroidMockitoHelper.mockAmGetCurrentUser;130 mockAmGetCurrentUser(UserHandle.USER_NULL); in testMockAmGetCurrentUser()
19 import static android.car.test.mocks.AndroidMockitoHelper.mockAmGetCurrentUser;1284 mockAmGetCurrentUser(300); // just to make sure it's not used in testNewUsersInfo_ok()1309 mockAmGetCurrentUser(100); in testNewUsersInfo_currentUser_ok()1333 mockAmGetCurrentUser(300); in testNewUsersInfo_noCurrentUser()1357 mockAmGetCurrentUser(300); // just to make sure it's not used in testNewUsersInfo_flagConversionFails()
23 import static android.car.test.mocks.AndroidMockitoHelper.mockAmGetCurrentUser;3326 mockAmGetCurrentUser(CURRENT_USER_ID); in testNoUserNotificationWithNoRecurrentOveruse()3342 mockAmGetCurrentUser(CURRENT_USER_ID); in testNoUserNotificationOnRecurrentOveruseWithDistractionOptimization()3358 mockAmGetCurrentUser(CURRENT_USER_ID); in testUserNotificationOnRecurrentOveruseAfterNoDistractionOptimization()3382 mockAmGetCurrentUser(CURRENT_USER_ID); in testNoDuplicateUserNotificationOnRepeatedRecurrentOveruse()3408 mockAmGetCurrentUser(CURRENT_USER_ID); in testImmediateUserNotificationOnRecurrentOveruseWhenNoDistractionOptimization()3441 mockAmGetCurrentUser(CURRENT_USER_ID); in testNoUserNotificationOnRecurrentOveruseByPrePrioritizedApp()3466 mockAmGetCurrentUser(CURRENT_USER_ID); in testNoUserNotificationOnRecurrentOveruseByPostPrioritizedApp()3491 mockAmGetCurrentUser(CURRENT_USER_ID); in testUserNotificationOnRecurrentOveruseByPriorityResettedApp()3529 mockAmGetCurrentUser(CURRENT_USER_ID); in testUserNotificationOnHistoricalRecurrentOveruse()[all …]
147 AndroidMockitoHelper.mockAmGetCurrentUser(USER_ID_DRIVER); in displaySetup()
443 AndroidMockitoHelper.mockAmGetCurrentUser(userId); in mockGetCurrentUser()
88 public static void mockAmGetCurrentUser(@UserIdInt int userId) { in mockAmGetCurrentUser() method in AndroidMockitoHelper
177 AndroidMockitoHelper.mockAmGetCurrentUser(TEST_USER_ID); in setUp()