Home | History | Annotate | Download | only in utils

Lines Matching refs:WorkQueue

18 #define LOG_TAG "WorkQueue"
21 #include <utils/WorkQueue.h>
25 // --- WorkQueue ---
27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) :
32 WorkQueue::~WorkQueue() {
38 status_t WorkQueue::schedule(WorkUnit* workUnit, size_t backlog) {
48 status_t status = workThread->run("WorkQueue::WorkThread");
68 status_t WorkQueue::cancel() {
74 status_t WorkQueue::cancelLocked() {
93 status_t WorkQueue::finish() {
115 bool WorkQueue::threadLoop() {
158 // --- WorkQueue::WorkThread ---
160 WorkQueue::WorkThread::WorkThread(WorkQueue* workQueue, bool canCallJava) :
161 Thread(canCallJava), mWorkQueue(workQueue) {
164 WorkQueue::WorkThread::~WorkThread() {
167 bool WorkQueue::WorkThread::threadLoop() {