/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/controllers/ |
D | ConstraintControllerTest.java | 89 List<WorkSpec> workSpecs = Collections.singletonList(workSpecNoConstraints); in testReplace_workSpecNoConstraints() local 90 mTestIdleController.replace(workSpecs); in testReplace_workSpecNoConstraints() 100 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint); in testReplace_workSpecWithConstraint_constrained() local 103 mTestIdleController.replace(workSpecs); in testReplace_workSpecWithConstraint_constrained() 113 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint); in testReplace_workSpecWithConstraint_unconstrained() local 116 mTestIdleController.replace(workSpecs); in testReplace_workSpecWithConstraint_unconstrained() 126 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint); in testReplace_workSpecWithConstraint_constraintNotSet() local 128 mTestIdleController.replace(workSpecs); in testReplace_workSpecWithConstraint_constraintNotSet() 143 List<WorkSpec> workSpecs = Collections.singletonList(workSpecWithConstraint); in testReset_withMatchingWorkSpecs() local 144 mTestIdleController.replace(workSpecs); in testReset_withMatchingWorkSpecs() [all …]
|
/frameworks/support/work/workmanager-test/src/main/java/androidx/work/test/ |
D | TestScheduler.java | 58 public void schedule(WorkSpec... workSpecs) { in schedule() argument 59 if (workSpecs == null || workSpecs.length <= 0) { in schedule() 64 for (WorkSpec workSpec : workSpecs) { in schedule() 68 scheduleInternal(Arrays.asList(workSpecs), true); in schedule() 105 Collection<WorkSpec> workSpecs, in scheduleInternal() argument 108 for (WorkSpec workSpec : workSpecs) { in scheduleInternal()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | Schedulers.java | 79 List<WorkSpec> workSpecs) { in scheduleInternal() argument 81 if (workSpecs == null || schedulers == null) { in scheduleInternal() 92 for (WorkSpec workSpec : workSpecs) { in scheduleInternal() 99 WorkSpec[] eligibleWorkSpecsArray = workSpecs.toArray(new WorkSpec[0]); in scheduleInternal()
|
D | Scheduler.java | 44 void schedule(WorkSpec... workSpecs); in schedule() argument
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmScheduler.java | 45 public void schedule(WorkSpec... workSpecs) { in schedule() argument 46 for (WorkSpec workSpec : workSpecs) { in schedule()
|
D | ConstraintProxy.java | 70 static void updateAll(Context context, List<WorkSpec> workSpecs) { in updateAll() argument 76 for (WorkSpec workSpec : workSpecs) { in updateAll()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/controllers/ |
D | ConstraintController.java | 76 public void replace(@NonNull List<WorkSpec> workSpecs) { in replace() argument 79 for (WorkSpec workSpec : workSpecs) { in replace()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/ |
D | WorkConstraintsTracker.java | 84 public void replace(@NonNull List<WorkSpec> workSpecs) { in replace() argument 86 controller.replace(workSpecs); in replace()
|
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/ |
D | FirebaseJobScheduler.java | 67 public void schedule(WorkSpec... workSpecs) { in schedule() argument 68 for (WorkSpec workSpec : workSpecs) { in schedule()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/greedy/ |
D | GreedyScheduler.java | 67 public synchronized void schedule(WorkSpec... workSpecs) { in schedule() argument 70 for (WorkSpec workSpec : workSpecs) { in schedule()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/ |
D | SystemJobScheduler.java | 74 public void schedule(WorkSpec... workSpecs) { in schedule() argument 77 for (WorkSpec workSpec : workSpecs) { in schedule()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
D | WorkContinuationImplTest.java | 522 List<WorkSpec> workSpecs = captor.getAllValues(); in verifyScheduled() local 523 assertThat(workSpecs, notNullValue()); in verifyScheduled() 533 for (WorkSpec workSpec : workSpecs) { in verifyScheduled()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcherTest.java | 432 List<WorkSpec> workSpecs = captor.getAllValues(); in testReschedule() local 433 for (WorkSpec workSpec : workSpecs) { in testReschedule()
|