Home
last modified time | relevance | path

Searched refs:WorkSpecDao (Results 1 – 18 of 18) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DCancelWorkRunnable.java34 import androidx.work.impl.model.WorkSpecDao;
67 WorkSpecDao workSpecDao = workDatabase.workSpecDao(); in recursivelyCancelWorkAndDependents()
118 WorkSpecDao workSpecDao = workDatabase.workSpecDao();
149 WorkSpecDao workSpecDao = workDatabase.workSpecDao();
176 WorkSpecDao workSpecDao = workDatabase.workSpecDao();
DPruneWorkRunnable.java23 import androidx.work.impl.model.WorkSpecDao;
44 WorkSpecDao workSpecDao = workDatabase.workSpecDao(); in run()
DStopWorkRunnable.java25 import androidx.work.impl.model.WorkSpecDao;
48 WorkSpecDao workSpecDao = workDatabase.workSpecDao(); in run()
DEnqueueRunnable.java49 import androidx.work.impl.model.WorkSpecDao;
231 WorkSpecDao workSpecDao = workDatabase.workSpecDao(); in enqueueWorkWithPrerequisites()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
DWorkSpecDaoTest.java34 import androidx.work.impl.model.WorkSpecDao;
71 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testEligibleWorkSpecsForScheduling()
85 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testScheduledWorkSpecCount()
116 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testAlreadyScheduledWorkIsNotRescheduled()
147 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testResetScheduledState()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java82 import androidx.work.impl.model.WorkSpecDao;
193 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testEnqueue_insertMultipleWork()
210 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testEnqueue_insertMultipleWork_continuationBlocking()
230 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testEnqueue_insertWithDependencies()
262 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testEnqueue_insertWithCompletedDependencies_isNotStatusBlocked()
279 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testEnqueue_insertWithFailedDependencies_isStatusFailed()
296 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testEnqueue_insertWithCancelledDependencies_isStatusCancelled()
527 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testBeginUniqueWork_deletesOldWorkOnReplace()
561 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()
591 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testBeginUniqueWork_keepsExistingWorkOnKeep()
[all …]
DWorkContinuationImplTest.java50 import androidx.work.impl.model.WorkSpecDao;
278 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testContinuation_joinPassesAllOutput()
DWorkerWrapperTest.java56 import androidx.work.impl.model.WorkSpecDao;
83 private WorkSpecDao mWorkSpecDao;
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DSchedulers.java34 import androidx.work.impl.model.WorkSpecDao;
69 WorkSpecDao workSpecDao = workDatabase.workSpecDao(); in schedule()
86 WorkSpecDao workSpecDao = workDatabase.workSpecDao(); in scheduleInternal()
DWorkManagerImpl.java41 import androidx.work.impl.model.WorkSpecDao;
396 WorkSpecDao dao = mWorkDatabase.workSpecDao(); in getStatusById()
427 WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();
436 WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();
443 WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();
452 WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();
463 WorkSpecDao dao = mWorkDatabase.workSpecDao();
DWorkDatabase.java40 import androidx.work.impl.model.WorkSpecDao;
136 public abstract WorkSpecDao workSpecDao();
DWorkerWrapper.java40 import androidx.work.impl.model.WorkSpecDao;
69 private WorkSpecDao mWorkSpecDao;
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/utils/
DForceStopRunnableTest.java37 import androidx.work.impl.model.WorkSpecDao;
50 private WorkSpecDao mWorkSpecDao;
59 mWorkSpecDao = mock(WorkSpecDao.class); in setUp()
/frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/background/firebase/
DFirebaseJobServiceTest.java34 import androidx.work.impl.model.WorkSpecDao;
80 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testOnStopJob_ResetsWorkStatus()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobServiceTest.java52 import androidx.work.impl.model.WorkSpecDao;
140 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testOnStopJob_ResetsWorkStatus()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DCommandHandler.java32 import androidx.work.impl.model.WorkSpecDao;
199 WorkSpecDao workSpecDao = workDatabase.workSpecDao(); in handleScheduleWorkIntent()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DWorkSpecDao.java39 public interface WorkSpecDao { interface
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/
DSystemAlarmDispatcherTest.java51 import androidx.work.impl.model.WorkSpecDao;
339 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testDelayMet_withUnMetConstraint()
373 WorkSpecDao workSpecDao = mDatabase.workSpecDao(); in testDelayMet_withMetConstraint()