Searched refs:sensorsToWaitFor (Results 1 – 1 of 1) sorted by relevance
75 void waitForFlushEvents(const std::vector<SensorInfo>& sensorsToWaitFor, in waitForFlushEvents() argument79 [&] { return flushesReceived(sensorsToWaitFor, numCallsToFlush); }); in waitForFlushEvents()87 void waitForEvents(const std::vector<SensorInfo>& sensorsToWaitFor, milliseconds timeout) { in waitForEvents() argument89 mEventCV.wait_for(lock, timeout, [&] { return eventsReceived(sensorsToWaitFor); }); in waitForEvents()93 bool flushesReceived(const std::vector<SensorInfo>& sensorsToWaitFor, int32_t numCallsToFlush) { in flushesReceived() argument94 for (const SensorInfo& sensor : sensorsToWaitFor) { in flushesReceived()102 bool eventsReceived(const std::vector<SensorInfo>& sensorsToWaitFor) { in eventsReceived() argument103 for (const SensorInfo& sensor : sensorsToWaitFor) { in eventsReceived()