Home
last modified time | relevance | path

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

/hardware/interfaces/health/utils/libhealthloop/
DHealthLoop.cpp84 if (wakealarm_fd_ == -1) return; in WakeAlarmSetInterval()
95 if (timerfd_settime(wakealarm_fd_, 0, &itval, NULL) == -1) in WakeAlarmSetInterval()
173 if (read(wakealarm_fd_, &wakeups, sizeof(wakeups)) == -1) { in WakeAlarmEvent()
182 wakealarm_fd_.reset(timerfd_create(CLOCK_BOOTTIME_ALARM, TFD_NONBLOCK)); in WakeAlarmInit()
183 if (wakealarm_fd_ == -1) { in WakeAlarmInit()
188 if (RegisterEvent(wakealarm_fd_, &HealthLoop::WakeAlarmEvent, EVENT_WAKEUP_FD)) in WakeAlarmInit()
/hardware/interfaces/health/utils/libhealthloop/include/health/
DHealthLoop.h100 android::base::unique_fd wakealarm_fd_; variable