Searched refs:setNewUserName (Results 1 – 3 of 3) sorted by relevance
154 assertThrows(IllegalArgumentException.class, () -> builder.setNewUserName(OWNER_NAME)); in testInitialUserInfoBuilder_invalidSetNewUserName()404 .setNewUserName("TheDude") in testCreateUser_ok_noflags()422 .setNewUserName("TheDude") in testCreateUser_ok_admin()440 .setNewUserName("TheDude") in testCreateUser_ok_admin_setLocale()460 .setNewUserName("TheDude") in testCreateUser_ok_ephemeralGuest()474 .setNewUserName("TheDude") in testCreateUser_fail_systemUser()487 .setNewUserName("TheDude") in testCreateUser_fail_guestAdmin()499 .setNewUserName("TheDude") in testCreateUser_fail_ephemeralAdmin()511 .setNewUserName("TheDude") in testCreateUser_fail_createFail()524 .setNewUserName("TheDude") in testCreateUser_fail_createThrowsException()[all …]
231 public Builder setNewUserName(@Nullable String name) { in setNewUserName() method in InitialUserSetter.Builder435 .setNewUserName(mNewUserName) in executeDefaultBehavior()577 .setNewUserName(mNewGuestName) in replaceGuestIfNeeded()
800 .setNewUserName(userName) in initBootUser()