Home
last modified time | relevance | path

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

/system/tools/aidl/tests/lazy_test/
Dmain.cpp159 std::vector<std::vector<size_t>> threadWaitTimes(NUM_CONCURRENT_THREADS); in testConcurrentThreadsWithDelays() local
161 for (size_t i = 0; i < threadWaitTimes.size(); i++) { in testConcurrentThreadsWithDelays()
162 threadWaitTimes.at(i) = waitMs(NUM_TIMES_GET_RELEASE * nServices, MAX_WAITING_DURATION_MS); in testConcurrentThreadsWithDelays()
163 int totalWait = std::accumulate(threadWaitTimes.at(i).begin(), threadWaitTimes.at(i).end(), 0); in testConcurrentThreadsWithDelays()
171 threads.at(i) = std::thread(testWithTimes, threadWaitTimes.at(i), delayBeforeGet); in testConcurrentThreadsWithDelays()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp174 std::vector<std::vector<size_t>> threadWaitTimes(NUM_CONCURRENT_THREADS); in TEST_F() local
176 for (size_t i = 0; i < threadWaitTimes.size(); i++) { in TEST_F()
177 threadWaitTimes[i] = waitTimes(NUM_TIMES_GET_UNGET, MAX_WAITING_DURATION); in TEST_F()
183 threads[i] = std::thread(testWithTimes, threadWaitTimes[i], instance); in TEST_F()