Home
last modified time | relevance | path

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

/system/core/libutils/
DLooper_test.cpp138 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); in TEST_F() local
140 EXPECT_NEAR(100, elapsedMillis, TIMING_TOLERANCE_MS) in TEST_F()
151 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); in TEST_F() local
153 EXPECT_NEAR(0, elapsedMillis, TIMING_TOLERANCE_MS) in TEST_F()
165 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); in TEST_F() local
167 EXPECT_NEAR(100, elapsedMillis, TIMING_TOLERANCE_MS) in TEST_F()
176 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); in TEST_F() local
178 EXPECT_NEAR(0, elapsedMillis, TIMING_TOLERANCE_MS) in TEST_F()
192 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); in TEST_F() local
194 EXPECT_NEAR(0, elapsedMillis, TIMING_TOLERANCE_MS) in TEST_F()
[all …]
/system/connectivity/wificond/tests/
Dlooper_backed_event_loop_unittest.cpp102 int32_t elapsedMillis = ns2ms(stopWatch.elapsedTime()); in TEST_F() local
103 EXPECT_NEAR(500, elapsedMillis, kTimingToleranceMs); in TEST_F()