Home
last modified time | relevance | path

Searched defs:executor (Results 1 – 25 of 28) sorted by relevance

12

/work/work-multiprocess/src/main/java/androidx/work/multiprocess/
DRemoteWorkManagerImpl.java80 final Executor executor = mWorkManager.getWorkTaskExecutor().getSerialTaskExecutor(); in enqueueWorkRequests() local
106 final Executor executor = mWorkManager.getWorkTaskExecutor().getSerialTaskExecutor(); in enqueueContinuation() local
126 final Executor executor = mWorkManager.getWorkTaskExecutor().getSerialTaskExecutor(); in cancelWorkById() local
148 final Executor executor = mWorkManager.getWorkTaskExecutor().getSerialTaskExecutor(); in cancelAllWorkByTag() local
170 final Executor executor = mWorkManager.getWorkTaskExecutor().getSerialTaskExecutor(); in cancelUniqueWork() local
190 final Executor executor = mWorkManager.getWorkTaskExecutor().getSerialTaskExecutor(); in cancelAllWork() local
212 final Executor executor = mWorkManager.getWorkTaskExecutor().getSerialTaskExecutor(); in queryWorkInfo() local
236 final Executor executor = taskExecutor.getSerialTaskExecutor(); in setProgress() local
266 Executor executor = taskExecutor.getSerialTaskExecutor(); in setForegroundAsync() local
299 final Executor executor = mWorkManager.getWorkTaskExecutor().getSerialTaskExecutor(); in updateUniquePeriodicWorkRequest() local
DListenableCallback.java45 public ListenableCallback( in ListenableCallback()
DListenableWorkerImplClient.java60 @NonNull Executor executor) { in ListenableWorkerImplClient()
/work/work-runtime/src/test/java/androidx/work/
DListenableFutureTest.kt32 val executor = Executors.newSingleThreadExecutor() in testFailure() constant
47 val executor = Executors.newSingleThreadExecutor() in testSuccess() constant
54 val executor = ManualExecutor() in testCancellation() constant
/work/work-testing/src/test/java/androidx/work/testing/
DSynchronousSerialExecutorTest.kt28 val executor = SynchronousSerialExecutor() in stackOverFlow() constant
41 val executor = SynchronousSerialExecutor() in multithread() constant
/work/work-runtime/src/androidTest/java/androidx/work/
DDefaultWorkerFactoryTest.java66 Executor executor = new SynchronousExecutor(); in testCreateWorker_isCreatedSuccessfully() local
94 Executor executor = new SynchronousExecutor(); in testCreateWorker_throwsException() local
106 executor, in testCreateWorker_throwsException() local
DContentUriTriggerWorkersTest.kt51 val executor = Executors.newSingleThreadExecutor() constant
DConfigurationExecutorsTest.kt44 val executor = in <lambda>() constant in androidx.work.ConfigurationExecutorsTest
/work/work-testing/src/main/java/androidx/work/testing/
DTestWorkerBuilder.java42 @Nullable Executor executor) { in TestWorkerBuilder()
62 @NonNull Executor executor) { in from()
97 @NonNull Executor executor) { in from()
DTestListenableWorkerBuilder.java275 @NonNull TestListenableWorkerBuilder<W> setExecutor(@NonNull Executor executor) { in setExecutor()
/work/work-inspection/src/androidTest/java/androidx/work/inspection/
DInspectorApp.kt23 val executor = DispatchingExecutor() constant in androidx.work.inspection.InspectorApp
/work/work-rxjava2/src/test/java/androidx/work/
DRxWorkerTest.kt82 val executor = Executor { in verifyCorrectDefaultScheduler() constant
96 val executor = Executor { in customScheduler() constant
/work/work-runtime/src/androidTest/java/androidx/work/impl/
DWorkManagerInitializationTest.kt33 private val executor = SynchronousExecutor() constant
DWorkManagerImplLargeExecutorTest.java108 Executor executor = new ThreadPoolExecutor( in setUp() local
/work/work-rxjava3/src/test/java/androidx/work/rxjava3/
DRxWorkerTest.kt88 val executor = Executor { in verifyCorrectDefaultScheduler() constant
102 val executor = Executor { in customScheduler() constant
/work/work-runtime/src/main/java/androidx/work/impl/utils/
DSerialExecutorImpl.java41 public SerialExecutorImpl(@NonNull Executor executor) { in SerialExecutorImpl()
/work/work-testing/src/androidTest/java/androidx/work/testing/
DTestSchedulerRealExecutorTest.kt235 class DrainTask(val executor: SerialExecutor) : Runnable { in drainSerialExecutor() constant in androidx.work.testing.TestSchedulerRealExecutorTest.drainSerialExecutor.DrainTask
245 val executor = wm.workTaskExecutor.serialTaskExecutor in drainSerialExecutor() constant
/work/work-runtime/src/androidTest/java/androidx/work/impl/constraints/
DWorkConstraintsTrackerTest.kt81 val executor = Executors.newSingleThreadExecutor() in <lambda>() constant
/work/work-runtime/src/main/java/androidx/work/impl/
DSchedulers.java62 @NonNull Executor executor, in registerRescheduling()
/work/work-runtime/src/androidTest/java/androidx/work/impl/utils/
DSerialExecutorTest.kt34 lateinit var executor: SerialExecutorImpl variable in androidx.work.impl.utils.SerialExecutorTest
DForceStopRunnableTest.java87 Executor executor = new SynchronousExecutor(); in setUp() local
/work/work-runtime/src/main/java/androidx/work/impl/utils/futures/
DAbstractFuture.java204 final Executor executor; field in AbstractFuture.Listener
209 Listener(Runnable task, Executor executor) { in Listener()
643 public final void addListener(Runnable listener, Executor executor) { in addListener()
1041 private static void executeListener(Runnable runnable, Executor executor) { in executeListener()
/work/work-multiprocess/src/androidTest/java/androidx/work/multiprocess/
DParcelableWorkContinuationImplTest.kt86 val executor = Executor { it.run() } in <lambda>() constant
/work/work-benchmark/src/androidTest/java/androidx/work/benchmark/
DInitializeBenchmark.kt48 private lateinit var executor: DispatchingExecutor variable in androidx.work.benchmark.InitializeBenchmark
/work/work-inspection/src/main/java/androidx/work/inspection/
DWorkManagerInspector.kt55 private val executor = environment.executors().primary() in <lambda>() constant

12