Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/tests/
DSensorEventQueue_test.cpp101 int FULL_QUEUE_CAPACITY = 5; variable
118 int writableSize = queue->getWritableRegion(FULL_QUEUE_CAPACITY, &buffer); in fullQueueWriterTask()
131 checkInt("totalWaits", FULL_QUEUE_EVENT_COUNT - FULL_QUEUE_CAPACITY, totalWaits); in fullQueueWriterTask()
140 return queueSize == FULL_QUEUE_CAPACITY || totalWrites == FULL_QUEUE_EVENT_COUNT; in fullQueueReaderShouldRead()
167 SensorEventQueue* queue = new SensorEventQueue(FULL_QUEUE_CAPACITY); in testFullQueueIo()