Home
last modified time | relevance | path

Searched refs:worker (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkerWrapperTest.java58 import androidx.work.worker.ChainedArgumentWorker;
59 import androidx.work.worker.EchoingWorker;
60 import androidx.work.worker.ExceptionWorker;
61 import androidx.work.worker.FailureWorker;
62 import androidx.work.worker.InfiniteTestWorker;
63 import androidx.work.worker.InterruptionAwareWorker;
64 import androidx.work.worker.RetryWorker;
65 import androidx.work.worker.SleepTestWorker;
66 import androidx.work.worker.TestWorker;
582 Worker worker = WorkerWrapper.workerFromWorkSpec( in testFromWorkSpec_hasAppContext() local
[all …]
DWorkManagerImplLargeExecutorTest.java19 import static androidx.work.worker.CheckLimitsWorker.KEY_EXCEEDS_SCHEDULER_LIMIT;
20 import static androidx.work.worker.CheckLimitsWorker.KEY_LIMIT_TO_ENFORCE;
45 import androidx.work.worker.CheckLimitsWorker;
DProcessorTest.java31 import androidx.work.worker.InfiniteTestWorker;
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/workers/
DConstraintTrackingWorkerTest.java51 import androidx.work.worker.EchoingWorker;
52 import androidx.work.worker.SleepTestWorker;
53 import androidx.work.worker.TestWorker;
146 ConstraintTrackingWorker worker = in testConstraintTrackingWorker_onConstraintsMet() local
153 ConstraintTrackingWorker spyWorker = spy(worker); in testConstraintTrackingWorker_onConstraintsMet()
192 ConstraintTrackingWorker worker = in testConstraintTrackingWorker_onConstraintsNotMet() local
199 ConstraintTrackingWorker spyWorker = spy(worker); in testConstraintTrackingWorker_onConstraintsNotMet()
237 ConstraintTrackingWorker worker = in testConstraintTrackingWorker_onConstraintsChanged() local
244 ConstraintTrackingWorker spyWorker = spy(worker); in testConstraintTrackingWorker_onConstraintsChanged()
289 ConstraintTrackingWorker worker = in testConstraintTrackingWorker_onConstraintsChangedTwice() local
[all …]
/frameworks/native/cmds/surfacereplayer/replayer/
DREADME.md99 - numThreads - Number of worker threads the replayer will use.
213 A worker thread's flow looks like so
226 and worker threads. Every time an increment is dispatched, an Event object is also created.
230 - **SettingUp** - The worker is in the process of completing all non-time sensitive work
231 - **Waiting** - The worker is waiting on the main thread to signal it.
232 - **Signaled** - The worker has just been signaled by the main thread
233 - **Running** - The worker is running again and finishing the rest of its work.
235 When the main thread wants to finish the execution of a worker, the worker can either still be
236 **SettingUp**, in which the main thread will wait, or the worker will be **Waiting**, in which the
237 main thread will **Signal** it to complete. The worker thread changes itself to the **Running**
[all …]
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DMultiRecyclerViewPrefetchTest.java153 GapWorker worker = GapWorker.sGapWorker.get(); in prefetchOrdering() local
154 assertNotNull(worker); in prefetchOrdering()
175 worker.prefetch(0); in prefetchOrdering()
183 worker.prefetch(mMockNanoTime + TimeUnit.MILLISECONDS.toNanos(54)); in prefetchOrdering()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkerWrapper.java412 Worker worker = (Worker) clazz.newInstance(); in workerFromClassName() local
420 worker, in workerFromClassName()
424 return worker; in workerFromClassName()
491 public Builder withWorker(Worker worker) { in withWorker() argument
492 mWorker = worker; in withWorker()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/worker/
DInfiniteTestWorker.java17 package androidx.work.worker;
DExceptionWorker.java17 package androidx.work.worker;
DEchoingWorker.java17 package androidx.work.worker;
DLongRunningWorker.java17 package androidx.work.worker;
DInterruptionAwareWorker.java17 package androidx.work.worker;
DTestWorker.java17 package androidx.work.worker;
DRetryWorker.java17 package androidx.work.worker;
DFailureWorker.java17 package androidx.work.worker;
DSleepTestWorker.java17 package androidx.work.worker;
DChainedArgumentWorker.java17 package androidx.work.worker;
DCheckLimitsWorker.java17 package androidx.work.worker;
/frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/worker/
DFirebaseInfiniteTestWorker.java17 package androidx.work.worker;
DFirebaseTestWorker.java17 package androidx.work.worker;
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_tests.cpp139 auto worker = [](std::shared_ptr<TestClient> client, in TEST_F() local
155 threads.emplace_back(worker, client_, data); in TEST_F()
/frameworks/support/paging/rxjava2/src/main/java/androidx/paging/
DRxPagedListBuilder.java156 final Scheduler.Worker worker = scheduler.createWorker(); in setNotifyScheduler() local
162 worker.schedule(command); in setNotifyScheduler()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
DWorkTest.java25 import androidx.work.worker.TestWorker;
/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.cpp34 WebmFrameThread *worker = reinterpret_cast<WebmFrameThread*>(arg); in wrap() local
35 worker->run(); in wrap()
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/
DBTtraffic.java70 Runnable worker = in startWorker() local
75 mWorkerThread = new Thread(worker, "BTtrafficWorker"); in startWorker()

12