Home
last modified time | relevance | path

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

/hardware/ril/librilutils/
Dlibrilutils.c21 struct timespec now; in ril_nano_time() local
22 clock_gettime(CLOCK_MONOTONIC, &now); in ril_nano_time()
23 return now.tv_sec * 1000000000LL + now.tv_nsec; in ril_nano_time()
/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/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Event.c171 struct timeval now; in Exynos_OSAL_SignalWait() local
182 gettimeofday(&now, NULL); in Exynos_OSAL_SignalWait()
184 tv_us = now.tv_usec + ms * 1000; in Exynos_OSAL_SignalWait()
185 timeout.tv_sec = now.tv_sec + tv_us / 1000000; in Exynos_OSAL_SignalWait()
/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/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/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp554 nsecs_t now = systemTime(); in debugShowFPS() local
555 nsecs_t diff = now - mLastFpsTime; in debugShowFPS()
557 mLastFpsTime = now; in debugShowFPS()