Searched refs:EXPONENTIAL (Results 1 – 8 of 8) sorted by relevance
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/ |
D | WorkTypeConverters.java | 19 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()
|
D | WorkSpec.java | 102 public BackoffPolicy backoffPolicy = BackoffPolicy.EXPONENTIAL;
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/ |
D | WorkTest.java | 72 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()
|
D | WorkSpecTest.java | 74 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()
|
D | PeriodicWorkTest.java | 50 .setBackoffCriteria(BackoffPolicy.EXPONENTIAL, 20000, TimeUnit.MILLISECONDS) in testBuild_backoffAndIdleMode_throwsIllegalArgumentException()
|
D | WorkDatabaseMigrationTest.java | 115 WorkTypeConverters.backoffPolicyToInt(BackoffPolicy.EXPONENTIAL)); in testMigrationVersion1To2()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/ |
D | BackoffPolicy.java | 27 EXPONENTIAL, enumConstant
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
D | WorkManagerImplTest.java | 388 assertThat(workSpec1.backoffPolicy, is(BackoffPolicy.EXPONENTIAL)); in testEnqueue_insertWorkBackoffPolicy()
|