Home
last modified time | relevance | path

Searched refs:now (Results 1 – 11 of 11) 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/modules/local_time/
Dlocal_time_hw.c37 uint64_t now; in ltdev_get_local_time() local
47 now = (((uint64_t)ts.tv_sec) * 1000000000ull) + in ltdev_get_local_time()
50 return (int64_t)now; in ltdev_get_local_time()
/hardware/ril/mock-ril/src/cpp/
Dworker.cpp151 int64_t now = android::elapsedRealtime(); in Worker() local
153 ((wq->delayed_q_.top()->time - now) <= 0)) { in Worker()
166 int64_t delay_ms = r->time - now; in Worker()
287 int64_t now = android::elapsedRealtime(); in AddDelayed() local
291 p, delay_in_ms, now, delayed_q_.top()->p, in AddDelayed()
292 delayed_q_.top()->time, delayed_q_.top()->time - now); in AddDelayed()
/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_events.c272 struct timeval now; in TIMM_OSAL_EventRetrieve() local
359 gettimeofday(&now, NULL); in TIMM_OSAL_EventRetrieve()
360 timeout_us = now.tv_usec + 1000 * uTimeOutMsec; in TIMM_OSAL_EventRetrieve()
361 timeout.tv_sec = now.tv_sec + timeout_us / 1000000; in TIMM_OSAL_EventRetrieve()
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp436 nsecs_t now = systemTime(); in debugShowFPS() local
437 nsecs_t diff = now - mLastFpsTime; in debugShowFPS()
439 mLastFpsTime = now; in debugShowFPS()
454 nsecs_t now = systemTime(); in recalculateFPS() local
455 nsecs_t diff = now - mLastFPSTime; in recalculateFPS()
457 mLastFPSTime = now; in recalculateFPS()
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp317 nsecs_t now = systemTime(); in write() local
318 if ((uint32_t)ns2us(now - mLastWriteTime) < (mBufferDurationUs >> 2)) { in write()
320 usleep(mBufferDurationUs - (uint32_t)ns2us(now - mLastWriteTime)); in write()
322 mLastWriteTime = now; in write()
/hardware/ti/omap4xxx/security/tee_client_api/
Dtee_client_api_linux_driver.c335 struct timeval now; in scxGetCurrentTime() local
337 gettimeofday(&now,NULL); in scxGetCurrentTime()
338 currentTime = now.tv_sec; in scxGetCurrentTime()
339 currentTime = (currentTime * 1000) + (now.tv_usec / 1000); in scxGetCurrentTime()
/hardware/qcom/gps/loc_api/libloc_api/
Dloc_eng.cpp998 long long now = tv.tv_sec * 1000LL + tv.tv_usec / 1000; in loc_eng_report_nmea() local
1001 loc_eng_data.nmea_cb(now, nmea_report_ptr->nmea_sentences.nmea_sentences_val, in loc_eng_report_nmea()
1004 loc_eng_data.nmea_cb(now, nmea_report_ptr->nmea_sentences, nmea_report_ptr->length); in loc_eng_report_nmea()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp2887 nsecs_t now = systemTime(); in debugShowFPS() local
2888 nsecs_t diff = now - mLastFpsTime; in debugShowFPS()
2890 mLastFpsTime = now; in debugShowFPS()
3193 nsecs_t now = systemTime(); in recalculateFPS() local
3194 nsecs_t diff = now - mLastFPSTime; in recalculateFPS()
3196 mLastFPSTime = now; in recalculateFPS()
/hardware/ril/mock-ril/
DREADME.txt5 The protoc is now part of the Android build but its
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp552 nsecs_t now = systemTime(); in debugShowFPS() local
553 nsecs_t diff = now - mLastFpsTime; in debugShowFPS()
555 mLastFpsTime = now; in debugShowFPS()