/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
D | CancelWorkRunnable.java | 48 recursivelyCancelWorkAndDependents(workManagerImpl.getWorkDatabase(), workSpecId); in cancel() 61 workManagerImpl.getWorkDatabase(), in reschedulePendingWorkers() 115 WorkDatabase workDatabase = workManagerImpl.getWorkDatabase(); 146 WorkDatabase workDatabase = workManagerImpl.getWorkDatabase(); 173 WorkDatabase workDatabase = workManagerImpl.getWorkDatabase();
|
D | EnqueueRunnable.java | 92 WorkDatabase workDatabase = workManagerImpl.getWorkDatabase(); in addToDatabase() 111 workManager.getWorkDatabase(), in scheduleWorkInBackground() 161 WorkDatabase workDatabase = workManagerImpl.getWorkDatabase(); in enqueueWorkWithPrerequisites()
|
D | PruneWorkRunnable.java | 43 WorkDatabase workDatabase = mWorkManagerImpl.getWorkDatabase(); in run()
|
D | StopWorkRunnable.java | 47 WorkDatabase workDatabase = mWorkManagerImpl.getWorkDatabase(); in run()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/workers/ |
D | ConstraintTrackingWorker.java | 85 WorkDatabase workDatabase = getWorkDatabase(); in doWork() 137 public WorkDatabase getWorkDatabase() { in getWorkDatabase() method in ConstraintTrackingWorker 138 return WorkManagerImpl.getInstance().getWorkDatabase(); in getWorkDatabase()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/ |
D | SystemJobScheduler.java | 75 WorkDatabase workDatabase = mWorkManager.getWorkDatabase(); in schedule() 90 mWorkManager.getWorkDatabase() in schedule() 141 mWorkManager.getWorkDatabase() in cancel()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/workers/ |
D | ConstraintTrackingWorkerTest.java | 98 when(mWorkManagerImpl.getWorkDatabase()).thenReturn(mDatabase); in setUp() 154 when(spyWorker.getWorkDatabase()).thenReturn(mDatabase); in testConstraintTrackingWorker_onConstraintsMet() 200 when(spyWorker.getWorkDatabase()).thenReturn(mDatabase); in testConstraintTrackingWorker_onConstraintsNotMet() 245 when(spyWorker.getWorkDatabase()).thenReturn(mDatabase); in testConstraintTrackingWorker_onConstraintsChanged() 297 when(spyWorker.getWorkDatabase()).thenReturn(mDatabase); in testConstraintTrackingWorker_onConstraintsChangedTwice()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | Alarms.java | 60 WorkDatabase workDatabase = workManager.getWorkDatabase(); in setAlarm() 87 WorkDatabase workDatabase = workManager.getWorkDatabase(); in cancelAlarm()
|
D | ConstraintsCommandHandler.java | 68 List<WorkSpec> candidates = mDispatcher.getWorkManager().getWorkDatabase() in handleConstraintsChanged()
|
D | DelayMetCommandHandler.java | 142 .getWorkDatabase() in handleProcessWork()
|
D | CommandHandler.java | 198 WorkDatabase workDatabase = workManager.getWorkDatabase(); in handleScheduleWorkIntent()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/worker/ |
D | CheckLimitsWorker.java | 44 List<WorkSpec> eligibleWorkSpecs = workManager.getWorkDatabase() in doWork()
|
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/ |
D | FirebaseDelayedJobAlarmReceiver.java | 46 final WorkDatabase database = workManagerImpl.getWorkDatabase(); in onReceive()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | WorkManagerImpl.java | 194 public WorkDatabase getWorkDatabase() { in getWorkDatabase() method in WorkManagerImpl 514 getWorkDatabase().workSpecDao().resetScheduledState(); 519 Schedulers.schedule(getConfiguration(), getWorkDatabase(), getSchedulers());
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/ |
D | AlarmsTest.java | 57 when(mWorkManager.getWorkDatabase()).thenReturn(mDatabase); in setUp()
|
D | SystemAlarmDispatcherTest.java | 114 when(mWorkManager.getWorkDatabase()).thenReturn(mDatabase); in setUp()
|
/frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/background/firebase/ |
D | FirebaseJobServiceTest.java | 57 mDatabase = WorkManagerImpl.getInstance().getWorkDatabase(); in setUp()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/utils/ |
D | ForceStopRunnableTest.java | 61 when(mWorkManager.getWorkDatabase()).thenReturn(mWorkDatabase); in setUp()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/ |
D | SystemJobSchedulerTest.java | 83 when(mWorkManager.getWorkDatabase()).thenReturn(workDatabase); in setUp()
|
D | SystemJobServiceTest.java | 105 mDatabase = mWorkManagerImpl.getWorkDatabase(); in setUp()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
D | WorkContinuationImplTest.java | 114 mDatabase = mWorkManagerImpl.getWorkDatabase(); in setUp() 525 WorkDatabase workDatabase = continuation.getWorkManagerImpl().getWorkDatabase(); in verifyScheduled()
|
D | WorkManagerImplTest.java | 140 mDatabase = mWorkManagerImpl.getWorkDatabase(); in setUp()
|