Searched refs:userToUpdate (Results 1 – 1 of 1) sorted by relevance
226 int userToUpdate = getSelectedUser(); in stopUser() local227 if (!canChangeUser(userToUpdate)) { in stopUser()231 if (!mUserManager.isUserRunning(userToUpdate)) { in stopUser()232 setMessage(WARN_MESSAGE, "User " + userToUpdate + " is already stopped"); in stopUser()236 Log.i(TAG, "stop user:" + userToUpdate); in stopUser()238 am.stopUserWithCallback(userToUpdate, /* callback= */ null); in stopUser()243 setMessage(INFO_MESSAGE, "Stopped user " + userToUpdate); in stopUser()248 int userToUpdate = getSelectedUser(); in startUser() local249 if (!canChangeUser(userToUpdate)) { in startUser()253 if (mUserManager.isUserRunning(userToUpdate)) { in startUser()[all …]