Searched refs:startWork (Results 1 – 11 of 11) sorted by relevance
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
D | ProcessorTest.java | 70 assertThat(mProcessor.startWork(id), is(true)); in testStartWork_doesNotStartWorkTwice() 71 assertThat(mProcessor.startWork(id), is(false)); in testStartWork_doesNotStartWorkTwice() 81 mProcessor.startWork(work.getStringId()); in testHasWork()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | Processor.java | 75 public synchronized boolean startWork(String id) { in startWork() method in Processor 76 return startWork(id, null); in startWork() 86 public synchronized boolean startWork(String id, Extras.RuntimeExtras runtimeExtras) { in startWork() method in Processor
|
D | WorkManagerImpl.java | 481 public void startWork(String workSpecId) { 482 startWork(workSpecId, null); 491 public void startWork(String workSpecId, Extras.RuntimeExtras runtimeExtras) {
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/greedy/ |
D | GreedySchedulerTest.java | 69 verify(mWorkManagerImpl).startWork(workSpec.id); in testGreedyScheduler_startsUnconstrainedWork() 96 verify(mWorkManagerImpl).startWork(TEST_ID); in testGreedyScheduler_startsWorkWhenConstraintsMet()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/greedy/ |
D | GreedyScheduler.java | 83 mWorkManagerImpl.startWork(workSpec.id); in schedule() 104 mWorkManagerImpl.startWork(workSpecId); in onAllConstraintsMet()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
D | StartWorkRunnable.java | 49 mWorkManagerImpl.getProcessor().startWork(mWorkSpecId, mRuntimeExtras); in run()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcherTest.java | 185 verify(mSpyProcessor, times(1)).startWork(workSpecId); in testDelayMet_success() 211 verify(mSpyProcessor, times(1)).startWork(workSpecId); in testDelayMet_withStop() 236 verify(mSpyProcessor, times(1)).startWork(workSpecId); in testDelayMet_withStopWhenCancelled() 263 verify(mSpyProcessor, times(0)).startWork(workSpecId); in testSchedule_withConstraints() 298 verify(mSpyProcessor, times(0)).startWork(workSpecId); in testConstraintsChangedMarkedNotScheduled_withNoConstraints()
|
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/ |
D | FirebaseJobService.java | 69 mWorkManagerImpl.startWork(workSpecId); in onStartJob()
|
/frameworks/support/work/workmanager-test/src/main/java/androidx/work/test/ |
D | TestScheduler.java | 123 .startWork(workSpec.id); in scheduleInternal()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/ |
D | SystemJobService.java | 106 mWorkManagerImpl.startWork(workSpecId, runtimeExtras); in onStartJob()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | DelayMetCommandHandler.java | 87 boolean isEnqueued = mDispatcher.getProcessor().startWork(mWorkSpecId); in onAllConstraintsMet()
|