Searched defs:now (Results 26 - 50 of 67) sorted by relevance

123

/hardware/qcom/gps/msm8909/utils/
H A Dloc_log.cpp174 struct timeval now; /* sec and usec */ local
178 gettimeofday(&now, NULL);
179 localtime_r(&now.tv_sec, &now_tm);
182 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
H A DLocTimer.cpp289 // if tree is empty now, we remove poll and disarm timer
362 struct timespec now; local
363 // get time spec of now
364 clock_gettime(CLOCK_BOOTTIME, &now);
365 LocTimerDelegate timerOfNow(now);
366 // pop everything in the heap that outRanks now, i.e. has time older than now
649 struct timespec now; local
650 clock_gettime(CLOCK_BOOTTIME, &now);
651 return now;
658 struct timespec now; local
675 struct timespec now = getTimerWrapper(0); local
[all...]
/hardware/qcom/gps/msm8909w_3100/utils/
H A Dloc_log.cpp168 struct timeval now; /* sec and usec */ local
172 gettimeofday(&now, NULL);
173 localtime_r(&now.tv_sec, &now_tm);
176 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
H A DLocTimer.cpp289 // if tree is empty now, we remove poll and disarm timer
362 struct timespec now; local
363 // get time spec of now
364 clock_gettime(CLOCK_BOOTTIME, &now);
365 LocTimerDelegate timerOfNow(now);
366 // pop everything in the heap that outRanks now, i.e. has time older than now
661 struct timespec now; local
662 clock_gettime(CLOCK_BOOTTIME, &now);
663 return now;
670 struct timespec now; local
687 struct timespec now = getTimerWrapper(0); local
[all...]
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dloc_eng_nmea.cpp58 int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000; local
59 loc_eng_data_p->nmea_cb(now, pNmea, length);
706 // now to be sent during position report.
/hardware/qcom/gps/msm8960/utils/
H A Dloc_log.cpp172 struct timeval now; /* sec and usec */ local
176 gettimeofday(&now, NULL);
177 localtime_r(&now.tv_sec, &now_tm);
180 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
H A Dloc_eng_nmea.cpp61 int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000; local
64 loc_eng_data_p->nmea_cb(now, pNmea, length);
818 // now to be sent during position report.
/hardware/qcom/gps/msm8994/utils/
H A Dloc_log.cpp173 struct timeval now; /* sec and usec */ local
177 gettimeofday(&now, NULL);
178 localtime_r(&now.tv_sec, &now_tm);
181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
H A Dloc_eng_nmea.cpp57 int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000; local
59 loc_eng_data_p->nmea_cb(now, pNmea, length);
91 // length now contains nmea sentence string length not including $ sign.
794 // now to be sent during position report.
/hardware/qcom/gps/msm8996/utils/
H A Dloc_log.cpp174 struct timeval now; /* sec and usec */ local
178 gettimeofday(&now, NULL);
179 localtime_r(&now.tv_sec, &now_tm);
182 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
H A DLocTimer.cpp289 // if tree is empty now, we remove poll and disarm timer
362 struct timespec now; local
363 // get time spec of now
364 clock_gettime(CLOCK_BOOTTIME, &now);
365 LocTimerDelegate timerOfNow(now);
366 // pop everything in the heap that outRanks now, i.e. has time older than now
648 struct timespec now; local
649 clock_gettime(CLOCK_BOOTTIME, &now);
650 return now;
657 struct timespec now; local
674 struct timespec now = getTimerWrapper(0); local
[all...]
/hardware/qcom/gps/msm8998/utils/
H A Dloc_log.cpp170 struct timeval now; /* sec and usec */ local
174 gettimeofday(&now, NULL);
175 localtime_r(&now.tv_sec, &now_tm);
178 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
H A DLocTimer.cpp289 // if tree is empty now, we remove poll and disarm timer
362 struct timespec now; local
363 // get time spec of now
364 clock_gettime(CLOCK_BOOTTIME, &now);
365 LocTimerDelegate timerOfNow(now);
366 // pop everything in the heap that outRanks now, i.e. has time older than now
660 struct timespec now; local
661 clock_gettime(CLOCK_BOOTTIME, &now);
662 return now;
669 struct timespec now; local
686 struct timespec now = getTimerWrapper(0); local
[all...]
/hardware/qcom/gps/utils/
H A Dloc_log.cpp173 struct timeval now; /* sec and usec */ local
177 gettimeofday(&now, NULL);
178 localtime_r(&now.tv_sec, &now_tm);
181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000));
/hardware/ril/libril/
H A Dril_event.cpp162 struct timeval now; local
166 getNow(&now);
167 // walk list, see if now >= ev->timeout for any events
169 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec);
170 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) {
218 struct timeval now; local
220 getNow(&now);
228 dlog("~~~~ now = %ds + %dus ~~~~", (int)now
297 struct timeval now; local
[all...]
/hardware/google/av/codec2/vndk/bufferpool/
H A DClientManager.cpp377 int64_t now = getTimestampNow(); local
380 if (clearCache || mCache.mLastCleanUpUs + kCleanUpDurationUs < now) {
385 if (lastTransactionUs + kClientTimeoutUs < now) {
405 mCache.mLastCleanUpUs = now;
H A DBufferPoolClient.cpp188 int64_t now = getTimestampNow(); local
189 return now >= mExpireUs;
462 int64_t now = getTimestampNow(); local
463 if (timestampUs == 0 || now < timestampUs) {
528 int64_t now = getTimestampNow(); local
529 if (now >= mLastEvictCacheUs + kCacheTtlUs || clearCache) {
541 mLastEvictCacheUs = now;
/hardware/libhardware_legacy/audio/
H A DA2dpAudioInterface.cpp318 nsecs_t now = systemTime(); local
319 if ((uint32_t)ns2us(now - mLastWriteTime) < (mBufferDurationUs >> 2)) {
321 usleep(mBufferDurationUs - (uint32_t)ns2us(now - mLastWriteTime));
323 mLastWriteTime = now;
/hardware/interfaces/broadcastradio/1.0/vts/functional/
H A DVtsHalBroadcastradioV1_0TargetTest.cpp220 nsecs_t now = systemTime(); local
221 if (now > endTime) {
224 mCallbackCond.waitRelative(mLock, endTime - now);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
H A Dinv_gesture_test.c638 unsigned long now; local
641 if ((now = inv_get_tick_count()) - last_pedometer_poll
644 last_pedometer_poll = now;
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
H A Dmpu_iio.c404 unsigned long now; local
412 if ((now = inv_get_tick_count()) - last_pedometer_poll
416 last_pedometer_poll = now;
/hardware/libhardware/modules/audio/
H A Daudio_hw.c165 const int64_t now = (t.tv_sec * 1000000000LL + t.tv_nsec) / 1000; local
166 const int64_t elapsed_time_since_last_write = now - out->last_write_time_us;
175 out->last_write_time_us = now + sleep_time;
306 const int64_t now = (t.tv_sec * 1000000000LL + t.tv_nsec) / 1000; local
311 0 : now - in->last_read_time_us;
319 in->last_read_time_us = now + sleep_time;
/hardware/qcom/camera/msm8998/usbcamcore/src/
H A DQCameraMjpegDecode.cpp664 timespec now; local
666 int rc = mjpegd_timer_start(&now);
671 diff = (long)(now.tv_sec - p_timer->tv_sec) * 1000;
672 diff += (long)(now.tv_nsec - p_timer->tv_nsec) / 1000000;
676 *p_timer = now;
/hardware/google/av/media/sfplugin/
H A DCCodec.cpp1031 // We're already stopped, released, or doing it right now.
1081 // We're already released or doing it right now.
1293 TimePoint now = std::chrono::steady_clock::now(); local
1297 setDeadline(now + 150ms, "allocate");
1305 setDeadline(now + 50ms, "configure");
1313 setDeadline(now + 550ms, "start");
1319 setDeadline(now + 550ms, "stop");
1325 setDeadline(now + 50ms, "flush");
1331 setDeadline(now
[all...]
/hardware/intel/img/psb_video/src/
H A Dpsb_cmdbuf.c399 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));

Completed in 705 milliseconds

123