Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/os/fake_timer/
Dfake_timerfd.cc98 FakeTimerFd* to_fire = nullptr; in fire_next_event() local
106 if (to_fire == nullptr || entry->trigger_ms < earliest_time) { in fire_next_event()
107 to_fire = entry; in fire_next_event()
113 if (to_fire == nullptr) { in fire_next_event()
117 bool is_periodic = to_fire->period_ms != 0; in fire_next_event()
119 to_fire->trigger_ms += to_fire->period_ms; in fire_next_event()
121 to_fire->active = is_periodic; in fire_next_event()
123 write(to_fire->fd, &value, sizeof(uint64_t)); in fire_next_event()