Searched refs:backoffPolicy (Results 1 – 10 of 10) sorted by relevance
43 @Nullable BackoffPolicy backoffPolicy, in JobSpec() argument47 mBackoffPolicy = backoffPolicy == null ? BackoffPolicy.DEFAULT : backoffPolicy; in JobSpec()
60 BackoffPolicy backoffPolicy = in testSetters() local70 .setBackoffPolicy(backoffPolicy) in testSetters()76 expect.that(jobSpec.getBackoffPolicy()).isEqualTo(backoffPolicy); in testSetters()
58 BackoffPolicy backoffPolicy = new BackoffPolicy.Builder().build(); in testGetBackoffPolicy() local60 assertThat(sJobWorker.getBackoffPolicy()).isEqualTo(backoffPolicy); in testGetBackoffPolicy()
113 BackoffPolicy backoffPolicy = in createDefaultJobSpec() local116 return new JobSpec.Builder(jobPolicy).setBackoffPolicy(backoffPolicy).build(); in createDefaultJobSpec()
129 BackoffPolicy backoffPolicy = in createDefaultJobSpec() local132 return new JobSpec.Builder(jobPolicy).setBackoffPolicy(backoffPolicy).build(); in createDefaultJobSpec()
125 BackoffPolicy backoffPolicy = in createDefaultJobSpec() local128 return new JobSpec.Builder(jobPolicy).setBackoffPolicy(backoffPolicy).build(); in createDefaultJobSpec()
154 BackoffPolicy backoffPolicy = in testCreateDefaultJobSpec() local161 .setBackoffPolicy(backoffPolicy) in testCreateDefaultJobSpec()
244 BackoffPolicy backoffPolicy) { in onJobPostExecution() argument261 return backoffPolicy.shouldRetryOnExecutionFailure() in onJobPostExecution()
195 BackoffPolicy backoffPolicy = in testCreateDefaultJobSpec() local202 .setBackoffPolicy(backoffPolicy) in testCreateDefaultJobSpec()
230 BackoffPolicy backoffPolicy = in testCreateDefaultJobSpec() local237 .setBackoffPolicy(backoffPolicy) in testCreateDefaultJobSpec()