Home
last modified time | relevance | path

Searched refs:WorkerWrapper (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkerWrapperTest.java107 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, work.getStringId()) in testSuccess()
120 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, work.getStringId()) in testRunAttemptCountIncremented_successfulExecution()
134 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, work.getStringId()) in testRunAttemptCountIncremented_failedExecution()
147 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, invalidWorkSpecId) in testPermanentErrorWithInvalidWorkSpecId()
161 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, work.getStringId()) in testNotEnqueued()
175 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, work.getStringId()) in testCancelled()
189 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, work.getStringId()) in testPermanentErrorWithInvalidWorkerClass()
203 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, work.getStringId()) in testPermanentErrorWithInvalidInputMergerClass()
217 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, work.getStringId()) in testFailed()
230 WorkerWrapper wrapper = new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, in testRunning()
[all …]
DWorkContinuationImplTest.java311 new WorkerWrapper.Builder(context, mConfiguration, mDatabase, joinId) in testContinuation_joinPassesAllOutput()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/workers/
DConstraintTrackingWorkerTest.java44 import androidx.work.impl.WorkerWrapper;
147 (ConstraintTrackingWorker) WorkerWrapper.workerFromClassName( in testConstraintTrackingWorker_onConstraintsMet()
156 WorkerWrapper.Builder builder = in testConstraintTrackingWorker_onConstraintsMet()
157 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, workSpecId); in testConstraintTrackingWorker_onConstraintsMet()
193 (ConstraintTrackingWorker) WorkerWrapper.workerFromClassName( in testConstraintTrackingWorker_onConstraintsNotMet()
202 WorkerWrapper.Builder builder = in testConstraintTrackingWorker_onConstraintsNotMet()
203 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, workSpecId); in testConstraintTrackingWorker_onConstraintsNotMet()
238 (ConstraintTrackingWorker) WorkerWrapper.workerFromClassName( in testConstraintTrackingWorker_onConstraintsChanged()
246 WorkerWrapper.Builder builder = in testConstraintTrackingWorker_onConstraintsChanged()
247 new WorkerWrapper.Builder(mContext, mConfiguration, mDatabase, workSpecId); in testConstraintTrackingWorker_onConstraintsChanged()
[all …]
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DProcessor.java45 private Map<String, WorkerWrapper> mEnqueuedWorkMap;
94 WorkerWrapper workWrapper = in startWork()
95 new WorkerWrapper.Builder(mAppContext, mConfiguration, mWorkDatabase, id) in startWork()
114 WorkerWrapper wrapper = mEnqueuedWorkMap.remove(id); in stopWork()
133 WorkerWrapper wrapper = mEnqueuedWorkMap.remove(id); in stopAndCancelWork()
DWorkerWrapper.java56 public class WorkerWrapper implements Runnable { class
75 private WorkerWrapper(Builder builder) { in WorkerWrapper() method in WorkerWrapper
499 public WorkerWrapper build() { in build()
500 return new WorkerWrapper(this); in build()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/workers/
DConstraintTrackingWorker.java29 import androidx.work.impl.WorkerWrapper;
74 mDelegate = WorkerWrapper.workerFromClassName( in doWork()