Home
last modified time | relevance | path

Searched refs:userName (Results 1 – 9 of 9) sorted by relevance

/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoUsersSettingsHelper.java35 boolean isUserPresented(String userName); in isUserPresented() argument
44 void removeUser(String userName); in removeUser() argument
DIAutoUserHelper.java33 void addUserQuickSettings(String userName); in addUserQuickSettings() argument
60 boolean isUserPresent(String userName); in isUserPresent() argument
/platform_testing/tests/automotive/functional/multiuser/src/android/platform/tests/
DDeleteAdminUser.java46 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteAdminUser
67 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testRemoveUser()
71 mUsersHelper.get().makeUserAdmin(userName); in testRemoveUser()
73 mUsersHelper.get().deleteUser(userName); in testRemoveUser()
75 assertFalse(mUsersHelper.get().isUserPresent(userName)); in testRemoveUser()
DDeleteNonAdminUser.java46 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteNonAdminUser
67 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testRemoveUser()
71 mUsersHelper.get().deleteUser(userName); in testRemoveUser()
73 assertFalse(mUsersHelper.get().isUserPresent(userName)); in testRemoveUser()
DDeleteCurrentNonAdminUser.java43 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteCurrentNonAdminUser
64 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testRemoveUserSelf()
DSwitchToGuestFromNonAdmin.java47 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in SwitchToGuestFromNonAdmin
70 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testSwitchToGuest()
/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/
DUserHelper.java60 public int createSecondaryUser(String userName) { in createSecondaryUser() argument
62 String cmdOut = CommandsHelper.execute("pm create-user " + userName); in createSecondaryUser()
70 Log.i(TAG, String.format("User Name:%s User ID:%d", userName, userId)); in createSecondaryUser()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/features/quicksettings/
DUserSelection.java99 public void selectUserItem(String userName) { in selectUserItem() argument
101 Pattern.compile(userName, Pattern.CASE_INSENSITIVE)); in selectUserItem()
102 assertThat(search(null, userSelector, format("User[%s]", userName), in selectUserItem()
DEditCurrentUserDialog.java64 public void setUserNameText(String userName) { in setUserNameText() argument
70 inputTextField.setText(userName); in setUserNameText()