Searched refs:shouldCancelPersistedJobs (Results 1 – 2 of 2) sorted by relevance
79 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()
70 if (shouldCancelPersistedJobs()) { in run()104 public boolean shouldCancelPersistedJobs() { in shouldCancelPersistedJobs() method in ForceStopRunnable