Searched refs:now (Results 1 - 20 of 20) sorted by relevance

/hardware/qcom/gps/utils/
H A Dloc_log.cpp120 struct timeval now; /* sec and usec */ local
124 gettimeofday(&now, NULL);
125 localtime_r(&now.tv_sec, &now_tm);
128 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
/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/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/hwc/
H A DAndroid.mk1 # HWC under heavy development and should not be included in builds for now
/hardware/ril/mock-ril/src/cpp/
H A Dworker.cpp151 int64_t now = android::elapsedRealtime(); local
153 ((wq->delayed_q_.top()->time - now) <= 0)) {
166 int64_t delay_ms = r->time - now;
287 int64_t now = android::elapsedRealtime(); local
289 " p=%p delay_in_ms=%d now=%lldms top->p=%p"
291 p, delay_in_ms, now, delayed_q_.top()->p,
292 delayed_q_.top()->time, delayed_q_.top()->time - now);
/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/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/libhardware_legacy/audio/
H A DAndroid.mk36 # The default audio policy, for now still implemented on top of legacy
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/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/qcom/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Record.cpp560 nsecs_t now = systemTime(); local
561 nsecs_t diff = now - mLastFpsTime;
565 mLastFpsTime = now;
H A DQCameraHWI.cpp119 /*now init all the buffers and send to steam object*/
681 nsecs_t now = systemTime(); local
682 nsecs_t diff = now - mLastFpsTime;
686 mLastFpsTime = now;
988 LOGE("%s: start preview now", __func__);
2087 /* we have valid surface now, start preview */
2120 /* this is a dummy func now. fix me later */
/hardware/qcom/camera/
H A DQCameraHWI_Record.cpp559 nsecs_t now = systemTime(); local
560 nsecs_t diff = now - mLastFpsTime;
564 mLastFpsTime = now;
H A DQCameraHWI.cpp120 /*now init all the buffers and send to steam object*/
695 nsecs_t now = systemTime(); local
696 nsecs_t diff = now - mLastFpsTime;
700 mLastFpsTime = now;
1029 ALOGD("%s: start preview now", __func__);
2235 /* we have valid surface now, start preview */
2267 /* this is a dummy func now. fix me later */
H A DQualcommCameraHardware.cpp257 * Hence populating with default sizes for now. This needs
2244 #if 0 //commenting this for now as not getting graphics permission
3824 //Chroma Height is not needed as of now. Just sending with other dimensions.
4430 ALOGE("Multiple raw snapshot capture not supported for now....");
5025 //Starting preview now as the preview buffers are allocated
5693 /*now just wait for auto focus thread to be finished*/
6702 nsecs_t now = systemTime(); local
6703 nsecs_t diff = now - mLastFpsTime;
6707 mLastFpsTime = now;
6719 nsecs_t now local
[all...]
/hardware/qcom/gps/loc_api/libloc_api/
H A Dloc_eng.cpp994 long long now = tv.tv_sec * 1000LL + tv.tv_usec / 1000; local
997 loc_eng_data.nmea_cb(now, nmea_report_ptr->nmea_sentences.nmea_sentences_val,
1000 loc_eng_data.nmea_cb(now, nmea_report_ptr->nmea_sentences, nmea_report_ptr->length);
1028 // This implemenation is based on the fact that modem now at any time has only one data connection for AGPS at any given time
/hardware/ti/omap4xxx/test/CameraHal/
H A Dcamera_test_menu.cpp552 nsecs_t now = systemTime(); local
553 nsecs_t diff = now - mLastFpsTime;
555 mLastFpsTime = now;
/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/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng.cpp371 LOC_LOGD("loc_eng_cleanup: fix not stopped. stop it now.");
389 LOC_LOGD("loc_eng_init: client opened. close it now.");
1493 int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000; local
1495 loc_eng_data_p->nmea_cb(now, nmMsg->nmea, nmMsg->length);

Completed in 780 milliseconds