Searched refs:availableEvents (Results 1 – 2 of 2) sorted by relevance
187 size_t availableEvents = mSensors->getEventQueue()->availableToRead(); in pollFmq() local189 if (availableEvents == 0) { in pollFmq()201 availableEvents = mSensors->getEventQueue()->availableToRead(); in pollFmq()209 size_t eventsToRead = std::min({availableEvents, maxNumEventsToRead, mEventBuffer.size()}); in pollFmq()224 availableEvents); in pollFmq()
614 size_t availableEvents = mEventQueue->availableToRead(); in pollFmq() local616 if (availableEvents == 0) { in pollFmq()628 availableEvents = mEventQueue->availableToRead(); in pollFmq()636 size_t eventsToRead = std::min({availableEvents, maxNumEventsToRead, mEventBuffer.size()}); in pollFmq()651 availableEvents); in pollFmq()