Searched refs:ForceStopRunnable (Results 1 – 3 of 3) sorted by relevance
52 private ForceStopRunnable mRunnable;64 mRunnable = new ForceStopRunnable(mContext, mWorkManager); in setUp()72 is(ForceStopRunnable.BroadcastReceiver.class.getName())); in testIntent()73 assertThat(intent.getAction(), is(ForceStopRunnable.ACTION_FORCE_STOP_RESCHEDULE)); in testIntent()78 ForceStopRunnable runnable = spy(mRunnable); in testReschedulesOnForceStop()87 ForceStopRunnable runnable = spy(mRunnable); in test_doNothingWhenNotForceStopped()96 ForceStopRunnable runnable = spy(mRunnable); in test_cancelAllJobSchedulerJobs()106 ForceStopRunnable runnable = spy(mRunnable); in test_doNothingWhenThereIsNothingToCancel()
49 public class ForceStopRunnable implements Runnable { class63 public ForceStopRunnable(@NonNull Context context, @NonNull WorkManagerImpl workManager) { in ForceStopRunnable() method in ForceStopRunnable126 intent.setComponent(new ComponentName(mContext, ForceStopRunnable.BroadcastReceiver.class)); in getIntent()171 ForceStopRunnable runnable = new ForceStopRunnable(context, workManager); in onReceive()172 runnable.setAlarm(ForceStopRunnable.ALARM_ID); in onReceive()
43 import androidx.work.impl.utils.ForceStopRunnable;177 mTaskExecutor.executeOnBackgroundThread(new ForceStopRunnable(context, this)); in WorkManagerImpl()