Home
last modified time | relevance | path

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

/hardware/ril/libril/
Dril_event.cpp163 struct timeval now; in processTimeouts() local
167 getNow(&now); in processTimeouts()
170 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in processTimeouts()
171 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts()
219 struct timeval now; in calcNextTimeout() local
221 getNow(&now); in calcNextTimeout()
229 dlog("~~~~ now = %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in calcNextTimeout()
232 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout()
233 timersub(&tev->timeout, &now, tv); in calcNextTimeout()
298 struct timeval now; in ril_timer_add() local
[all …]
/hardware/libhardware_legacy/gps/
Dgps_qemu.c174 time_t now = time(NULL); in nmea_reader_update_utc_diff() local
179 gmtime_r( &now, &tm_utc ); in nmea_reader_update_utc_diff()
180 localtime_r( &now, &tm_local ); in nmea_reader_update_utc_diff()
239 time_t now = time(NULL); in nmea_reader_update_time() local
240 gmtime_r( &now, &tm ); in nmea_reader_update_time()