Searched refs:UserTestingHelper (Results 1 – 11 of 11) sorted by relevance
40 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()
30 import android.car.test.util.UserTestingHelper;76 UserTestingHelper.UserInfoBuilder userInfoBuilder = in testIsUserInfo()77 new UserTestingHelper.UserInfoBuilder(USER_ID); in testIsUserInfo()
66 import android.car.test.util.UserTestingHelper;225 UserInfo expectedUser = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in testMockUmGetSystemUser()
48 public final class UserTestingHelper { class50 private static final String TAG = UserTestingHelper.class.getSimpleName();320 private UserTestingHelper() { in UserTestingHelper() method in UserTestingHelper
19 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()
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;
34 import android.car.test.util.UserTestingHelper;196 UserTestingHelper.newUser(userId).getUserHandle())); in expectCreateDriverSucceed()
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;
45 import android.car.test.util.UserTestingHelper;829 UserInfo newUser = new UserTestingHelper.UserInfoBuilder(108) in expectServiceCreateUserSucceeds()