Searched refs:sensorsToWaitFor (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/sensors/common/vts/2_X/ |
D | VtsHalSensorsV2_XTargetTest.h | 91 void waitForFlushEvents(const std::vector<SensorInfoType>& sensorsToWaitFor, in waitForFlushEvents() argument 95 [&] { return flushesReceived(sensorsToWaitFor, numCallsToFlush); }); in waitForFlushEvents() 103 void waitForEvents(const std::vector<SensorInfoType>& sensorsToWaitFor, in waitForEvents() argument 106 mEventCV.wait_for(lock, timeout, [&] { return eventsReceived(sensorsToWaitFor); }); in waitForEvents() 110 bool flushesReceived(const std::vector<SensorInfoType>& sensorsToWaitFor, in flushesReceived() argument 112 for (const SensorInfoType& sensor : sensorsToWaitFor) { in flushesReceived() 120 bool eventsReceived(const std::vector<SensorInfoType>& sensorsToWaitFor) { in eventsReceived() argument 121 for (const SensorInfoType& sensor : sensorsToWaitFor) { in eventsReceived()
|
/hardware/interfaces/sensors/aidl/vts/ |
D | VtsAidlHalSensorsTargetTest.cpp | 249 void waitForFlushEvents(const std::vector<SensorInfo>& sensorsToWaitFor, in waitForFlushEvents() argument 253 [&] { return flushesReceived(sensorsToWaitFor, numCallsToFlush); }); in waitForFlushEvents() 261 void waitForEvents(const std::vector<SensorInfo>& sensorsToWaitFor, in waitForEvents() argument 264 mEventCV.wait_for(lock, timeout, [&] { return eventsReceived(sensorsToWaitFor); }); in waitForEvents() 268 bool flushesReceived(const std::vector<SensorInfo>& sensorsToWaitFor, int32_t numCallsToFlush) { in flushesReceived() argument 269 for (const SensorInfo& sensor : sensorsToWaitFor) { in flushesReceived() 277 bool eventsReceived(const std::vector<SensorInfo>& sensorsToWaitFor) { in eventsReceived() argument 278 for (const SensorInfo& sensor : sensorsToWaitFor) { in eventsReceived()
|