Searched refs:nextId (Results 1 – 2 of 2) sorted by relevance
69 private int nextId = NOT_FETCHED; field in Parser450 int id = nextId (); in getNext()452 nextId = NOT_FETCHED; in getNext()462 id = nextId(); in getNext()464 nextId = NOT_FETCHED; in getNext()532 private int nextId() throws IOException { in nextId() method in Parser533 if (nextId == NOT_FETCHED) { in nextId()534 nextId = read(); in nextId()536 return nextId; in nextId()
52 final int nextId = prefs.getInt(PREF_KEY_LAST_USER_ID, 0) + 1; in newUniqueUserName() local53 prefs.edit().putInt(PREF_KEY_LAST_USER_ID, nextId).apply(); in newUniqueUserName()55 return "User-" + nextId; in newUniqueUserName()