Home
last modified time | relevance | path

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

/hardware/interfaces/health/2.0/default/
Dhealthd_common.cpp71 static int wakealarm_fd; variable
102 if (wakealarm_fd == -1) return; in wakealarm_set_interval()
113 if (timerfd_settime(wakealarm_fd, 0, &itval, NULL) == -1) in wakealarm_set_interval()
190 if (read(wakealarm_fd, &wakeups, sizeof(wakeups)) == -1) { in wakealarm_event()
199 wakealarm_fd = timerfd_create(CLOCK_BOOTTIME_ALARM, TFD_NONBLOCK); in wakealarm_init()
200 if (wakealarm_fd == -1) { in wakealarm_init()
205 if (healthd_register_event(wakealarm_fd, wakealarm_event, EVENT_WAKEUP_FD)) in wakealarm_init()