Searched refs:now (Results 1 – 10 of 10) sorted by relevance
/hardware/ril/librilutils/ |
D | librilutils.c | 21 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/ |
D | ril_event.cpp | 163 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/ |
D | local_time_hw.c | 37 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/ |
D | Exynos_OSAL_Event.c | 171 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/ |
D | timm_osal_events.c | 272 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/ |
D | V4LCameraAdapter.cpp | 436 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/ |
D | A2dpAudioInterface.cpp | 317 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/ |
D | tee_client_api_linux_driver.c | 335 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/ |
D | OMXCameraAdapter.cpp | 2887 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/ |
D | camera_test_menu.cpp | 554 nsecs_t now = systemTime(); in debugShowFPS() local 555 nsecs_t diff = now - mLastFpsTime; in debugShowFPS() 557 mLastFpsTime = now; in debugShowFPS()
|