Home
last modified time | relevance | path

Searched refs:mockUmGetUserHandles (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java286 mockUmGetUserHandles(um, true, userIds); in mockUmGetAliveUsers()
294 public static void mockUmGetUserHandles(UserManager um, boolean excludeDying, in mockUmGetUserHandles() method in AndroidMockitoHelper
297 mockUmGetUserHandles(um, excludeDying, UserTestingHelper.toList(users)); in mockUmGetUserHandles()
303 public static void mockUmGetUserHandles(UserManager um, boolean excludeDying, in mockUmGetUserHandles() method in AndroidMockitoHelper
313 public static void mockUmGetUserHandles(UserManager um, boolean excludeDying, in mockUmGetUserHandles() method in AndroidMockitoHelper
315 mockUmGetUserHandles(um, excludeDying, UserTestingHelper.newUserHandles(userIds)); in mockUmGetUserHandles()
320 mockUmGetUserHandles(um, /* excludeDying= */ false, users); in mockUmGetAllUsers()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogPerfHandlerUnitTest.java25 import static android.car.test.mocks.AndroidMockitoHelper.mockUmGetUserHandles;
516 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 100); in testWriteToDatabaseForSaveIoUsageStatsWithForgive()
569 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 100); in testWriteToDatabaseForSaveIoUsageStatsWithoutForgive()
615 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 100, 101, 102); in testDeleteUser()
1356 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 100, 101); in testResetResourceOveruseStatsResetsUserPackageSettings()
1398 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 101, 102); in testSetKillablePackageAsUser()
1427 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 101, 102, 103); in testSetKillablePackageAsUser()
1450 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 101, 102); in testSetKillablePackageAsUserWithSharedUids()
1499 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 101, 102); in testSetKillablePackageAsUserForAllUsers()
1527 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ true, 101, 102, 103); in testSetKillablePackageAsUserForAllUsers()
[all …]
DCarWatchdogServiceUnitTest.java21 import static android.car.test.mocks.AndroidMockitoHelper.mockUmGetUserHandles;
409 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ false, 101, 102); in testWatchdogDaemonRestart()
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java20 import static android.car.test.mocks.AndroidMockitoHelper.mockUmGetUserHandles;
151 mockUmGetUserHandles(mMockUserManager, /* excludeDying= */ false, mUsers); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java39 import static android.car.test.mocks.AndroidMockitoHelper.mockUmGetUserHandles;
315 mockUmGetUserHandles(mMockedUserManager, true, 100, 200); in testMockUmGetUserHandles()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java18 import static android.car.test.mocks.AndroidMockitoHelper.mockUmGetUserHandles;
1067 mockUmGetUserHandles(mUm, /* excludeDying= */ false, userIds); in mockGetAliveUsers()
1071 mockUmGetUserHandles(mUm, /* excludeDying= */ false, users); in mockGetAliveUsers()
DBaseCarUserServiceTestCase.java19 import static android.car.test.mocks.AndroidMockitoHelper.mockUmGetUserHandles;
670 mockUmGetUserHandles(mMockedUserManager, /* excludeDying= */ true, existingUsers); in mockNonDyingExistingUsers()
674 mockUmGetUserHandles(mMockedUserManager, /* excludeDying= */ false, existingUsers); in mockExistingUsers()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java20 import static android.car.test.mocks.AndroidMockitoHelper.mockUmGetUserHandles;
1440 mockUmGetUserHandles(mUm, /* excludeDying= */ false, users); in mockGetAllUsers()