Searched refs:userName (Results 1 – 7 of 7) sorted by relevance
35 boolean isUserPresented(String userName); in isUserPresented() argument44 void removeUser(String userName); in removeUser() argument
33 void addUserQuickSettings(String userName); in addUserQuickSettings() argument54 boolean isUserPresent(String userName); in isUserPresent() argument
41 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteAdminUser66 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()
41 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteNonAdminUser66 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testRemoveUser()70 mUsersHelper.get().deleteUser(userName); in testRemoveUser()72 assertFalse(mUsersHelper.get().isUserPresent(userName)); in testRemoveUser()
44 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in DeleteCurrentNonAdminUser70 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testRemoveUserSelf()
44 private static final String userName = MultiUserConstants.SECONDARY_USER_NAME; field in SwitchToGuestFromNonAdmin71 mTargetUserId = mMultiUserHelper.createUser(userName, false); in testSwitchToGuest()
60 public int createSecondaryUser(String userName) { in createSecondaryUser() argument62 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()