Searched refs:UserTestingHelper (Results 1 – 15 of 15) sorted by relevance
30 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()
34 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()
19 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;
22 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;
42 import android.car.test.util.UserTestingHelper;624 UserInfo newUser = new UserTestingHelper.UserInfoBuilder(108) in expectServiceCreateUserSucceeds()
24 import static android.car.test.util.UserTestingHelper.UserInfoBuilder;
18 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;
18 import static android.car.test.util.UserTestingHelper.setMaxSupportedUsers;
36 public final class UserTestingHelper { class247 private UserTestingHelper() { in UserTestingHelper() method in UserTestingHelper
40 import android.car.test.util.UserTestingHelper;128 UserInfo expectedUser = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in testMockUmGetSystemUser()
18 import static android.car.test.util.UserTestingHelper.UserInfoBuilder;
32 import android.car.test.util.UserTestingHelper.UserInfoBuilder;
19 import static android.car.test.util.UserTestingHelper.newUser;
49 import android.car.test.util.UserTestingHelper.UserInfoBuilder;
22 import static android.car.test.util.UserTestingHelper.UserInfoBuilder;