/hardware/qcom/gps/msm8909/utils/ |
H A D | loc_log.cpp | 174 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 D | LocTimer.cpp | 289 // 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 D | loc_log.cpp | 168 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 D | LocTimer.cpp | 289 // 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 D | loc_eng_nmea.cpp | 58 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 D | loc_log.cpp | 172 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 D | loc_eng_nmea.cpp | 61 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 D | loc_log.cpp | 173 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 D | loc_eng_nmea.cpp | 57 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 D | loc_log.cpp | 174 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 D | LocTimer.cpp | 289 // 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 D | loc_log.cpp | 170 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 D | LocTimer.cpp | 289 // 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 D | loc_log.cpp | 173 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 D | ril_event.cpp | 162 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 D | ClientManager.cpp | 377 int64_t now = getTimestampNow(); local 380 if (clearCache || mCache.mLastCleanUpUs + kCleanUpDurationUs < now) { 385 if (lastTransactionUs + kClientTimeoutUs < now) { 405 mCache.mLastCleanUpUs = now;
|
H A D | BufferPoolClient.cpp | 188 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 D | A2dpAudioInterface.cpp | 318 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 D | VtsHalBroadcastradioV1_0TargetTest.cpp | 220 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 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/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/libhardware/modules/audio/ |
H A D | audio_hw.c | 165 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 D | QCameraMjpegDecode.cpp | 664 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 D | CCodec.cpp | 1031 // 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 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));
|