Home
last modified time | relevance | path

Searched refs:WorkerThread (Results 1 – 24 of 24) sorted by relevance

/hardware/interfaces/biometrics/common/thread/include/thread/
DWorkerThread.h30 class WorkerThread final {
34 explicit WorkerThread(size_t maxQueueSize);
38 ~WorkerThread();
41 WorkerThread(const WorkerThread&) = delete;
42 WorkerThread& operator=(const WorkerThread&) = delete;
45 WorkerThread(WorkerThread&&) = delete;
46 WorkerThread& operator=(WorkerThread&&) = delete;
/hardware/interfaces/broadcastradio/common/utils/
DWorkerThread.cpp29 bool operator<(const WorkerThread::Task& lhs, const WorkerThread::Task& rhs) { in operator <()
33 WorkerThread::WorkerThread() : mIsTerminating(false) { in WorkerThread() function in android::WorkerThread
36 mThread = std::thread(&WorkerThread::threadLoop, this); in WorkerThread()
39 WorkerThread::~WorkerThread() { in ~WorkerThread()
48 void WorkerThread::schedule(function<void()> task, milliseconds delay) { in schedule()
53 void WorkerThread::schedule(function<void()> task, function<void()> cancelTask, in schedule()
62 void WorkerThread::cancelAll() { in cancelAll()
71 void WorkerThread::threadLoop() { in threadLoop()
DAndroid.bp36 "WorkerThread.cpp",
/hardware/interfaces/biometrics/common/thread/
DWorkerThread.cpp23 WorkerThread::WorkerThread(size_t maxQueueSize) in WorkerThread() function in aidl::android::hardware::biometrics::WorkerThread
29 mThread(&WorkerThread::threadFunc, this) {} in WorkerThread()
31 WorkerThread::~WorkerThread() { in ~WorkerThread()
42 bool WorkerThread::schedule(std::unique_ptr<Callable> task) { in schedule()
57 void WorkerThread::threadFunc() { in threadFunc()
DAndroid.bp15 "WorkerThread.cpp",
24 "WorkerThread.cpp",
/hardware/google/aemu/base/
DWorkerThread_unittest.cpp24 TEST(WorkerThread, TheReturnedFutureFromEnqueueShouldBeReadyWhenTheWorkerStops) { in TEST() argument
26 WorkerThread<Item> worker([](Item&&) { return WorkerProcessingResult::Stop; }); in TEST()
33 TEST(WorkerThread, TheReturnedFutureFromEnqueueShouldBeReadyBeforeTheWorkerStarts) { in TEST() argument
35 WorkerThread<Item> worker([](Item&&) { return WorkerProcessingResult::Stop; }); in TEST()
/hardware/interfaces/broadcastradio/common/tests/
DWorkerThread_test.cpp24 using android::WorkerThread;
42 WorkerThread thread; in TEST()
62 WorkerThread thread; in TEST()
78 WorkerThread thread; in TEST()
125 WorkerThread thread; in TEST()
/hardware/interfaces/broadcastradio/common/utils/include/broadcastradio-utils/
DWorkerThread.h27 class WorkerThread {
29 WorkerThread();
30 virtual ~WorkerThread();
/hardware/interfaces/broadcastradio/aidl/default/
DBroadcastRadio.h75 std::unique_ptr<::android::WorkerThread> mTuningThread GUARDED_BY(mMutex) =
76 std::unique_ptr<::android::WorkerThread>(new ::android::WorkerThread());
77 std::unique_ptr<::android::WorkerThread> mProgramListThread GUARDED_BY(mMutex) =
78 std::unique_ptr<::android::WorkerThread>(new ::android::WorkerThread());
/hardware/interfaces/biometrics/common/thread/tests/
DWorkerThreadTest.cpp32 WorkerThread worker(1 /*maxQueueSize*/); in TEST()
47 WorkerThread worker(2 /*maxQueueSize*/); in TEST()
73 WorkerThread worker(NUM_TASKS + 1); in TEST()
111 WorkerThread worker(2 /*maxQueueSize*/); in TEST()
/hardware/google/aemu/base/include/aemu/base/threads/
DWorkerThread.h67 class WorkerThread {
68 DISALLOW_COPY_AND_ASSIGN(WorkerThread);
75 WorkerThread(Processor&& processor) in WorkerThread() function
79 ~WorkerThread() { join(); } in ~WorkerThread()
DThreadPool.h83 using Worker = WorkerThread<Optional<Command>>;
/hardware/google/gfxstream/host/compressedTextureFormats/
DAstcCpuDecompressorImpl.cpp158 class WorkerThread { class
160 explicit WorkerThread() : mThread(&WorkerThread::main, this) {} in WorkerThread() function in gfxstream::vk::__anon87c057260111::WorkerThread
271 std::array<WorkerThread, kNumThreads> mWorkerThreads;
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/
DSession.h50 FakeFingerprintEngine* engine, WorkerThread* worker);
140 WorkerThread* mWorker;
DFingerprint.h62 WorkerThread mWorker;
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.h57 WorkerThread mThread;
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.h58 WorkerThread mThread;
/hardware/interfaces/biometrics/fingerprint/aidl/default/tests/
DSessionTest.cpp105 WorkerThread mWorker;
/hardware/interfaces/biometrics/face/aidl/default/
DSession.h118 std::unique_ptr<WorkerThread> mThread;
DSession.cpp43 mThread = std::make_unique<WorkerThread>(MAX_WORKER_QUEUE_SIZE); in Session()
/hardware/google/gfxstream/host/
DFrameBuffer.h811 android::base::WorkerThread<Readback> m_readbackThread;
840 android::base::WorkerThread<Post> m_postThread;
DRendererImpl.cpp110 android::base::WorkerThread<Cmd> mCleanupWorker;
Dvirtio-gpu-gfxstream-renderer.cpp676 android::base::WorkerThread<CleanupTask> mWorker;
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DSession.cpp37 FakeFingerprintEngine* engine, WorkerThread* worker) in Session()