/hardware/ril/librilutils/ |
H A D | librilutils.c | 21 struct timespec now; local 22 clock_gettime(CLOCK_MONOTONIC, &now); 23 return now.tv_sec * 1000000000LL + now.tv_nsec;
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | sync.h | 66 struct timeval now; local 68 gettimeofday(&now,NULL); 70 abstime.tv_sec += now.tv_sec; 71 if(((abstime.tv_nsec + now.tv_usec*1000) > 1000*1000*1000) || (abstime.tv_nsec + now.tv_usec*1000 < 0)) 74 abstime.tv_nsec += now.tv_usec * 1000; 79 abstime.tv_nsec += now.tv_usec * 1000;
|
/hardware/intel/img/hwcomposer/common/observers/ |
H A D | SoftVsyncObserver.cpp | 126 const nsecs_t now = systemTime(CLOCK_MONOTONIC); local 128 nsecs_t sleep = next_vsync - now; 131 sleep = (period - ((now - next_vsync) % period)); 132 next_vsync = now + sleep;
|
/hardware/ril/libril/ |
H A D | ril_event.cpp | 163 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/modules/local_time/ |
H A D | local_time_hw.c | 37 uint64_t now; local 47 now = (((uint64_t)ts.tv_sec) * 1000000000ull) + 50 return (int64_t)now;
|
/hardware/qcom/gps/msm8960/utils/ |
H A D | loc_log.cpp | 171 struct timeval now; /* sec and usec */ local 175 gettimeofday(&now, NULL); 176 localtime_r(&now.tv_sec, &now_tm); 179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
|
/hardware/qcom/gps/utils/ |
H A D | loc_log.cpp | 171 struct timeval now; /* sec and usec */ local 175 gettimeofday(&now, NULL); 176 localtime_r(&now.tv_sec, &now_tm); 179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
H A D | Exynos_OSAL_Event.c | 171 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/hwc/ |
H A D | Android.mk | 1 # HWC under heavy development and should not be included in builds for now
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | rate_hist.c | 80 const int64_t now = pkt->data.frame.pts * 1000 * local 85 hist->pts[idx] = now; 88 if (now < cfg->rc_buf_initial_sz) 91 then = now; 98 if (now - then > cfg->rc_buf_sz) 103 if (now == then) 106 avg_bitrate = sum_sz * 8 * 1000 / (now - then);
|
/hardware/ti/omap4-aah/hwc/ |
H A D | Android.mk | 1 # HWC under heavy development and should not be included in builds for now
|
/hardware/ti/omap4-aah/domx/mm_osal/src/ |
H A D | timm_osal_events.c | 272 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/ti/omap4xxx/domx/mm_osal/src/ |
H A D | timm_osal_events.c | 272 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/ti/omap4xxx/camera/V4LCameraAdapter/ |
H A D | V4LCameraAdapter.cpp | 436 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/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
H A D | main.c | 635 struct tm *now; local 637 now = localtime(&t); 641 now->tm_year - 100, now->tm_mon + 1, now->tm_mday, 642 now->tm_hour, now->tm_min, now->tm_sec);
|
/hardware/libhardware_legacy/audio/ |
H A D | Android.mk | 38 # The default audio policy, for now still implemented on top of legacy
|
H A D | A2dpAudioInterface.cpp | 317 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/qcom/msm8x26/ |
H A D | msm8x26.mk | 16 # include the msm8974 headers for now
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/ |
H A D | inv_gesture_test.c | 638 unsigned long now; local 641 if ((now = inv_get_tick_count()) - last_pedometer_poll 644 last_pedometer_poll = now;
|
/hardware/ti/omap4-aah/security/tee_client_api/ |
H A D | tee_client_api_linux_driver.c | 343 struct timeval now; local 345 gettimeofday(&now,NULL); 346 currentTime = now.tv_sec; 347 currentTime = (currentTime * 1000) + (now.tv_usec / 1000); 360 * Get a time-limit equal to now + relative timeout expressed in milliseconds.
|
/hardware/ti/omap4xxx/security/tee_client_api/ |
H A D | tee_client_api_linux_driver.c | 335 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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/neon/ |
H A D | fastquantizeb_neon.asm | 112 vtst.16 q14, q4, q8 ; now find eob 124 vtst.16 q2, q10, q8 ; now find eob 213 vtst.16 q14, q12, q8 ; now find eob
|
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
H A D | V4LCameraAdapter.cpp | 855 nsecs_t now = systemTime(); local 856 nsecs_t diff = now - mLastFpsTime; 858 mLastFpsTime = now; 873 nsecs_t now = systemTime(); local 874 nsecs_t diff = now - mLastFPSTime; 876 mLastFPSTime = now; 997 " @ now q0 = y q1 = uv \n\t" 1075 " @ now q0 = y q1 = uv \n\t" 1319 //For now exit this loop once a valid video capture device is found.
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
H A D | mpu_iio.c | 404 unsigned long now; local 412 if ((now = inv_get_tick_count()) - last_pedometer_poll 416 last_pedometer_poll = now;
|
/hardware/intel/img/psb_video/src/ |
H A D | psb_cmdbuf.c | 399 psbTimeDiff(struct timeval *now, struct timeval *then) argument 403 val = now->tv_sec - then->tv_sec; 405 val += now->tv_usec; 434 struct timeval then, now; local 506 if (gettimeofday(&now, NULL)) { 512 } while ((ret == EAGAIN) && (psbTimeDiff(&now, &then) < PSB_TIMEOUT_USEC));
|