Home
last modified time | relevance | path

Searched refs:workSpecs (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/controllers/
DConstraintControllerTest.java89 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/
DTestScheduler.java58 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/
DSchedulers.java79 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()
DScheduler.java44 void schedule(WorkSpec... workSpecs); in schedule() argument
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DSystemAlarmScheduler.java45 public void schedule(WorkSpec... workSpecs) { in schedule() argument
46 for (WorkSpec workSpec : workSpecs) { in schedule()
DConstraintProxy.java70 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/
DConstraintController.java76 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/
DWorkConstraintsTracker.java84 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/
DFirebaseJobScheduler.java67 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/
DGreedyScheduler.java67 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/
DSystemJobScheduler.java74 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/
DWorkContinuationImplTest.java522 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/
DSystemAlarmDispatcherTest.java432 List<WorkSpec> workSpecs = captor.getAllValues(); in testReschedule() local
433 for (WorkSpec workSpec : workSpecs) { in testReschedule()