Home
last modified time | relevance | path

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

/hardware/interfaces/health/utils/libhealthloop/
DHealthLoop.cpp86 if (wakealarm_fd_ == -1) return; in WakeAlarmSetInterval()
97 if (timerfd_settime(wakealarm_fd_, 0, &itval, NULL) == -1) in WakeAlarmSetInterval()
175 if (read(wakealarm_fd_, &wakeups, sizeof(wakeups)) == -1) { in WakeAlarmEvent()
184 wakealarm_fd_.reset(timerfd_create(CLOCK_BOOTTIME_ALARM, TFD_NONBLOCK)); in WakeAlarmInit()
185 if (wakealarm_fd_ == -1) { in WakeAlarmInit()
190 if (RegisterEvent(wakealarm_fd_, &HealthLoop::WakeAlarmEvent, EVENT_WAKEUP_FD)) in WakeAlarmInit()
/hardware/interfaces/health/utils/libhealthloop/include/health/
DHealthLoop.h93 android::base::unique_fd wakealarm_fd_; variable