Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/osi/test/
Dalarm_test.cpp61 struct itimerspec wakeup_time; in set_wake_alarm() local
62 memset(&wakeup_time, 0, sizeof(wakeup_time)); in set_wake_alarm()
63 wakeup_time.it_value.tv_sec = (delay_millis / 1000); in set_wake_alarm()
64 wakeup_time.it_value.tv_nsec = (delay_millis % 1000) * 1000000LL; in set_wake_alarm()
65 timer_settime(timer, 0, &wakeup_time, NULL); in set_wake_alarm()
/external/bluetooth/bluedroid/osi/src/
Dalarm.c267 struct itimerspec wakeup_time; in reschedule() local
268 memset(&wakeup_time, 0, sizeof(wakeup_time)); in reschedule()
269 wakeup_time.it_value.tv_sec = (next->deadline / 1000); in reschedule()
270 wakeup_time.it_value.tv_nsec = (next->deadline % 1000) * 1000000LL; in reschedule()
271 if (timer_settime(timer, TIMER_ABSTIME, &wakeup_time, NULL) == -1) { in reschedule()
/external/chromium_org/base/process/
Dkill_posix.cc62 TimeTicks wakeup_time = TimeTicks::Now() + wait; in WaitpidWithTimeout() local
65 if (now > wakeup_time) in WaitpidWithTimeout()
68 int64 sleep_time_usecs = (wakeup_time - now).InMicroseconds(); in WaitpidWithTimeout()