Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/aidl/vts/
DSensorsAidlEnvironment.cpp136 size_t availableEvents = mEventQueue->availableToRead(); in readEvents() local
138 if (availableEvents == 0) { in readEvents()
142 availableEvents = mEventQueue->availableToRead(); in readEvents()
145 size_t eventsToRead = std::min(availableEvents, mEventBuffer.size()); in readEvents()
/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()