Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp75 void waitForFlushEvents(const std::vector<SensorInfo>& sensorsToWaitFor, in waitForFlushEvents() argument
79 [&] { return flushesReceived(sensorsToWaitFor, numCallsToFlush); }); in waitForFlushEvents()
87 void waitForEvents(const std::vector<SensorInfo>& sensorsToWaitFor, milliseconds timeout) { in waitForEvents() argument
89 mEventCV.wait_for(lock, timeout, [&] { return eventsReceived(sensorsToWaitFor); }); in waitForEvents()
93 bool flushesReceived(const std::vector<SensorInfo>& sensorsToWaitFor, int32_t numCallsToFlush) { in flushesReceived() argument
94 for (const SensorInfo& sensor : sensorsToWaitFor) { in flushesReceived()
102 bool eventsReceived(const std::vector<SensorInfo>& sensorsToWaitFor) { in eventsReceived() argument
103 for (const SensorInfo& sensor : sensorsToWaitFor) { in eventsReceived()