Home
last modified time | relevance | path

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

/system/bt/gd/os/linux_generic/
Drepeating_alarm.cc53 long period_ms = period.count(); in Schedule() local
55 {period_ms / 1000, period_ms % 1000 * 1000000}, in Schedule()
56 {period_ms / 1000, period_ms % 1000 * 1000000} in Schedule()
Drepeating_alarm_unittest.cc87 int period_ms = 10; in TEST_F() local
89 std::chrono::milliseconds(period_ms)); in TEST_F()
94 ASSERT_NEAR(duration.count(), period_ms * 1000000, error_ms * 1000000); in TEST_F()
/system/bt/osi/src/
Dalarm.cc96 uint64_t period_ms; member
138 static void alarm_set_internal(alarm_t* alarm, uint64_t period_ms,
225 static void alarm_set_internal(alarm_t* alarm, uint64_t period_ms, in alarm_set_internal() argument
235 alarm->period_ms = period_ms; in alarm_set_internal()
431 if ((alarm->is_periodic) && (alarm->period_ms != 0)) in schedule_next_instance()
433 ((just_now_ms - alarm->creation_time_ms) % alarm->period_ms); in schedule_next_instance()
434 alarm->deadline_ms = just_now_ms + (alarm->period_ms - ms_into_period); in schedule_next_instance()
766 (unsigned long long)alarm->period_ms, in alarm_debug_dump()