Searched refs:maxId (Results 1 – 7 of 7) sorted by relevance
72 long maxId = ContactsContract.Directory.LOCAL_INVISIBLE; in getDirectoryId() local75 if (id > maxId) { in getDirectoryId()76 maxId = id; in getDirectoryId()80 return maxId + 1; in getDirectoryId()
83 uint16_t maxId = mQueries.rbegin()->first; in getFreeId() local84 if (maxId < UINT16_MAX) { in getFreeId()85 return maxId + 1; in getFreeId()
32 public void setMaxId(long maxId) { in setMaxId() argument33 mMaxId.set(maxId); in setMaxId()
133 private ArrayList<Integer> queryExistingIds(Uri uri, int minId, int maxId) { in queryExistingIds() argument135 if (minId == Integer.MAX_VALUE || maxId == Integer.MIN_VALUE) return ids; in queryExistingIds()137 String[] selectionArgs = {String.valueOf(minId), String.valueOf(maxId)}; in queryExistingIds()
235 long maxId = 0; in start()252 if (maxId < r.getId()) { in start()253 maxId = r.getId(); in start()256 IdGenerator.SERIES_RECORDING.setMaxId(maxId); in start()274 long maxId = 0; in start()335 if (maxId < r.getId()) { in start()336 maxId = r.getId(); in start()345 IdGenerator.SCHEDULED_RECORDING.setMaxId(maxId); in start()
125 int maxId = 0; in importWorkspaceItems() local162 maxId = Math.max(maxId, id); in importWorkspaceItems()292 hotseatTargetApps, hotseatItems, insertOperations, maxId + 1, myHotseatCount); in importWorkspaceItems()
605 long maxId = Directory.LOCAL_INVISIBLE; in changeDirectories() local610 if (id > maxId) { in changeDirectories()611 maxId = id; in changeDirectories()621 mFirstExtendedDirectoryId = maxId + 1; in changeDirectories()