Searched refs:runAttemptCount (Results 1 – 5 of 5) sorted by relevance
98 public int runAttemptCount; field in WorkSpec146 return state == ENQUEUED && runAttemptCount > 0; in isBackedOff()220 long delay = isLinearBackoff ? (backoffDelayDuration * runAttemptCount) in calculateNextRunTime()221 : (long) Math.scalb(backoffDelayDuration, runAttemptCount - 1); in calculateNextRunTime()247 if (runAttemptCount != workSpec.runAttemptCount) return false; in equals()278 result = 31 * result + runAttemptCount; in hashCode()
48 int runAttemptCount) { in Extras() argument52 mRunAttemptCount = runAttemptCount; in Extras()
134 mWorkSpec.runAttemptCount); in run()
256 public B setInitialRunAttemptCount(int runAttemptCount) { in setInitialRunAttemptCount() argument257 mWorkSpec.runAttemptCount = runAttemptCount; in setInitialRunAttemptCount()
126 assertThat(latestWorkSpec.runAttemptCount, is(1)); in testRunAttemptCountIncremented_successfulExecution()140 assertThat(latestWorkSpec.runAttemptCount, is(1)); in testRunAttemptCountIncremented_failedExecution()515 assertThat(periodicWorkSpecAfterFirstRun.runAttemptCount, is(0)); in testPeriodicWork_success()537 assertThat(periodicWorkSpecAfterFirstRun.runAttemptCount, is(0)); in testPeriodicWork_fail()559 assertThat(periodicWorkSpecAfterFirstRun.runAttemptCount, is(1)); in testPeriodicWork_retry()