Home
last modified time | relevance | path

Searched refs:MAX_USER_NAME_LENGTH (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DEditUserInfoControllerTest.java58 private static final int MAX_USER_NAME_LENGTH = 100; field in EditUserInfoControllerTest
133 assertThat(userNameEditText.getText().length()).isEqualTo(MAX_USER_NAME_LENGTH); in userNameView_inputLongName_shouldBeConstrained()
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java119 } else if (!(isUserPropertyWithinLimit(mUserName, UserManager.MAX_USER_NAME_LENGTH) in checkUserCreationRequirements()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java574 assertThat(user.name.length()).isEqualTo(UserManager.MAX_USER_NAME_LENGTH); in testCreateUserWithLongName_TruncatesName()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1786 == UserManager.MAX_USER_NAME_LENGTH); in testAddUserAccountData_invalidStringValuesAreTruncated_invalidBundleIsDropped()
/frameworks/base/core/java/android/os/
DUserManager.java114 public static final int MAX_USER_NAME_LENGTH = 100; field in UserManager
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java4874 serializer.text(truncateString(userInfo.name, UserManager.MAX_USER_NAME_LENGTH));
5409 String truncatedName = truncateString(name, UserManager.MAX_USER_NAME_LENGTH);