Searched refs:setNewUserName (Results 1 – 3 of 3) sorted by relevance
142 assertThrows(IllegalArgumentException.class, () -> builder.setNewUserName(OWNER_NAME)); in testInitialUserInfoBuilder_invalidSetNewUserName()377 .setNewUserName("TheDude") in testCreateUser_ok_noflags()393 .setNewUserName("TheDude") in testCreateUser_ok_admin()409 .setNewUserName("TheDude") in testCreateUser_ok_admin_setLocale()428 .setNewUserName("TheDude") in testCreateUser_ok_ephemeralGuest()443 .setNewUserName("TheDude") in testCreateUser_fail_systemUser()457 .setNewUserName("TheDude") in testCreateUser_fail_guestAdmin()470 .setNewUserName("TheDude") in testCreateUser_fail_ephemeralAdmin()483 .setNewUserName("TheDude") in testCreateUser_fail_createFail()496 .setNewUserName("TheDude") in testCreateUser_fail_createThrowsException()[all …]
210 public Builder setNewUserName(@Nullable String name) { in setNewUserName() method in InitialUserSetter.Builder382 .setNewUserName(mNewUserName) in executeDefaultBehavior()523 .setNewUserName(mNewGuestName) in replaceGuestIfNeeded()
850 .setNewUserName(userName) in initBootUser()