Searched refs:MAX_BACKOFF_MILLIS (Results 1 – 5 of 5) sorted by relevance
152 WorkRequest.MAX_BACKOFF_MILLIS + 1, in testCalculateNextRunTime_rerunAttempt_linear_upperBound()158 is(DEFAULT_PERIOD_START_TIME + WorkRequest.MAX_BACKOFF_MILLIS)); in testCalculateNextRunTime_rerunAttempt_linear_upperBound()167 WorkRequest.MAX_BACKOFF_MILLIS + 1, in testCalculateNextRunTime_rerunAttempt_exponential_upperBound()173 is(DEFAULT_PERIOD_START_TIME + WorkRequest.MAX_BACKOFF_MILLIS)); in testCalculateNextRunTime_rerunAttempt_exponential_upperBound()
69 final long backoffDuration = WorkRequest.MAX_BACKOFF_MILLIS + 123L; in testBuild_setBackoffCriteria_exceedMaxBackoffDuration()76 assertThat(getWorkSpec(work).backoffDelayDuration, is(WorkRequest.MAX_BACKOFF_MILLIS)); in testBuild_setBackoffCriteria_exceedMaxBackoffDuration()
22 import static androidx.work.WorkRequest.MAX_BACKOFF_MILLIS;129 if (backoffDelayDuration > MAX_BACKOFF_MILLIS) { in setBackoffDelayDuration()131 backoffDelayDuration = MAX_BACKOFF_MILLIS; in setBackoffDelayDuration()222 return periodStartTime + Math.min(WorkRequest.MAX_BACKOFF_MILLIS, delay); in calculateNextRunTime()
45 public static final long MAX_BACKOFF_MILLIS = 5 * 60 * 60 * 1000; // 5 hours. field in WorkRequest
110 .convert(WorkRequest.MAX_BACKOFF_MILLIS, TimeUnit.MILLISECONDS); in createRetryStrategy()