Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/tests/
DSensorEventQueue_test.cpp135 bool fullQueueReaderShouldRead(int queueSize, int totalReads) { in fullQueueReaderShouldRead() argument
139 int totalWrites = totalReads + queueSize; in fullQueueReaderShouldRead()
146 int totalReads = 0; in fullQueueReaderTask() local
147 while (totalReads < FULL_QUEUE_EVENT_COUNT) { in fullQueueReaderTask()
151 while (!fullQueueReaderShouldRead(queue->getSize(), totalReads)) { in fullQueueReaderTask()
155 totalReads++; in fullQueueReaderTask()
160 ctx->success = ctx->success && checkInt("totalreads", FULL_QUEUE_EVENT_COUNT, totalReads); in fullQueueReaderTask()