Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 193) sorted by relevance

12345678

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dcam_semaphore_tests.cpp30 static inline void timespec_add_ms(timespec& ts, size_t ms) { in timespec_add_ms()
39 static inline int64_t time_diff(timespec& ts_start, timespec& ts_end) { in time_diff()
55 timespec ts; in TEST()
61 timespec ts_end; in TEST()
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Dtransport.c46 ts_compare(const struct timespec *t1, const struct timespec *t2) in ts_compare()
69 static struct timespec
70 ts_add_ns(const struct timespec ta, uint64_t ns) in ts_add_ns()
74 struct timespec ts = { sec, ns }; in ts_add_ns()
114 struct timespec ts, ts_timeout; in block_recv()
/hardware/nxp/nfc/halimpl/utils/
DNfccPowerTracker.h156 uint64_t TimeDiff(timespec start, timespec end);
178 struct timespec mLastScreenOffTimeStamp = {0, 0},
182 struct timespec mActiveTimeStart = {0, 0}, mActiveTimeEnd = {0, 0};
/hardware/qcom/gps/msm8996/utils/
DLocTimer.cpp180 struct timespec mFutureTime;
183 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
187 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, bool wakeOnExpire);
192 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
362 struct timespec now; in expire()
476 LocTimerDelegate::LocTimerDelegate(LocTimer& client, struct timespec& futureTime, bool wakeOnExpire) in LocTimerDelegate()
547 struct timespec futureTime; in start()
642 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
647 struct timespec getNow() { in getNow()
648 struct timespec now; in getNow()
[all …]
/hardware/qcom/gps/msm8998/utils/
DLocTimer.cpp180 struct timespec mFutureTime;
183 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
187 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
192 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
362 struct timespec now; in expire()
477 struct timespec& futureTime, in LocTimerDelegate()
554 struct timespec futureTime; in start()
654 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
659 struct timespec getNow() { in getNow()
660 struct timespec now; in getNow()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
DLocTimer.cpp179 struct timespec mFutureTime;
182 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
186 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
191 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
362 struct timespec now; in expire()
478 struct timespec& futureTime, in LocTimerDelegate()
555 struct timespec futureTime; in start()
655 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
660 struct timespec getNow() { in getNow()
661 struct timespec now; in getNow()
[all …]
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocTimer.cpp179 struct timespec mFutureTime;
182 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
186 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
191 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
361 struct timespec now; in expire()
476 struct timespec& futureTime, in LocTimerDelegate()
548 struct timespec futureTime; in start()
648 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
653 struct timespec getNow() { in getNow()
654 struct timespec now; in getNow()
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocTimer.cpp180 struct timespec mFutureTime;
183 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
187 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
192 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
362 struct timespec now; in expire()
477 struct timespec& futureTime, in LocTimerDelegate()
554 struct timespec futureTime; in start()
654 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
659 struct timespec getNow() { in getNow()
660 struct timespec now; in getNow()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocTimer.cpp181 struct timespec mFutureTime;
184 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
188 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
193 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
364 struct timespec now; in expire()
480 struct timespec& futureTime, in LocTimerDelegate()
557 struct timespec futureTime; in start()
657 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
662 struct timespec getNow() { in getNow()
663 struct timespec now; in getNow()
[all …]
/hardware/qcom/sm8150/gps/utils/
DLocTimer.cpp181 struct timespec mFutureTime;
184 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
188 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
193 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
364 struct timespec now; in expire()
480 struct timespec& futureTime, in LocTimerDelegate()
557 struct timespec futureTime; in start()
657 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
662 struct timespec getNow() { in getNow()
663 struct timespec now; in getNow()
[all …]
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocTimer.cpp179 struct timespec mFutureTime;
182 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
186 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
191 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
362 struct timespec now; in expire()
478 struct timespec& futureTime, in LocTimerDelegate()
550 struct timespec futureTime; in start()
650 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
655 struct timespec getNow() { in getNow()
656 struct timespec now; in getNow()
[all …]
/hardware/qcom/gps/msm8909/utils/
DLocTimer.cpp179 struct timespec mFutureTime;
182 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate()
186 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, bool wakeOnExpire);
191 inline struct timespec getFutureTime() { return mFutureTime; } in getFutureTime()
362 struct timespec now; in expire()
477 LocTimerDelegate::LocTimerDelegate(LocTimer& client, struct timespec& futureTime, bool wakeOnExpire) in LocTimerDelegate()
548 struct timespec futureTime; in start()
643 double getDeltaSeconds(struct timespec from, struct timespec to) { in getDeltaSeconds()
648 struct timespec getNow() { in getNow()
649 struct timespec now; in getNow()
[all …]
/hardware/google/pixel/power-libperfmgr/
DInteractionHandler.h54 size_t CalcTimespecDiffMs(struct timespec start, struct timespec end);
66 struct timespec mLastTimespec;
/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp49 struct timespec timespec; in getTime() local
50 EXPECT_EQ(0, clock_gettime(CLOCK_BOOTTIME, &timespec)); in getTime()
51 return timespec.tv_sec * 1000 + timespec.tv_nsec / 1000000; in getTime()
55 struct timespec sleep_time = {static_cast<time_t>(milliseconds / 1000), in sleep_ms()
/hardware/qcom/msm8998/original-kernel-headers/sound/
Dasound.h441 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
442 struct timespec tstamp; /* reference timestamp */
451 struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
452 struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */
454 unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
461 struct timespec tstamp; /* Timestamp */
463 struct timespec audio_tstamp; /* from sample counter or wall clock */
632 struct timespec tstamp; /* Timestamp */
744 struct timespec tstamp; /* Timestamp - last update */
794 struct timespec tstamp;
[all …]
/hardware/qcom/msm8998/kernel-headers/sound/
Dasound.h421 struct timespec trigger_tstamp;
422 struct timespec tstamp;
433 struct timespec audio_tstamp;
435 struct timespec driver_tstamp;
437 unsigned char reserved[52 - 2 * sizeof(struct timespec)];
445 struct timespec tstamp;
447 struct timespec audio_tstamp;
622 struct timespec tstamp;
735 struct timespec tstamp;
790 struct timespec tstamp;
[all …]
/hardware/qcom/msm8x26/kernel-headers/sound/
Dasound.h392 struct timespec trigger_tstamp;
394 struct timespec tstamp;
405 struct timespec audio_tstamp;
406 unsigned char reserved[56-sizeof(struct timespec)];
414 struct timespec tstamp;
416 struct timespec audio_tstamp;
589 struct timespec tstamp;
701 struct timespec tstamp;
756 struct timespec tstamp;
910 struct timespec tstamp;
[all …]
/hardware/qcom/msm8994/original-kernel-headers/sound/
Dasound.h405 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
406 struct timespec tstamp; /* reference timestamp */
415 struct timespec audio_tstamp; /* from sample counter or wall clock */
416 unsigned char reserved[56-sizeof(struct timespec)]; /* must be filled with zero */
423 struct timespec tstamp; /* Timestamp */
425 struct timespec audio_tstamp; /* from sample counter or wall clock */
592 struct timespec tstamp; /* Timestamp */
704 struct timespec tstamp; /* Timestamp - last update */
754 struct timespec tstamp;
895 struct timespec tstamp;
[all …]
/hardware/qcom/msm8x84/kernel-headers/sound/
Dasound.h392 struct timespec trigger_tstamp;
394 struct timespec tstamp;
405 struct timespec audio_tstamp;
406 unsigned char reserved[56-sizeof(struct timespec)];
414 struct timespec tstamp;
416 struct timespec audio_tstamp;
589 struct timespec tstamp;
701 struct timespec tstamp;
756 struct timespec tstamp;
910 struct timespec tstamp;
[all …]
/hardware/qcom/msm8x09/original-kernel-headers/sound/
Dasound.h413 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
414 struct timespec tstamp; /* reference timestamp */
423 struct timespec audio_tstamp; /* from sample counter or wall clock */
424 unsigned char reserved[56-sizeof(struct timespec)]; /* must be filled with zero */
431 struct timespec tstamp; /* Timestamp */
433 struct timespec audio_tstamp; /* from sample counter or wall clock */
601 struct timespec tstamp; /* Timestamp */
713 struct timespec tstamp; /* Timestamp - last update */
763 struct timespec tstamp;
906 struct timespec tstamp;
[all …]
/hardware/qcom/msm8996/kernel-headers/sound/
Dasound.h399 struct timespec trigger_tstamp;
401 struct timespec tstamp;
412 struct timespec audio_tstamp;
413 unsigned char reserved[56 - sizeof(struct timespec)];
421 struct timespec tstamp;
423 struct timespec audio_tstamp;
597 struct timespec tstamp;
709 struct timespec tstamp;
764 struct timespec tstamp;
919 struct timespec tstamp;
[all …]
/hardware/qcom/msm8x84/original-kernel-headers/sound/
Dasound.h404 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
405 struct timespec tstamp; /* reference timestamp */
414 struct timespec audio_tstamp; /* from sample counter or wall clock */
415 unsigned char reserved[56-sizeof(struct timespec)]; /* must be filled with zero */
422 struct timespec tstamp; /* Timestamp */
424 struct timespec audio_tstamp; /* from sample counter or wall clock */
591 struct timespec tstamp; /* Timestamp */
703 struct timespec tstamp; /* Timestamp - last update */
753 struct timespec tstamp;
894 struct timespec tstamp;
[all …]
/hardware/qcom/msm8994/kernel-headers/sound/
Dasound.h394 struct timespec trigger_tstamp;
395 struct timespec tstamp;
406 struct timespec audio_tstamp;
407 unsigned char reserved[56-sizeof(struct timespec)];
415 struct timespec tstamp;
417 struct timespec audio_tstamp;
590 struct timespec tstamp;
702 struct timespec tstamp;
757 struct timespec tstamp;
911 struct timespec tstamp;
[all …]
/hardware/qcom/msm8x09/kernel-headers/sound/
Dasound.h397 struct timespec trigger_tstamp;
399 struct timespec tstamp;
410 struct timespec audio_tstamp;
411 unsigned char reserved[56 - sizeof(struct timespec)];
419 struct timespec tstamp;
421 struct timespec audio_tstamp;
595 struct timespec tstamp;
707 struct timespec tstamp;
762 struct timespec tstamp;
917 struct timespec tstamp;
[all …]
/hardware/qcom/msm8x26/original-kernel-headers/sound/
Dasound.h404 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
405 struct timespec tstamp; /* reference timestamp */
414 struct timespec audio_tstamp; /* from sample counter or wall clock */
415 unsigned char reserved[56-sizeof(struct timespec)]; /* must be filled with zero */
422 struct timespec tstamp; /* Timestamp */
424 struct timespec audio_tstamp; /* from sample counter or wall clock */
591 struct timespec tstamp; /* Timestamp */
703 struct timespec tstamp; /* Timestamp - last update */
753 struct timespec tstamp;
894 struct timespec tstamp;
[all …]

12345678