Home
last modified time | relevance | path

Searched refs:WorkQueue (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt/
DWorkQueue.cpp27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : in WorkQueue() function in android::WorkQueue
32 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()
DWorkQueue.h34 class WorkQueue {
50 explicit WorkQueue(size_t maxThreads, bool canCallJava = true);
55 ~WorkQueue();
91 WorkThread(WorkQueue* workQueue, bool canCallJava);
97 WorkQueue* const mWorkQueue;
DAndroid.bp111 "WorkQueue.cpp",
DResource.cpp342 class PreProcessImageWorkUnit : public WorkQueue::WorkUnit {
370 WorkQueue wq(MAX_THREADS, false); in preProcessImages()
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp33 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 …]
/frameworks/base/libs/hwui/thread/
DThreadBase.h39 WorkQueue& queue() { return mQueue; } in queue()
61 timeout = ns2ms(nextWakeup - WorkQueue::clock::now()); in waitForWork()
83 WorkQueue mQueue;
DWorkQueue.h37 class WorkQueue {
38 PREVENT_COPY_AND_ASSIGN(WorkQueue);
59 WorkQueue(std::function<void()>&& wakeFunc, std::mutex& lock) in WorkQueue() function
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h197 class WorkQueue {
201 inline WorkQueue() : mFlush(false), mGeneration(0ul) {} in WorkQueue() function
230 Mutexed<WorkQueue> mWorkQueue;
/frameworks/base/libs/hwui/tests/unit/
DThreadBaseTests.cpp39 static WorkQueue& queue() { in queue()
53 using clock = WorkQueue::clock; in TEST()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.h137 WorkQueue& queue() { return ThreadBase::queue(); } in queue()