Home
last modified time | relevance | path

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

/external/autotest/client/cros/
Drtc.py27 def write_wake_alarm(alarm_time, rtc_device='rtc0'): argument
32 f.write('%s\n' % str(alarm_time))
36 def set_wake_alarm(alarm_time, rtc_device='rtc0'): argument
41 write_wake_alarm(alarm_time, rtc_device)
46 write_wake_alarm(alarm_time, rtc_device)
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc289 itimerspec alarm_time; in ResetImpl() local
290 memset(&alarm_time, 0, sizeof(alarm_time)); in ResetImpl()
291 alarm_time.it_value.tv_sec = delay.InSeconds(); in ResetImpl()
292 alarm_time.it_value.tv_nsec = in ResetImpl()
295 if (timerfd_settime(alarm_fd_, 0, &alarm_time, NULL) < 0) in ResetImpl()
/external/autotest/client/site_tests/power_AudioDetector/
Dpower_AudioDetector.py52 alarm_time = rtc.get_seconds() + run_time_sec
53 rtc.set_wake_alarm(alarm_time)
/external/autotest/client/bin/
Dbase_utils.py1040 def set_wake_alarm(alarm_time): argument
1044 utils.write_one_line('/sys/class/rtc/rtc0/wakealarm', str(alarm_time))