Home
last modified time | relevance | path

Searched refs:EXPONENTIAL (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DWorkTypeConverters.java19 import static androidx.work.BackoffPolicy.EXPONENTIAL;
66 int EXPONENTIAL = 0; field
156 case EXPONENTIAL: in backoffPolicyToInt()
157 return BackoffPolicyIds.EXPONENTIAL; in backoffPolicyToInt()
177 case BackoffPolicyIds.EXPONENTIAL: in intToBackoffPolicy()
178 return EXPONENTIAL; in intToBackoffPolicy()
DWorkSpec.java102 public BackoffPolicy backoffPolicy = BackoffPolicy.EXPONENTIAL;
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
DWorkTest.java72 BackoffPolicy.EXPONENTIAL, in testBuild_setBackoffCriteria_exceedMaxBackoffDuration()
84 BackoffPolicy.EXPONENTIAL, in testBuild_setBackoffCriteria_lessThanMinBackoffDuration()
98 mBuilder.setBackoffCriteria(BackoffPolicy.EXPONENTIAL, 123L, TimeUnit.MILLISECONDS) in testBuild_backoffAndIdleMode_throwsIllegalArgumentException()
DWorkSpecTest.java74 BackoffPolicy.EXPONENTIAL, in testCalculateNextRunTime_rerunAttempt_exponential()
82 BackoffPolicy.EXPONENTIAL, in testCalculateNextRunTime_rerunAttempt_exponential()
90 BackoffPolicy.EXPONENTIAL, in testCalculateNextRunTime_rerunAttempt_exponential()
166 BackoffPolicy.EXPONENTIAL, in testCalculateNextRunTime_rerunAttempt_exponential_upperBound()
DPeriodicWorkTest.java50 .setBackoffCriteria(BackoffPolicy.EXPONENTIAL, 20000, TimeUnit.MILLISECONDS) in testBuild_backoffAndIdleMode_throwsIllegalArgumentException()
DWorkDatabaseMigrationTest.java115 WorkTypeConverters.backoffPolicyToInt(BackoffPolicy.EXPONENTIAL)); in testMigrationVersion1To2()
/frameworks/support/work/workmanager/src/main/java/androidx/work/
DBackoffPolicy.java27 EXPONENTIAL, enumConstant
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java388 assertThat(workSpec1.backoffPolicy, is(BackoffPolicy.EXPONENTIAL)); in testEnqueue_insertWorkBackoffPolicy()