Home
last modified time | relevance | path

Searched defs:newUser (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DAddNewProfileTaskTest.java69 UserInfo newUser = new UserInfo(10, newUserName, /* flags= */ 0); in testTaskCallsCreateNewUser() local
82 UserInfo newUser = new UserInfo(10, newUserName, /* flags= */ 0); in testSwitchToNewUserIfUserCreated() local
95 UserInfo newUser = new UserInfo(10, newUserName, /* flags= */ 0); in testOnUserAddedSuccessCalledIfUserCreated() local
DProfileHelperTest.java409 private void assertUserRemoved(int expectedResult, UserInfo newUser, UserInfo removedUser) { in assertUserRemoved()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserManagerUnitTest.java304 UserInfo newUser = result.getUser(); in testCreateUser_withType_success() local
355 UserInfo newUser = result.getUser(); in testCreateUser_success() local
391 UserInfo newUser = result.getUser(); in testCreateGuest_success() local
624 UserInfo newUser = new UserTestingHelper.UserInfoBuilder(108) in expectServiceCreateUserSucceeds() local
DInitialUserSetterTest.java373 UserInfo newUser = expectCreateFullUser(USER_ID, "TheDude", NO_FLAGS); in testCreateUser_ok_noflags() local
389 UserInfo newUser = expectCreateFullUser(USER_ID, "TheDude", UserInfo.FLAG_ADMIN); in testCreateUser_ok_admin() local
405 UserInfo newUser = expectCreateFullUser(USER_ID, "TheDude", UserInfo.FLAG_ADMIN); in testCreateUser_ok_admin_setLocale() local
567 UserInfo newUser = expectCreateFullUser(USER_ID, OWNER_NAME, UserInfo.FLAG_ADMIN); in testDefaultBehavior_firstBoot_ok() local
581 UserInfo newUser = expectCreateFullUser(USER_ID, OWNER_NAME, UserInfo.FLAG_ADMIN); in testDefaultBehavior_firstBoot_ok_setLocale() local
DUserPreCreatorTest.java199 UserInfo newUser = isGuest ? newGuestUser(PRE_CREATED_GUEST_ID) : in mockPreCreateUser() local
DCarUserServiceTest.java1601 UserInfo newUser = mockUmCreateUser(mMockedUserManager, "dude", "TypeONegative", 108, 42); in testCreateUser_internalHalFailure() local
1618 UserInfo newUser = mockUmCreateUser(mMockedUserManager, "dude", "TypeONegative", 108, 42); in testCreateUser_halFailure() local
1636 UserInfo newUser = mockUmCreateUser(mMockedUserManager, "dude", "TypeONegative", 108, 42); in testCreateUser_halServiceThrowsRuntimeException() local
1694 UserInfo newUser = result.getUser(); in testCreateUser_success() local
1731 UserInfo newUser = result.getUser(); in testCreateUser_success_nullName() local
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUserManagerTest.java69 UserInfo newUser = createUser("DaNewUserInTheBlock"); in testCreateUser() local
/packages/services/Car/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java42 public static UserInfo newUser(@UserIdInt int userId) { in newUser() method in UserTestingHelper
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java238 public static void prepareArgs(@NonNull Bundle bundle, int userId, boolean newUser) { in prepareArgs()
243 public static AppRestrictionsFragment newInstance(int userId, boolean newUser) { in newInstance()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java526 private void openUserDetails(UserInfo userInfo, boolean newUser) { in openUserDetails()
/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java359 UserInfo newUser = replaceGuestIfNeeded(currentUser); in replaceUser() local
DCarUserService.java1382 UserInfo newUser; in handleCreateUser() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java476 UserInfo newUser = actualResponse.userToSwitchOrCreate; in testGetUserInfo_successCreateUser() local