Home
last modified time | relevance | path

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

/system/tools/aidl/tests/lazy_test/
Dmain.cpp97 static std::vector<size_t> waitTimes(size_t numTimes, size_t maxWait) { in waitTimes() argument
100 times.at(i) = (size_t)(rand() % (maxWait + 1)); in waitTimes()
133 int maxWait = 0; in testConcurrentThreadsWithDelays() local
137 maxWait = std::max(maxWait, totalWait); in testConcurrentThreadsWithDelays()
139 std::cout << "Additional runtime expected from sleeps: " << maxWait << " second(s)." << std::endl; in testConcurrentThreadsWithDelays()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp109 static std::vector<size_t> waitTimes(size_t numTimes, size_t maxWait) { in waitTimes() argument
112 times[i] = (size_t)(rand() % (maxWait + 1)); in waitTimes()