Home
last modified time | relevance | path

Searched refs:workSpec1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobSchedulerTest.java114 WorkSpec workSpec1 = getWorkSpec(work1); in testSystemJobScheduler_schedulesTwiceOnApi23() local
119 mSystemJobScheduler.schedule(workSpec1, workSpec2); in testSystemJobScheduler_schedulesTwiceOnApi23()
122 .scheduleInternal(eq(workSpec1), anyInt()); in testSystemJobScheduler_schedulesTwiceOnApi23()
132 WorkSpec workSpec1 = getWorkSpec(work1); in testSystemJobScheduler_schedulesOnceAtOrAboveApi24() local
137 mSystemJobScheduler.schedule(workSpec1, workSpec2); in testSystemJobScheduler_schedulesOnceAtOrAboveApi24()
140 .scheduleInternal(eq(workSpec1), anyInt()); in testSystemJobScheduler_schedulesOnceAtOrAboveApi24()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java327 WorkSpec workSpec1 = mDatabase.workSpecDao().getWorkSpec(work1.getStringId()); in testEnqueue_insertWorkConstraints() local
346 constraints = workSpec1.constraints; in testEnqueue_insertWorkConstraints()
367 WorkSpec workSpec1 = mDatabase.workSpecDao().getWorkSpec(work1.getStringId()); in testEnqueue_insertWorkInitialDelay() local
370 assertThat(workSpec1.initialDelay, is(0L)); in testEnqueue_insertWorkInitialDelay()
383 WorkSpec workSpec1 = mDatabase.workSpecDao().getWorkSpec(work1.getStringId()); in testEnqueue_insertWorkBackoffPolicy() local
388 assertThat(workSpec1.backoffPolicy, is(BackoffPolicy.EXPONENTIAL)); in testEnqueue_insertWorkBackoffPolicy()
389 assertThat(workSpec1.backoffDelayDuration, in testEnqueue_insertWorkBackoffPolicy()