Home
last modified time | relevance | path

Searched refs:queueSize (Results 1 – 4 of 4) sorted by relevance

/hardware/google/av/codec2/hidl/1.0/mts/common/
Dmedia_c2_hidl_test_common.cpp62 uint32_t queueSize; in waitOnInputConsumption() local
66 queueSize = workQueue.size(); in waitOnInputConsumption()
68 while ((maxRetry < MAX_RETRY) && (queueSize < bufferCount)) { in waitOnInputConsumption()
70 if (queueSize != workQueue.size()) { in waitOnInputConsumption()
71 queueSize = workQueue.size(); in waitOnInputConsumption()
/hardware/libhardware/modules/sensors/tests/
DSensorEventQueue_test.cpp135 bool fullQueueReaderShouldRead(int queueSize, int totalReads) { in fullQueueReaderShouldRead() argument
136 if (queueSize == 0) { in fullQueueReaderShouldRead()
139 int totalWrites = totalReads + queueSize; in fullQueueReaderShouldRead()
140 return queueSize == FULL_QUEUE_CAPACITY || totalWrites == FULL_QUEUE_EVENT_COUNT; in fullQueueReaderShouldRead()
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp457 uint32_t queueSize; in TEST_F() local
460 queueSize = mWorkQueue.size(); in TEST_F()
461 if (queueSize < MAX_INPUT_BUFFERS) { in TEST_F()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoEncTest.cpp427 uint32_t queueSize; in TEST_F() local
430 queueSize = mWorkQueue.size(); in TEST_F()
431 if (queueSize < MAX_INPUT_BUFFERS) { in TEST_F()