Home
last modified time | relevance | path

Searched refs:beginWith (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/
DWorkManager.java167 public final WorkContinuation beginWith(@NonNull OneTimeWorkRequest...work) { in beginWith() method in WorkManager
168 return beginWith(Arrays.asList(work)); in beginWith()
179 public abstract WorkContinuation beginWith(@NonNull List<OneTimeWorkRequest> work); in beginWith() method in WorkManager
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/imageprocessing/
DImageProcessingActivity.java103 .beginWith(setupWork) in onActivityResult()
113 .beginWith(setupWork) in onActivityResult()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java158 mWorkManagerImpl.beginWith(workArray[0]).then(workArray[1]) in testEnqueue_insertWork()
206 mWorkManagerImpl.beginWith(work1, work2, work3) in testEnqueue_insertMultipleWork_continuationBlocking()
225 mWorkManagerImpl.beginWith(work1a, work1b).then(work2) in testEnqueue_insertWithDependencies()
260 WorkContinuation workContinuation = mWorkManagerImpl.beginWith(work1); in testEnqueue_insertWithCompletedDependencies_isNotStatusBlocked()
277 WorkContinuation workContinuation = mWorkManagerImpl.beginWith(work1); in testEnqueue_insertWithFailedDependencies_isStatusFailed()
294 WorkContinuation workContinuation = mWorkManagerImpl.beginWith(work1); in testEnqueue_insertWithCancelledDependencies_isStatusCancelled()
324 mWorkManagerImpl.beginWith(work0).then(work1).synchronous().enqueueSync(); in testEnqueue_insertWorkConstraints()
364 mWorkManagerImpl.beginWith(work0).then(work1).synchronous().enqueueSync(); in testEnqueue_insertWorkInitialDelay()
380 mWorkManagerImpl.beginWith(work0).then(work1).synchronous().enqueueSync(); in testEnqueue_insertWorkBackoffPolicy()
408 mWorkManagerImpl.beginWith(work0).then(work1).then(work2).synchronous().enqueueSync(); in testEnqueue_insertWorkTags()
[all …]
DWorkManagerImplLargeExecutorTest.java146 WorkContinuation continuation = mWorkManagerImpl.beginWith(workRequests); in testSchedulerLimits()
DWorkContinuationImplTest.java493 WorkContinuation firstChain = mWorkManagerImpl.beginWith(aWork).then(bWork); in testGetStatusesSync()
494 WorkContinuation secondChain = mWorkManagerImpl.beginWith(cWork); in testGetStatusesSync()
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/
DAnalyzeSherlockHolmesActivity.java83 .beginWith(startupWork) in enqueueWork()
/frameworks/support/work/workmanager-test/src/androidTest/java/androidx/work/test/
DTestSchedulerTest.java67 WorkContinuation continuation = workManager.beginWith(request) in testTestWorkerShouldSucceedSynchronously_withDependentWork()
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/
DMainActivity.java166 .beginWith(OneTimeWorkRequest.from(SleepWorker.class)) in onCreate()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkManagerImpl.java268 public WorkContinuation beginWith(@NonNull List<OneTimeWorkRequest> work) { in beginWith() method in WorkManagerImpl