Home
last modified time | relevance | path

Searched defs:workerWrapper (Results 1 – 5 of 5) sorted by relevance

/work/work-runtime/src/androidTest/java/androidx/work/impl/workers/
DConstraintTrackingWorkerTest.kt90 val workerWrapper = create(ExceptionWorker::class) in <lambda>() constant
98 val workerWrapper = create(SelfCancellingWorker::class) in <lambda>() constant
110 val workerWrapper = create(TestWorker::class) in <lambda>() constant
119 val workerWrapper = create(EchoingWorker::class) in <lambda>() constant
130 val workerWrapper = create(CompletableWorker::class) in <lambda>() constant
141 val workerWrapper = create(DoWorkAwareWorker::class) in <lambda>() constant
156 val workerWrapper = create(ThreadAssertingWorker::class) in <lambda>() constant
/work/work-runtime/src/androidTest/java/androidx/work/impl/
DWorkerWrapperTest.java183 WorkerWrapper workerWrapper = createBuilder(work.getStringId()).build(); in testSuccess() local
222 WorkerWrapper workerWrapper = createBuilder(work.getStringId()).build(); in testInvalidWorkerClassName() local
252 WorkerWrapper workerWrapper = createBuilder(work.getStringId()) in testUsedWorker_failsExecution() local
266 WorkerWrapper workerWrapper = createBuilder(work.getStringId()).build(); in testNotEnqueued() local
278 WorkerWrapper workerWrapper = createBuilder(work.getStringId()).build(); in testCancelled() local
291 WorkerWrapper workerWrapper = createBuilder(work.getStringId()).build(); in testPermanentErrorWithInvalidWorkerClass() local
303 WorkerWrapper workerWrapper = createBuilder(work.getStringId()) in testPermanentErrorWithInvalidInputMergerClass() local
315 WorkerWrapper workerWrapper = createBuilder(work.getStringId()).build(); in testFailed() local
334 WorkerWrapper workerWrapper = createBuilder(firstWorkId).build(); in testFailedOnDeepHierarchy() local
347 WorkerWrapper workerWrapper = createBuilder(work.getStringId()).build(); in testRunning_onlyWhenEnqueued() local
[all …]
DWorkerWrapperTestKt.kt71 val workerWrapper = WorkerWrapper(workRequest.workSpec) in <lambda>() constant
84 val workerWrapper = WorkerWrapper(workRequest.workSpec) in <lambda>() constant
97 val workerWrapper = WorkerWrapper(workRequest.workSpec) in <lambda>() constant
116 val workerWrapper = WorkerWrapper(workRequest.workSpec) in <lambda>() constant
135 val workerWrapper = WorkerWrapper(workRequest.workSpec) in testInterruptionPreStartWork() constant
172 val workerWrapper = WorkerWrapper(workRequest.workSpec) in testWorker_getsRunAttemptCount() constant
184 val workerWrapper = WorkerWrapper(workRequest.workSpec) in stopReason_available_in_synchronous_listener_of_startWork() constant
209 val workerWrapper = WorkerWrapper(workRequest.workSpec) in <lambda>() constant
DControlledWorkerWrapperTest.kt59 val workerWrapper = workerWrapper(work.stringId) { worker = it } in testInterruptionsBefore() constant
83 val workerWrapper = workerWrapper(work.stringId) { worker = it } in testInterruptionsBetweenGetForegroundInfoAsyncAndStartWork() constant
109 private fun workerWrapper( in workerWrapper() method
/work/work-runtime/src/main/java/androidx/work/impl/
DProcessor.java341 WorkerWrapper workerWrapper = getWorkerWrapperUnsafe(workSpecId); in onExecuted() local
356 WorkerWrapper workerWrapper = mForegroundWorkMap.get(workSpecId); in getWorkerWrapperUnsafe() local
370 WorkerWrapper workerWrapper = getWorkerWrapperUnsafe(workSpecId); in getRunningWorkSpec() local