Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/2_X/
DSensorsHidlEnvironmentV2_X.cpp127 size_t availableEvents = mSensors->getEventQueue()->availableToRead(); in readEvents() local
129 if (availableEvents == 0) { in readEvents()
133 availableEvents = mSensors->getEventQueue()->availableToRead(); in readEvents()
136 size_t eventsToRead = std::min(availableEvents, mEventBuffer.size()); in readEvents()