Searched refs:maxNumSyncJobIds (Results 1 – 1 of 1) sorted by relevance
278 final int maxNumSyncJobIds = MAX_SYNC_JOB_ID - MIN_SYNC_JOB_ID; in getUnusedJobIdH() local280 for (int i = 0; i < maxNumSyncJobIds; ++i) { in getUnusedJobIdH()281 int newJobId = MIN_SYNC_JOB_ID + ((mNextJobIdOffset + i) % maxNumSyncJobIds); in getUnusedJobIdH()283 mNextJobIdOffset = (mNextJobIdOffset + i + 1) % maxNumSyncJobIds; in getUnusedJobIdH()288 Slog.wtf(TAG, "All " + maxNumSyncJobIds + " possible sync job IDs are taken :/"); in getUnusedJobIdH()289 mNextJobIdOffset = (mNextJobIdOffset + 1) % maxNumSyncJobIds; in getUnusedJobIdH()