Searched refs:stopWork (Results 1 – 12 of 12) sorted by relevance
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | DelayMetCommandHandler.java | 125 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()
|
D | CommandHandler.java | 251 dispatcher.getWorkManager().stopWork(workSpecId); in handleStopWork()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/greedy/ |
D | GreedyScheduler.java | 96 mWorkManagerImpl.stopWork(workSpecId); in cancel() 112 mWorkManagerImpl.stopWork(workSpecId); in onAllConstraintsNotMet()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcherTest.java | 200 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/ |
D | StopWorkRunnable.java | 54 boolean isStopped = mWorkManagerImpl.getProcessor().stopWork(mWorkSpecId); in run()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
D | ProcessorTest.java | 61 assertThat(mProcessor.stopWork(id), is(false)); in testStopWork_invalidWorkId()
|
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/ |
D | FirebaseJobService.java | 86 mWorkManagerImpl.stopWork(workSpecId); in onStopJob()
|
/frameworks/support/work/workmanager-test/src/main/java/androidx/work/test/ |
D | TestScheduler.java | 74 WorkManagerImpl.getInstance().stopWork(workSpecId); in cancel()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/greedy/ |
D | GreedySchedulerTest.java | 103 verify(mWorkManagerImpl).stopWork(TEST_ID); in testGreedyScheduler_stopsWorkWhenConstraintsNotMet()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/ |
D | SystemJobService.java | 123 mWorkManagerImpl.stopWork(workSpecId); in onStopJob()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | Processor.java | 112 public synchronized boolean stopWork(String id) { in stopWork() method in Processor
|
D | WorkManagerImpl.java | 501 public void stopWork(String workSpecId) {
|