Home
last modified time | relevance | path

Searched refs:UserTestingHelper (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java30 import android.car.test.util.UserTestingHelper;
31 import android.car.test.util.UserTestingHelper.UserInfoBuilder;
95 UserInfo user = new UserTestingHelper.UserInfoBuilder(userId).setFlags(flags).build(); in mockUmGetUserInfo()
113 UserInfo user = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in mockUmGetSystemUser()
123 when(um.getAliveUsers()).thenReturn(UserTestingHelper.toList(users)); in mockUmGetAliveUsers()
131 List<UserInfo> users = UserTestingHelper.newUsers(userIds); in mockUmGetAliveUsers()
149 when(um.getUsers()).thenReturn(UserTestingHelper.toList(userInfos)); in mockUmGetAllUsers()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserManagerUnitTest.java34 import android.car.test.util.UserTestingHelper;
141 List<UserInfo> userInfos = UserTestingHelper.newUsers(10, 20, 30); in testGetAllDrivers()
149 List<UserInfo> userInfos = UserTestingHelper.newUsers(100, 101, 102); in testGetAllPassengers()
191 UserTestingHelper.newUser(userId), null)); in expectCreateDriverSucceed()
201 UserInfo userInfo = UserTestingHelper.newUser(100); in expectCreatePassengerSucceed()
DUserPreCreatorTest.java19 import static android.car.test.util.UserTestingHelper.getDefaultUserType;
20 import static android.car.test.util.UserTestingHelper.newGuestUser;
21 import static android.car.test.util.UserTestingHelper.newSecondaryUser;
36 import android.car.test.util.UserTestingHelper.UserInfoBuilder;
DInitialUserSetterTest.java22 import static android.car.test.util.UserTestingHelper.newGuestUser;
23 import static android.car.test.util.UserTestingHelper.newSecondaryUser;
24 import static android.car.test.util.UserTestingHelper.newUser;
DCarUserManagerUnitTest.java42 import android.car.test.util.UserTestingHelper;
624 UserInfo newUser = new UserTestingHelper.UserInfoBuilder(108) in expectServiceCreateUserSucceeds()
DCarUserServiceTest.java24 import static android.car.test.util.UserTestingHelper.UserInfoBuilder;
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUserManagerTest.java18 import static android.car.test.util.UserTestingHelper.clearUserLockCredentials;
19 import static android.car.test.util.UserTestingHelper.setMaxSupportedUsers;
20 import static android.car.test.util.UserTestingHelper.setUserLockCredentials;
DCarUserManagerLifeCycleTest.java18 import static android.car.test.util.UserTestingHelper.setMaxSupportedUsers;
/packages/services/Car/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java36 public final class UserTestingHelper { class
247 private UserTestingHelper() { in UserTestingHelper() method in UserTestingHelper
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java40 import android.car.test.util.UserTestingHelper;
128 UserInfo expectedUser = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in testMockUmGetSystemUser()
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/
DCreateUserResultTest.java18 import static android.car.test.util.UserTestingHelper.UserInfoBuilder;
DCarDevicePolicyManagerUnitTest.java32 import android.car.test.util.UserTestingHelper.UserInfoBuilder;
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DUserHelperTest.java19 import static android.car.test.util.UserTestingHelper.newUser;
DUserHalHelperTest.java49 import android.car.test.util.UserTestingHelper.UserInfoBuilder;
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java22 import static android.car.test.util.UserTestingHelper.UserInfoBuilder;