Home
last modified time | relevance | path

Searched refs:WorkContinuation (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/
DWorkContinuation.java29 public abstract class WorkContinuation { class
39 public final WorkContinuation then(@NonNull OneTimeWorkRequest... work) { in then()
51 public abstract WorkContinuation then(@NonNull List<OneTimeWorkRequest> work); in then()
82 public static WorkContinuation combine(@NonNull WorkContinuation... continuations) { in combine()
93 public static WorkContinuation combine(@NonNull List<WorkContinuation> continuations) { in combine()
112 public static WorkContinuation combine( in combine()
114 @NonNull WorkContinuation... continuations) { in combine()
128 public static WorkContinuation combine( in combine()
130 @NonNull List<WorkContinuation> continuations) { in combine()
138 protected abstract WorkContinuation combineInternal( in combineInternal()
[all …]
DWorkManager.java167 public final WorkContinuation beginWith(@NonNull OneTimeWorkRequest...work) { in beginWith()
179 public abstract WorkContinuation beginWith(@NonNull List<OneTimeWorkRequest> work); in beginWith()
204 public final WorkContinuation beginUniqueWork( in beginUniqueWork()
234 public abstract WorkContinuation beginUniqueWork( in beginUniqueWork()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkContinuationImplTest.java46 import androidx.work.WorkContinuation;
200 WorkContinuationImpl dependent = (WorkContinuationImpl) WorkContinuation.combine(first, in testContinuation_join()
214 WorkContinuationImpl dependent = (WorkContinuationImpl) WorkContinuation.combine( in testContinuation_withWorkJoin()
234 WorkContinuationImpl firstDependent = (WorkContinuationImpl) WorkContinuation.combine( in testContinuation_joinAndEnqueue()
236 WorkContinuationImpl secondDependent = (WorkContinuationImpl) WorkContinuation.combine( in testContinuation_joinAndEnqueue()
238 WorkContinuationImpl dependent = (WorkContinuationImpl) WorkContinuation.combine( in testContinuation_joinAndEnqueue()
253 WorkContinuationImpl firstDependent = (WorkContinuationImpl) WorkContinuation.combine( in testContinuation_joinAndEnqueueWithOverlaps()
255 WorkContinuationImpl secondDependent = (WorkContinuationImpl) WorkContinuation.combine( in testContinuation_joinAndEnqueueWithOverlaps()
257 WorkContinuationImpl dependent = (WorkContinuationImpl) WorkContinuation.combine( in testContinuation_joinAndEnqueueWithOverlaps()
294 (WorkContinuationImpl) WorkContinuation.combine( in testContinuation_joinPassesAllOutput()
[all …]
DWorkManagerImplLargeExecutorTest.java42 import androidx.work.WorkContinuation;
146 WorkContinuation continuation = mWorkManagerImpl.beginWith(workRequests); in testSchedulerLimits()
DWorkManagerImplTest.java75 import androidx.work.WorkContinuation;
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()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkContinuationImpl.java32 import androidx.work.WorkContinuation;
50 public class WorkContinuationImpl extends WorkContinuation
151 public WorkContinuation then(List<OneTimeWorkRequest> work) { in then()
209 protected WorkContinuation combineInternal( in combineInternal()
211 @NonNull List<WorkContinuation> continuations) { in combineInternal()
220 for (WorkContinuation continuation : continuations) { in combineInternal()
DWorkManagerImpl.java35 import androidx.work.WorkContinuation;
268 public WorkContinuation beginWith(@NonNull List<OneTimeWorkRequest> work) { in beginWith()
273 public WorkContinuation beginUniqueWork( in beginUniqueWork()
/frameworks/support/work/workmanager-test/src/androidTest/java/androidx/work/test/
DTestSchedulerTest.java30 import androidx.work.WorkContinuation;
67 WorkContinuation continuation = workManager.beginWith(request) in testTestWorkerShouldSucceedSynchronously_withDependentWork()