Searched defs:now (Results 1 - 11 of 11) sorted by relevance

/hardware/ril/librilutils/
H A Dlibrilutils.c21 struct timespec now; local
22 clock_gettime(CLOCK_MONOTONIC, &now);
23 return now.tv_sec * 1000000000LL + now.tv_nsec;
/hardware/libhardware/modules/local_time/
H A Dlocal_time_hw.c37 uint64_t now; local
47 now = (((uint64_t)ts.tv_sec) * 1000000000ull) +
50 return (int64_t)now;
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Event.c171 struct timeval now; local
182 gettimeofday(&now, NULL);
184 tv_us = now.tv_usec + ms * 1000;
185 timeout.tv_sec = now.tv_sec + tv_us / 1000000;
/hardware/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_events.c272 struct timeval now; local
359 gettimeofday(&now, NULL);
360 timeout_us = now.tv_usec + 1000 * uTimeOutMsec;
361 timeout.tv_sec = now.tv_sec + timeout_us / 1000000;
/hardware/ril/libril/
H A Dril_event.cpp163 struct timeval now; local
167 getNow(&now);
168 // walk list, see if now >= ev->timeout for any events
170 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec);
171 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) {
219 struct timeval now; local
221 getNow(&now);
229 dlog("~~~~ now = %ds + %dus ~~~~", (int)now
298 struct timeval now; local
[all...]
/hardware/libhardware_legacy/audio/
H A DA2dpAudioInterface.cpp317 nsecs_t now = systemTime(); local
318 if ((uint32_t)ns2us(now - mLastWriteTime) < (mBufferDurationUs >> 2)) {
320 usleep(mBufferDurationUs - (uint32_t)ns2us(now - mLastWriteTime));
322 mLastWriteTime = now;
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
H A DV4LCameraAdapter.cpp436 nsecs_t now = systemTime(); local
437 nsecs_t diff = now - mLastFpsTime;
439 mLastFpsTime = now;
454 nsecs_t now = systemTime(); local
455 nsecs_t diff = now - mLastFPSTime;
457 mLastFPSTime = now;
/hardware/qcom/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp932 nsecs_t now = systemTime(); local
933 nsecs_t diff = now - n_vLastFpsTime;
937 n_vLastFpsTime = now;
958 nsecs_t now = systemTime(); local
959 nsecs_t diff = now - n_pLastFpsTime;
963 n_pLastFpsTime = now;
/hardware/ti/omap4xxx/security/tee_client_api/
H A Dtee_client_api_linux_driver.c335 struct timeval now; local
337 gettimeofday(&now,NULL);
338 currentTime = now.tv_sec;
339 currentTime = (currentTime * 1000) + (now.tv_usec / 1000);
352 * Get a time-limit equal to now + relative timeout expressed in milliseconds.
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXCameraAdapter.cpp489 // TODO(XXX): Limiting 1080p to (24,24) or (15,15) for now. Need to remove later.
508 //use preview resolution for now
2887 nsecs_t now = systemTime(); local
2888 nsecs_t diff = now - mLastFpsTime;
2890 mLastFpsTime = now;
3193 nsecs_t now = systemTime(); local
3194 nsecs_t diff = now - mLastFPSTime;
3196 mLastFPSTime = now;
3319 // system now. So, workaround for now i
[all...]
/hardware/ti/omap4xxx/test/CameraHal/
H A Dcamera_test_menu.cpp554 nsecs_t now = systemTime(); local
555 nsecs_t diff = now - mLastFpsTime;
557 mLastFpsTime = now;

Completed in 6257 milliseconds