Searched refs:workSpec1 (Results 1 – 2 of 2) sorted by relevance
114 WorkSpec workSpec1 = getWorkSpec(work1); in testSystemJobScheduler_schedulesTwiceOnApi23() local119 mSystemJobScheduler.schedule(workSpec1, workSpec2); in testSystemJobScheduler_schedulesTwiceOnApi23()122 .scheduleInternal(eq(workSpec1), anyInt()); in testSystemJobScheduler_schedulesTwiceOnApi23()132 WorkSpec workSpec1 = getWorkSpec(work1); in testSystemJobScheduler_schedulesOnceAtOrAboveApi24() local137 mSystemJobScheduler.schedule(workSpec1, workSpec2); in testSystemJobScheduler_schedulesOnceAtOrAboveApi24()140 .scheduleInternal(eq(workSpec1), anyInt()); in testSystemJobScheduler_schedulesOnceAtOrAboveApi24()
327 WorkSpec workSpec1 = mDatabase.workSpecDao().getWorkSpec(work1.getStringId()); in testEnqueue_insertWorkConstraints() local346 constraints = workSpec1.constraints; in testEnqueue_insertWorkConstraints()367 WorkSpec workSpec1 = mDatabase.workSpecDao().getWorkSpec(work1.getStringId()); in testEnqueue_insertWorkInitialDelay() local370 assertThat(workSpec1.initialDelay, is(0L)); in testEnqueue_insertWorkInitialDelay()383 WorkSpec workSpec1 = mDatabase.workSpecDao().getWorkSpec(work1.getStringId()); in testEnqueue_insertWorkBackoffPolicy() local388 assertThat(workSpec1.backoffPolicy, is(BackoffPolicy.EXPONENTIAL)); in testEnqueue_insertWorkBackoffPolicy()389 assertThat(workSpec1.backoffDelayDuration, in testEnqueue_insertWorkBackoffPolicy()