Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/utils/
DEventMessageQueueWrapper.h43 virtual bool read(V2_1::Event* events, size_t numToRead) = 0;
71 virtual bool read(V2_1::Event* events, size_t numToRead) override { in read() argument
72 return mQueue->read(reinterpret_cast<V1_0::Event*>(events), numToRead); in read()
114 virtual bool read(V2_1::Event* events, size_t numToRead) override { in read() argument
115 return mQueue->read(events, numToRead); in read()
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp522 size_t numToRead = mEventQueue->availableToRead(); in stopThreads() local
523 std::vector<Event> events(numToRead); in stopThreads()
524 mEventQueue->read(events.data(), numToRead); in stopThreads()