Searched refs:timeLimitUs (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsHidlTestBase.cpp | 40 std::vector<Event> SensorsHidlTestBase::collectEvents(useconds_t timeLimitUs, size_t nEventLimit, in collectEvents() argument 43 return collectEvents(timeLimitUs, nEventLimit, getEnvironment(), clearBeforeStart, in collectEvents() 47 std::vector<Event> SensorsHidlTestBase::collectEvents(useconds_t timeLimitUs, size_t nEventLimit, in collectEvents() argument 54 ALOGI("collect max of %zu events for %d us, clearBeforeStart %d", nEventLimit, timeLimitUs, in collectEvents() 64 while (timeLimitUs > 0) { in collectEvents() 65 useconds_t duration = std::min(SLEEP_GRANULARITY, timeLimitUs); in collectEvents() 67 timeLimitUs -= duration; in collectEvents() 73 ALOGV("time to go = %d, events to go = %d", (int)timeLimitUs, in collectEvents()
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsHidlTestBase.h | 86 std::vector<Event> collectEvents(useconds_t timeLimitUs, size_t nEventLimit, 88 static std::vector<Event> collectEvents(useconds_t timeLimitUs, size_t nEventLimit,
|