Searched refs:UserInfoBuilder (Results 1 – 7 of 7) sorted by relevance
100 return new UserInfoBuilder(userId).build(); in newUser()109 return new UserInfoBuilder(userId).setName(userName).build(); in newUser()153 return new UserInfoBuilder(userId).setType(UserManager.USER_TYPE_FULL_SECONDARY).build(); in newSecondaryUser()161 return new UserInfoBuilder(userId).setGuest(true).setEphemeral(ephemeral).build(); in newGuestUser()169 return new UserInfoBuilder(userId).setGuest(true).build(); in newGuestUser()204 public static final class UserInfoBuilder { class in UserTestingHelper226 public UserInfoBuilder(@UserIdInt int userId) { in UserInfoBuilder() method in UserTestingHelper.UserInfoBuilder234 public UserInfoBuilder setName(@Nullable String name) { in setName()243 public UserInfoBuilder setType(@Nullable String type) { in setType()254 public UserInfoBuilder setGuest(boolean guest) { in setGuest()[all …]
18 import static android.car.test.util.UserTestingHelper.UserInfoBuilder;40 UserInfo user = new UserInfoBuilder(100).build(); in testSuccess()
32 import android.car.test.util.UserTestingHelper.UserInfoBuilder;102 UserInfo user = new UserInfoBuilder(100).build(); in testCreateUser_success()
76 UserTestingHelper.UserInfoBuilder userInfoBuilder = in testIsUserInfo()77 new UserTestingHelper.UserInfoBuilder(USER_ID); in testIsUserInfo()
225 UserInfo expectedUser = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in testMockUmGetSystemUser()
250 UserInfo user = new UserTestingHelper.UserInfoBuilder(userId).setFlags(flags).build(); in mockUmGetUserInfo()268 UserInfo user = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in mockUmGetSystemUser()
829 UserInfo newUser = new UserTestingHelper.UserInfoBuilder(108) in expectServiceCreateUserSucceeds()