Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd.cpp70 static int wakealarm_fd; variable
157 if (wakealarm_fd == -1) in wakealarm_set_interval()
170 if (timerfd_settime(wakealarm_fd, 0, &itval, NULL) == -1) in wakealarm_set_interval()
256 if (read(wakealarm_fd, &wakeups, sizeof(wakeups)) == -1) { in wakealarm_event()
265 wakealarm_fd = timerfd_create(CLOCK_BOOTTIME_ALARM, TFD_NONBLOCK); in wakealarm_init()
266 if (wakealarm_fd == -1) { in wakealarm_init()
271 if (healthd_register_event(wakealarm_fd, wakealarm_event)) in wakealarm_init()