Searched refs:curPermits (Results 1 – 1 of 1) sorted by relevance
217 int curPermits = mCurrentPermits.updateAndGet(cur -> Math.max(0, cur - 1)); in consumePermitLocked() local218 logd("Permit consumed to: " + curPermits); in consumePermitLocked()227 (float) curPermits / mConfig.getMaxPermits())); in consumePermitLocked()236 int curPermits = mCurrentPermits.updateAndGet( in handlePermitRefreshLocked() local238 logd("Permit refreshed to: " + curPermits); in handlePermitRefreshLocked()239 if (curPermits == mConfig.getMaxPermits()) { in handlePermitRefreshLocked()245 (float) curPermits / mConfig.getMaxPermits())); in handlePermitRefreshLocked()