Lines Matching refs:kTimerInterval

138     const uint32_t       kTimerInterval = 10;  in TestOneTimer()  local
150 timer.Start(kTimerInterval); in TestOneTimer()
159 sNow += kTimerInterval; in TestOneTimer()
173 sNow = 0 - (kTimerInterval - 2); in TestOneTimer()
174 timer.Start(kTimerInterval); in TestOneTimer()
179 VerifyOrQuit(sPlatT0 == 0 - (kTimerInterval - 2) && sPlatDt == 10, "Start params Failed."); in TestOneTimer()
183 sNow += kTimerInterval; in TestOneTimer()
198 timer.Start(kTimerInterval); in TestOneTimer()
207 sNow += kTimerInterval + 5; in TestOneTimer()
222 timer.Start(kTimerInterval); in TestOneTimer()
231 sNow += kTimerInterval - 2; in TestOneTimer()
241 sNow += kTimerInterval; in TestOneTimer()
264 const uint32_t kTimerInterval = 10; in TestTwoTimers() local
277 timer1.Start(kTimerInterval); in TestTwoTimers()
282 VerifyOrQuit(sPlatT0 == kTimeT0 && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
287 sNow += kTimerInterval; in TestTwoTimers()
289 timer2.Start(kTimerInterval); in TestTwoTimers()
294 VerifyOrQuit(sPlatT0 == kTimeT0 && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
305 VerifyOrQuit(sPlatT0 == sNow && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
310 sNow += kTimerInterval; in TestTwoTimers()
329 timer1.Start(kTimerInterval); in TestTwoTimers()
334 VerifyOrQuit(sPlatT0 == kTimeT0 && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
339 sNow += kTimerInterval; in TestTwoTimers()
341 timer2.StartAt(ot::TimeMilli(kTimeT0), kTimerInterval - 2); // Timer 2 is even before timer 1 in TestTwoTimers()
376 timer1.Start(kTimerInterval); in TestTwoTimers()
381 VerifyOrQuit(sPlatT0 == kTimeT0 && sPlatDt == kTimerInterval, "Start params Failed."); in TestTwoTimers()
386 sNow += kTimerInterval + 5; in TestTwoTimers()
438 const uint32_t kTimerInterval[kNumTimers] = { in TenTimers() local
507 timers[i]->Start(kTimerInterval[i]); in TenTimers()
516 VerifyOrQuit(sPlatDt == kTimerInterval[5], "TestTenTimer: Start params Failed."); in TenTimers()