Home
last modified time | relevance | path

Searched refs:stopWork (Results 1 – 12 of 12) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DDelayMetCommandHandler.java125 stopWork(); in onTimeLimitExceeded()
130 stopWork(); in onAllConstraintsNotMet()
159 private void stopWork() { in stopWork() method in DelayMetCommandHandler
169 Intent stopWork = CommandHandler.createStopWorkIntent(mContext, mWorkSpecId); in stopWork() local
171 new SystemAlarmDispatcher.AddRunnable(mDispatcher, stopWork, mStartId)); in stopWork()
DCommandHandler.java251 dispatcher.getWorkManager().stopWork(workSpecId); in handleStopWork()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/greedy/
DGreedyScheduler.java96 mWorkManagerImpl.stopWork(workSpecId); in cancel()
112 mWorkManagerImpl.stopWork(workSpecId); in onAllConstraintsNotMet()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/
DSystemAlarmDispatcherTest.java200 final Intent stopWork = CommandHandler.createStopWorkIntent(mContext, workSpecId); in testDelayMet_withStop() local
206 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, stopWork, START_ID)); in testDelayMet_withStop()
212 verify(mWorkManager, times(1)).stopWork(workSpecId); in testDelayMet_withStop()
225 final Intent stopWork = CommandHandler.createStopWorkIntent(mContext, workSpecId); in testDelayMet_withStopWhenCancelled() local
231 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, stopWork, START_ID)); in testDelayMet_withStopWhenCancelled()
237 verify(mWorkManager, times(1)).stopWork(workSpecId); in testDelayMet_withStopWhenCancelled()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DStopWorkRunnable.java54 boolean isStopped = mWorkManagerImpl.getProcessor().stopWork(mWorkSpecId); in run()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DProcessorTest.java61 assertThat(mProcessor.stopWork(id), is(false)); in testStopWork_invalidWorkId()
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/
DFirebaseJobService.java86 mWorkManagerImpl.stopWork(workSpecId); in onStopJob()
/frameworks/support/work/workmanager-test/src/main/java/androidx/work/test/
DTestScheduler.java74 WorkManagerImpl.getInstance().stopWork(workSpecId); in cancel()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/greedy/
DGreedySchedulerTest.java103 verify(mWorkManagerImpl).stopWork(TEST_ID); in testGreedyScheduler_stopsWorkWhenConstraintsNotMet()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobService.java123 mWorkManagerImpl.stopWork(workSpecId); in onStopJob()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DProcessor.java112 public synchronized boolean stopWork(String id) { in stopWork() method in Processor
DWorkManagerImpl.java501 public void stopWork(String workSpecId) {