Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/aidl/vts/
DSensorsAidlEnvironment.cpp145 size_t eventsToRead = std::min(availableEvents, mEventBuffer.size()); in readEvents() local
146 if (eventsToRead > 0) { in readEvents()
147 if (mEventQueue->read(mEventBuffer.data(), eventsToRead)) { in readEvents()
149 for (size_t i = 0; i < eventsToRead; i++) { in readEvents()
/hardware/interfaces/sensors/common/vts/2_X/
DSensorsHidlEnvironmentV2_X.cpp136 size_t eventsToRead = std::min(availableEvents, mEventBuffer.size()); in readEvents() local
137 if (eventsToRead > 0) { in readEvents()
138 if (mSensors->getEventQueue()->read(mEventBuffer.data(), eventsToRead)) { in readEvents()
140 for (size_t i = 0; i < eventsToRead; i++) { in readEvents()