Searched refs:waitTime (Results 1 – 5 of 5) sorted by relevance
/system/chre/platform/linux/tests/ |
D | task_test.cc | 34 std::chrono::milliseconds waitTime(1000); in TEST() local 35 Task task(incrementGVar, waitTime, 0); in TEST() 37 std::this_thread::sleep_for(waitTime); in TEST() 47 waitTime.count()); in TEST() 54 std::chrono::milliseconds waitTime(0); in TEST() local 55 Task task(incrementGVar, waitTime, 0); in TEST()
|
/system/libfmq/ |
D | EventFlag.cpp | 224 void EventFlag::addNanosecondsToCurrentTime(int64_t nanoSeconds, struct timespec* waitTime) { in addNanosecondsToCurrentTime() argument 227 clock_gettime(CLOCK_MONOTONIC, waitTime); in addNanosecondsToCurrentTime() 228 waitTime->tv_sec += nanoSeconds / kNanosPerSecond; in addNanosecondsToCurrentTime() 229 waitTime->tv_nsec += nanoSeconds % kNanosPerSecond; in addNanosecondsToCurrentTime() 231 if (waitTime->tv_nsec >= kNanosPerSecond) { in addNanosecondsToCurrentTime() 232 waitTime->tv_sec++; in addNanosecondsToCurrentTime() 233 waitTime->tv_nsec -= kNanosPerSecond; in addNanosecondsToCurrentTime()
|
/system/chre/platform/linux/task_util/ |
D | task_manager.cc | 116 auto waitTime = in run() local 118 if (waitTime.count() > 0) { in run() 119 mConditionVariable.wait_for(lock, waitTime); in run()
|
/system/extras/tests/workloads/ |
D | systemapps.sh | 29 waitTime=3.0 41 (-W) waitTime=$2; shift; ret=1;; 182 sleep $waitTime
|
/system/libfmq/tests/ |
D | fmq_unit_tests.cpp | 624 struct timespec waitTime = {0, 100 * 1000000}; in TYPED_TEST() local 625 ASSERT_EQ(0, nanosleep(&waitTime, NULL)); in TYPED_TEST() 635 ASSERT_EQ(0, nanosleep(&waitTime, NULL)); in TYPED_TEST()
|