Home
last modified time | relevance | path

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

/system/bt/gd/os/fuzz/
Dfake_timerfd.cc94 FakeTimerFd* to_fire = nullptr; in fire_next_event() local
102 if (to_fire == nullptr || entry->trigger_ms < earliest_time) { in fire_next_event()
103 to_fire = entry; in fire_next_event()
109 if (to_fire == nullptr) { in fire_next_event()
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()
117 to_fire->active = is_periodic; in fire_next_event()
119 write(to_fire->fd, &value, sizeof(uint64_t)); in fire_next_event()