Home
last modified time | relevance | path

Searched refs:shouldCancelPersistedJobs (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/utils/
DForceStopRunnableTest.java79 when(runnable.shouldCancelPersistedJobs()).thenReturn(false); in testReschedulesOnForceStop()
88 when(runnable.shouldCancelPersistedJobs()).thenReturn(false); in test_doNothingWhenNotForceStopped()
98 when(runnable.shouldCancelPersistedJobs()).thenReturn(true); in test_cancelAllJobSchedulerJobs()
108 when(runnable.shouldCancelPersistedJobs()).thenReturn(false); in test_doNothingWhenThereIsNothingToCancel()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DForceStopRunnable.java70 if (shouldCancelPersistedJobs()) { in run()
104 public boolean shouldCancelPersistedJobs() { in shouldCancelPersistedJobs() method in ForceStopRunnable