/frameworks/native/libs/renderengine/skia/debug/ |
D | CommonPool.cpp | 64 while (mWorkQueue.size() > QUEUE_SIZE) { in enqueue() 70 mWorkQueue.push(std::move(task)); in enqueue() 71 if (mWaitingThreads == THREAD_COUNT || (mWaitingThreads > 0 && mWorkQueue.size() > 1)) { in enqueue() 79 if (mWorkQueue.size() == 0) { in workerLoop() 86 while (mWorkQueue.size() > 0) { in workerLoop() 87 auto work = mWorkQueue.front(); in workerLoop() 88 mWorkQueue.pop(); in workerLoop()
|
D | CommonPool.h | 65 std::queue<Task> mWorkQueue; variable
|
/frameworks/base/libs/hwui/thread/ |
D | WorkQueue.h | 67 if (mWorkQueue.empty()) return; in process() 68 toProcess = std::move(mWorkQueue); in process() 72 mWorkQueue.reserve(std::distance(moveBack, std::end(toProcess)) + 5); in process() 73 std::move(moveBack, std::end(toProcess), std::back_inserter(mWorkQueue)); in process() 113 if (mWorkQueue.empty()) { in nextWakeup() 116 return std::begin(mWorkQueue)->runAt; in nextWakeup() 126 std::begin(mWorkQueue), std::end(mWorkQueue), in enqueue() 128 needsWakeup = std::begin(mWorkQueue) == insertAt; in enqueue() 129 mWorkQueue.emplace(insertAt, std::move(item)); in enqueue() 139 std::vector<WorkItem> mWorkQueue; variable
|
D | CommonPool.cpp | 70 while (!mWorkQueue.hasSpace()) { in enqueue() 75 mWorkQueue.push(std::move(task)); in enqueue() 76 if (mWaitingThreads == THREAD_COUNT || (mWaitingThreads > 0 && mWorkQueue.size() > 1)) { in enqueue() 84 if (!mWorkQueue.hasWork()) { in workerLoop() 91 while (mWorkQueue.hasWork()) { in workerLoop() 92 auto work = mWorkQueue.pop(); in workerLoop()
|
D | CommonPool.h | 126 ArrayQueue<Task, QUEUE_SIZE> mWorkQueue; variable
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 117 mWorkQueue.emplace_back(new C2Work); in SetUp() 298 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone() 328 std::list<std::unique_ptr<C2Work>> mWorkQueue; member in __anon5fcc42c10111::Codec2VideoDecHidlTestBase 663 ASSERT_NO_FATAL_FAILURE(decodeNFrames(mComponent, mQueueLock, mQueueCondition, mWorkQueue, in TEST_P() 670 waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue, 1); in TEST_P() 671 ASSERT_NO_FATAL_FAILURE(testInputBuffer(mComponent, mQueueLock, mWorkQueue, in TEST_P() 679 waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue); in TEST_P() 760 ASSERT_NO_FATAL_FAILURE(decodeNFrames(mComponent, mQueueLock, mQueueCondition, mWorkQueue, in TEST_P() 774 if (!mWorkQueue.empty()) { in TEST_P() 775 work.swap(mWorkQueue.front()); in TEST_P() [all …]
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 67 mWorkQueue.emplace_back(new C2Work); in SetUp() 184 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone() 218 std::list<std::unique_ptr<C2Work>> mWorkQueue; member in __anon0988122b0111::Codec2VideoEncHidlTestBase 564 ASSERT_NO_FATAL_FAILURE(testInputBuffer(mComponent, mQueueLock, mWorkQueue, 0, false)); in TEST_P() 567 ASSERT_NO_FATAL_FAILURE(encodeNFrames(mComponent, mQueueLock, mQueueCondition, mWorkQueue, in TEST_P() 583 waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue, 1); in TEST_P() 584 ASSERT_NO_FATAL_FAILURE(testInputBuffer(mComponent, mQueueLock, mWorkQueue, in TEST_P() 592 waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue); in TEST_P() 623 if (!mWorkQueue.empty()) { in TEST_P() 624 work.swap(mWorkQueue.front()); in TEST_P() [all …]
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 91 mWorkQueue.emplace_back(new C2Work); in SetUp() 187 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone() 214 std::list<std::unique_ptr<C2Work>> mWorkQueue; member in __anon1f0b7bd70111::Codec2AudioDecHidlTestBase 651 ASSERT_NO_FATAL_FAILURE(decodeNFrames(mComponent, mQueueLock, mQueueCondition, mWorkQueue, in TEST_P() 658 ASSERT_NO_FATAL_FAILURE(waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue, 1)); in TEST_P() 659 ASSERT_NO_FATAL_FAILURE(testInputBuffer(mComponent, mQueueLock, mWorkQueue, in TEST_P() 665 waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue); in TEST_P() 725 ASSERT_NO_FATAL_FAILURE(decodeNFrames(mComponent, mQueueLock, mQueueCondition, mWorkQueue, in TEST_P() 728 waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue); in TEST_P() 745 if (!mWorkQueue.empty()) { in TEST_P() [all …]
|
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 66 mWorkQueue.emplace_back(new C2Work); in SetUp() 130 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone() 156 std::list<std::unique_ptr<C2Work>> mWorkQueue; member in __anonc8c74b410111::Codec2AudioEncHidlTestBase 458 mComponent, mQueueLock, mQueueCondition, mWorkQueue, mFlushedIndices, mLinearPool, in TEST_P() 463 waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue, 1); in TEST_P() 464 ASSERT_NO_FATAL_FAILURE(testInputBuffer(mComponent, mQueueLock, mWorkQueue, in TEST_P() 471 waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue); in TEST_P() 496 if (!mWorkQueue.empty()) { in TEST_P() 497 work.swap(mWorkQueue.front()); in TEST_P() 498 mWorkQueue.pop_front(); in TEST_P() [all …]
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkC2Common.cpp | 46 mWorkQueue.emplace_back(new C2Work); in setupCodec2() 77 queueSize = mWorkQueue.size(); in waitOnInputConsumption() 81 if (queueSize != mWorkQueue.size()) { in waitOnInputConsumption() 82 queueSize = mWorkQueue.size(); in waitOnInputConsumption() 106 mWorkQueue.push_back(std::move(work)); in handleWorkDone()
|
D | BenchmarkC2Common.h | 138 std::list<std::unique_ptr<C2Work>> mWorkQueue; variable
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 86 if (mWorkQueue.empty()) mQueueCondition.wait_for(l, MAX_RETRY * TIME_OUT); in decodeFrames() 87 if (!mWorkQueue.empty()) { in decodeFrames() 89 work.swap(mWorkQueue.front()); in decodeFrames() 90 mWorkQueue.pop_front(); in decodeFrames()
|
/frameworks/av/media/codec2/fuzzer/ |
D | C2Fuzzer.cpp | 133 mWorkQueue.push_back(std::move(work)); in handleWorkDone() 176 mWorkQueue.emplace_back(new C2Work); in initDecoder() 261 if (mWorkQueue.empty()) mQueueCondition.wait_for(lock, kC2FuzzerTimeOut); in decodeFrames() 262 if (!mWorkQueue.empty()) { in decodeFrames() 263 work.swap(mWorkQueue.front()); in decodeFrames() 264 mWorkQueue.pop_front(); in decodeFrames()
|
D | C2Fuzzer.h | 118 std::list<std::unique_ptr<C2Work>> mWorkQueue; variable
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 103 std::list<std::unique_ptr<C2Work>> mWorkQueue; member in __anon2aac90ef0111::SimplePlayer 227 mWorkQueue.emplace_back(new C2Work); in play() 283 mWorkQueue.push_back(std::move(work)); in play() 332 if (!mWorkQueue.empty()) { in play() 333 work.swap(mWorkQueue.front()); in play() 334 mWorkQueue.pop_front(); in play()
|
/frameworks/base/tools/aapt/ |
D | WorkQueue.cpp | 161 Thread(canCallJava), mWorkQueue(workQueue) { in WorkThread() 168 return mWorkQueue->threadLoop(); in threadLoop()
|
D | WorkQueue.h | 97 WorkQueue* const mWorkQueue; variable
|
D | ResourceTable.h | 130 return mWorkQueue; in getWorkQueue() 638 std::queue<CompileResourceWorkItem> mWorkQueue; variable
|
D | ResourceTable.cpp | 4826 mWorkQueue.push(item); in versionForCompat() 4961 mWorkQueue.push(item); in modifyForCompat() 5235 mWorkQueue.push(workItem); in processBundleFormatImpl()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 147 if (mWorkQueue.empty()) mQueueCondition.wait_for(l, MAX_RETRY * TIME_OUT); in encodeFrames() 148 if (!mWorkQueue.empty()) { in encodeFrames() 150 work.swap(mWorkQueue.front()); in encodeFrames() 151 mWorkQueue.pop_front(); in encodeFrames()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 76 mWorkQueue.emplace_back(new C2Work); in SetUp() 109 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone() 121 std::list<std::unique_ptr<C2Work>> mWorkQueue; member in __anon7cb228cd0111::Codec2ComponentHidlTestBase 350 testInputBuffer(mComponent, mQueueLock, mWorkQueue, flags, isNullBuffer)); in TEST_P() 353 ASSERT_NO_FATAL_FAILURE(waitOnInputConsumption(mQueueLock, mQueueCondition, mWorkQueue)); in TEST_P()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 843 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in queue_nb() 871 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in flush_sm() 901 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in drain_nb() 945 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in stop() 966 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in reset() 1000 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in finish() 1025 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in cloneAndSend() 1049 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in processQueue() 1151 Mutexed<WorkQueue>::Locked queue(mWorkQueue); in processQueue()
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Component.h | 300 Mutexed<WorkQueue> mWorkQueue; variable
|