Home
last modified time | relevance | path

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

/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java40 import android.car.test.util.UserTestingHelper;
250 UserInfo user = new UserTestingHelper.UserInfoBuilder(userId).setFlags(flags).build(); in mockUmGetUserInfo()
268 UserInfo user = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in mockUmGetSystemUser()
278 when(um.getAliveUsers()).thenReturn(UserTestingHelper.toList(users)); in mockUmGetAliveUsers()
287 List<UserInfo> users = UserTestingHelper.newUsers(userIds); in mockUmGetAliveUsers()
297 mockUmGetUserHandles(um, excludeDying, UserTestingHelper.toList(users)); in mockUmGetUserHandles()
315 mockUmGetUserHandles(um, excludeDying, UserTestingHelper.newUserHandles(userIds)); in mockUmGetUserHandles()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DCarArgumentMatchersTest.java30 import android.car.test.util.UserTestingHelper;
76 UserTestingHelper.UserInfoBuilder userInfoBuilder = in testIsUserInfo()
77 new UserTestingHelper.UserInfoBuilder(USER_ID); in testIsUserInfo()
DAndroidMockitoHelperTest.java66 import android.car.test.util.UserTestingHelper;
225 UserInfo expectedUser = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in testMockUmGetSystemUser()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java48 public final class UserTestingHelper { class
50 private static final String TAG = UserTestingHelper.class.getSimpleName();
320 private UserTestingHelper() { in UserTestingHelper() method in UserTestingHelper
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarMultiUserTestBase.java19 import static android.car.test.util.UserTestingHelper.setMaxSupportedUsers;
36 import android.car.test.util.UserTestingHelper;
422 UserTestingHelper.requireMumd(getTargetContext()); in requireMumd()
432 return UserTestingHelper.getDisplayForStartingBackgroundUser( in getDisplayForStartingBackgroundUser()
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;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserManagerUnitTest.java34 import android.car.test.util.UserTestingHelper;
196 UserTestingHelper.newUser(userId).getUserHandle())); in expectCreateDriverSucceed()
/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/com/android/car/internal/user/
DUserHelperTest.java19 import static android.car.test.util.UserTestingHelper.newUser;
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/
DCarUserManagerUnitTest.java45 import android.car.test.util.UserTestingHelper;
829 UserInfo newUser = new UserTestingHelper.UserInfoBuilder(108) in expectServiceCreateUserSucceeds()