Home
last modified time | relevance | path

Searched refs:userName (Results 1 – 7 of 7) 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
54 boolean isUserPresent(String userName); in isUserPresent() argument
/platform_testing/tests/automotive/functional/multiuser/src/android/platform/tests/
DDeleteAdminUser.java41 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteAdminUser
66 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testRemoveUser()
70 mUsersHelper.get().makeUserAdmin(userName); in testRemoveUser()
72 mUsersHelper.get().deleteUser(userName); in testRemoveUser()
74 assertFalse(mUsersHelper.get().isUserPresent(userName)); in testRemoveUser()
DDeleteNonAdminUser.java41 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteNonAdminUser
66 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testRemoveUser()
70 mUsersHelper.get().deleteUser(userName); in testRemoveUser()
72 assertFalse(mUsersHelper.get().isUserPresent(userName)); in testRemoveUser()
DDeleteCurrentNonAdminUser.java44 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteCurrentNonAdminUser
70 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testRemoveUserSelf()
DSwitchToGuestFromNonAdmin.java44 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in SwitchToGuestFromNonAdmin
71 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()