Searched refs:availableEvents (Results 1 – 2 of 2) sorted by relevance
136 size_t availableEvents = mEventQueue->availableToRead(); in readEvents() local138 if (availableEvents == 0) { in readEvents()142 availableEvents = mEventQueue->availableToRead(); in readEvents()145 size_t eventsToRead = std::min(availableEvents, mEventBuffer.size()); in readEvents()
127 size_t availableEvents = mSensors->getEventQueue()->availableToRead(); in readEvents() local129 if (availableEvents == 0) { in readEvents()133 availableEvents = mSensors->getEventQueue()->availableToRead(); in readEvents()136 size_t eventsToRead = std::min(availableEvents, mEventBuffer.size()); in readEvents()