Searched refs:WorkQueue (Results 1 – 10 of 10) sorted by relevance
27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : in WorkQueue() function in android::WorkQueue32 WorkQueue::~WorkQueue() { in ~WorkQueue()38 status_t WorkQueue::schedule(WorkUnit* workUnit, size_t backlog) { in schedule()68 status_t WorkQueue::cancel() { in cancel()74 status_t WorkQueue::cancelLocked() { in cancelLocked()93 status_t WorkQueue::finish() { in finish()115 bool WorkQueue::threadLoop() { in threadLoop()160 WorkQueue::WorkThread::WorkThread(WorkQueue* workQueue, bool canCallJava) : in WorkThread()164 WorkQueue::WorkThread::~WorkThread() { in ~WorkThread()167 bool WorkQueue::WorkThread::threadLoop() { in threadLoop()
34 class WorkQueue {50 explicit WorkQueue(size_t maxThreads, bool canCallJava = true);55 ~WorkQueue();91 WorkThread(WorkQueue* workQueue, bool canCallJava);97 WorkQueue* const mWorkQueue;
111 "WorkQueue.cpp",
342 class PreProcessImageWorkUnit : public WorkQueue::WorkUnit {370 WorkQueue wq(MAX_THREADS, false); in preProcessImages()
33 std::unique_ptr<C2Work> SimpleC2Component::WorkQueue::pop_front() { in pop_front()39 void SimpleC2Component::WorkQueue::push_back(std::unique_ptr<C2Work> work) { in push_back()43 bool SimpleC2Component::WorkQueue::empty() const { in empty()47 void SimpleC2Component::WorkQueue::clear() { in clear()51 uint32_t SimpleC2Component::WorkQueue::drainMode() const { in drainMode()55 void SimpleC2Component::WorkQueue::markDrain(uint32_t drainMode) { in markDrain()241 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in queue_nb()269 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in flush_sm()299 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in drain_nb()343 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in stop()[all …]
39 WorkQueue& queue() { return mQueue; } in queue()61 timeout = ns2ms(nextWakeup - WorkQueue::clock::now()); in waitForWork()83 WorkQueue mQueue;
37 class WorkQueue {38 PREVENT_COPY_AND_ASSIGN(WorkQueue);59 WorkQueue(std::function<void()>&& wakeFunc, std::mutex& lock) in WorkQueue() function
197 class WorkQueue {201 inline WorkQueue() : mFlush(false), mGeneration(0ul) {} in WorkQueue() function230 Mutexed<WorkQueue> mWorkQueue;
39 static WorkQueue& queue() { in queue()53 using clock = WorkQueue::clock; in TEST()
137 WorkQueue& queue() { return ThreadBase::queue(); } in queue()