Home
last modified time | relevance | path

Searched refs:CancelWorkRunnable (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DCancelWorkRunnable.java45 public abstract class CancelWorkRunnable implements Runnable { class
91 return new CancelWorkRunnable() { in forId()
111 return new CancelWorkRunnable() {
142 return new CancelWorkRunnable() {
170 return new CancelWorkRunnable() {
DEnqueueRunnable.java229 CancelWorkRunnable.forName(name, workManagerImpl).run(); in enqueueWorkWithPrerequisites()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkManagerImpl.java42 import androidx.work.impl.utils.CancelWorkRunnable;
324 mTaskExecutor.executeOnBackgroundThread(CancelWorkRunnable.forId(id, this)); in cancelWorkById()
331 CancelWorkRunnable.forId(id, this).run(); in cancelWorkByIdSync()
337 CancelWorkRunnable.forTag(tag, this)); in cancelAllWorkByTag()
344 CancelWorkRunnable.forTag(tag, this).run(); in cancelAllWorkByTagSync()
350 CancelWorkRunnable.forName(uniqueWorkName, this)); in cancelUniqueWork()
357 CancelWorkRunnable.forName(uniqueWorkName, this).run(); in cancelUniqueWorkSync()
362 mTaskExecutor.executeOnBackgroundThread(CancelWorkRunnable.forAll(this)); in cancelAllWork()
369 CancelWorkRunnable.forAll(this).run(); in cancelAllWorkSync()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java85 import androidx.work.impl.utils.CancelWorkRunnable;
1312 CancelWorkRunnable.forAll(mWorkManagerImpl).run(); in testCancelAllWork_updatesLastCancelAllTime()
1337 CancelWorkRunnable.forAll(mWorkManagerImpl).run(); in testCancelAllWork_updatesLastCancelAllTimeLiveData()