Home
last modified time | relevance | path

Searched refs:delay_error_ms (Results 1 – 3 of 3) sorted by relevance

/system/bt/common/
Drepeating_timer_unittest.cc30 constexpr uint32_t delay_error_ms = 100; variable
71 ASSERT_NEAR(scheduled_delay_ms, actual_delay.count(), delay_error_ms); in VerifyDelayTimeAndSleep()
163 std::this_thread::sleep_for(std::chrono::milliseconds(delay_error_ms)); in TEST_F()
179 std::this_thread::sleep_for(std::chrono::milliseconds(delay_error_ms)); in TEST_F()
210 std::chrono::milliseconds(delay_ms + delay_error_ms)); in TEST_F()
213 std::chrono::milliseconds(delay_ms + delay_error_ms)); in TEST_F()
247 std::chrono::milliseconds(delay_ms + delay_error_ms)); in TEST_F()
250 std::chrono::milliseconds(delay_ms + delay_error_ms)); in TEST_F()
Donce_timer_unittest.cc30 constexpr uint32_t delay_error_ms = 3; variable
104 std::this_thread::sleep_for(std::chrono::milliseconds(delay_error_ms)); in TEST_F()
139 std::this_thread::sleep_for(std::chrono::milliseconds(delay_error_ms)); in TEST_F()
153 std::this_thread::sleep_for(std::chrono::milliseconds(delay_error_ms)); in TEST_F()
/system/bt/gd/os/linux_generic/
Dalarm_unittest.cc60 int delay_error_ms = 3; in TEST_F() local
66 ASSERT_NEAR(duration_ms.count(), delay_ms, delay_error_ms); in TEST_F()