Searched refs:tv (Results 1 - 4 of 4) sorted by relevance

/hardware/ril/libril/
H A Dril_event.cpp96 static void getNow(struct timeval * tv) argument
101 tv->tv_sec = ts.tv_sec;
102 tv->tv_usec = ts.tv_nsec/1000;
104 gettimeofday(tv, NULL);
216 static int calcNextTimeout(struct timeval * tv) argument
233 timersub(&tev->timeout, &now, tv);
236 tv->tv_sec = tv->tv_usec = 0;
287 void ril_timer_add(struct ril_event * ev, struct timeval * tv) argument
293 if (tv !
350 struct timeval tv; local
[all...]
H A Dril_event.h45 void ril_timer_add(struct ril_event * ev, struct timeval * tv);
/hardware/ril/mock-ril/src/cpp/
H A Dworker.cpp163 struct timeval tv; local
170 gettimeofday(&tv, NULL);
171 ts.tv_sec = tv.tv_sec + (delay_ms / 1000);
172 ts.tv_nsec = (tv.tv_usec +
/hardware/ril/reference-ril/
H A Datchannel.c100 struct timeval tv; local
102 gettimeofday(&tv, (struct timezone *) NULL);
107 p_ts->tv_sec = tv.tv_sec + (msec / 1000);
108 p_ts->tv_nsec = (tv.tv_usec + (msec % 1000) * 1000L ) * 1000L;

Completed in 107 milliseconds