Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DAidlSensorHalWrapper.cpp162 size_t availableEvents = mEventQueue->availableToRead(); in pollFmq() local
164 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()
DHidlSensorHalWrapper.cpp187 size_t availableEvents = mSensors->getEventQueue()->availableToRead(); in pollFmq() local
189 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()