Searched refs:availableEvents (Results 1 – 2 of 2) sorted by relevance
162 size_t availableEvents = mEventQueue->availableToRead(); in pollFmq() local164 if (availableEvents == 0) { in pollFmq()176 availableEvents = mEventQueue->availableToRead(); in pollFmq()182 availableEvents == 0) { in pollFmq()189 size_t eventsToRead = std::min({availableEvents, maxNumEventsToRead, mEventBuffer.size()}); in pollFmq()204 availableEvents); in pollFmq()
187 size_t availableEvents = mSensors->getEventQueue()->availableToRead(); in pollFmq() local189 if (availableEvents == 0) { in pollFmq()201 availableEvents = mSensors->getEventQueue()->availableToRead(); in pollFmq()207 availableEvents == 0) { in pollFmq()214 size_t eventsToRead = std::min({availableEvents, maxNumEventsToRead, mEventBuffer.size()}); in pollFmq()229 availableEvents); in pollFmq()