code: public void setUserState(UserHandle handle, UserState state) {
      userState.put(handle.getIdentifier(), state);
    }
docs: Sets the current state for a given user, see {@link UserManager#isUserRunning(UserHandle)}
  and {@link UserManager#isUserRunningOrStopping(UserHandle)}