Home
last modified time | relevance | path

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

/system/bt/gd/os/linux_generic/
Drepeating_alarm.cc56 long period_ms = period.count(); in Schedule() local
57 itimerspec timer_itimerspec{{period_ms / 1000, period_ms % 1000 * 1000000}, in Schedule()
58 {period_ms / 1000, period_ms % 1000 * 1000000}}; in Schedule()
Drepeating_alarm_unittest.cc99 int period_ms = 10; in TEST_F() local
101 …td::promise<void>::set_value, common::Unretained(&promise)), std::chrono::milliseconds(period_ms)); in TEST_F()
106 ASSERT_NEAR(duration.count(), period_ms * 1000000, error_ms * 1000000); in TEST_F()
/system/bt/gd/os/fuzz/
Dfake_timerfd.cc33 uint64_t period_ms; member in bluetooth::os::fuzz::FakeTimerFd
69 uint64_t period_ms = timespec_to_ms(&new_value->it_value); in fake_timerfd_settime() local
71 entry->period_ms = period_ms; in fake_timerfd_settime()
113 bool is_periodic = to_fire->period_ms != 0; in fire_next_event()
115 to_fire->trigger_ms += to_fire->period_ms; in fire_next_event()
/system/bt/osi/src/
Dalarm.cc94 uint64_t period_ms; member
136 static void alarm_set_internal(alarm_t* alarm, uint64_t period_ms,
224 static void alarm_set_internal(alarm_t* alarm, uint64_t period_ms, in alarm_set_internal() argument
234 alarm->period_ms = period_ms; in alarm_set_internal()
427 if ((alarm->is_periodic) && (alarm->period_ms != 0)) in schedule_next_instance()
429 ((just_now_ms - alarm->creation_time_ms) % alarm->period_ms); in schedule_next_instance()
430 alarm->deadline_ms = just_now_ms + (alarm->period_ms - ms_into_period); in schedule_next_instance()
760 (unsigned long long)alarm->period_ms, in alarm_debug_dump()