/system/extras/tests/timetest/ |
D | timetest.c | 15 struct timespec t; in nanotime() 26 static struct timespec ts_sub(struct timespec a, struct timespec b) in ts_sub() 28 struct timespec r; in ts_sub() 42 static struct timespec ts_min(struct timespec a, struct timespec b) in ts_min() 50 static struct timespec ts_max(struct timespec a, struct timespec b) in ts_max() 61 struct timespec t1, dtmin, dtminp, dtmax; in main() 80 struct timespec t, dt; in main()
|
/system/extras/tests/lib/testUtil/include/ |
D | testUtil.h | 28 struct timespec double2ts(double amt); 30 double ts2double(const struct timespec *val); 32 struct timespec tsDelta(const struct timespec *first, 33 const struct timespec *second);
|
/system/media/audio_utils/include/audio_utils/ |
D | clock_nanosleep.h | 32 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, in audio_utils_clock_nanosleep() 33 struct timespec *remain) in audio_utils_clock_nanosleep() 48 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, in audio_utils_clock_nanosleep() 49 struct timespec *remain) in audio_utils_clock_nanosleep()
|
D | fifo.h | 286 const struct timespec *timeout = NULL) = 0; 394 ssize_t write(const void *buffer, size_t count, const struct timespec *timeout = NULL); 398 const struct timespec *timeout = NULL); 521 ssize_t read(void *buffer, size_t count, const struct timespec *timeout = NULL, 526 const struct timespec *timeout = NULL); 540 ssize_t obtain(audio_utils_iovec iovec[2], size_t count, const struct timespec *timeout,
|
D | fifo_index.h | 80 int wait(int op, uint32_t expected, const struct timespec *timeout); 200 int wait(int op, const struct timespec *timeout);
|
D | clock.h | 104 static inline int64_t audio_utils_ns_from_timespec(const struct timespec *ts) in audio_utils_ns_from_timespec() 117 struct timespec now_ts; in audio_utils_get_real_time_ns()
|
D | futex.h | 35 int sys_futex(void *addr1, int op, int val1, const struct timespec *timeout, void *addr2, in sys_futex()
|
/system/logging/liblog/include/log/ |
D | log_time.h | 40 static constexpr timespec EPOCH = {0, 0}; 43 explicit log_time(const timespec& T) in log_time() 50 timespec T; in log_time() 57 bool operator==(const timespec& T) const { 61 bool operator!=(const timespec& T) const { 64 bool operator<(const timespec& T) const { 69 bool operator>=(const timespec& T) const { 72 bool operator>(const timespec& T) const { 77 bool operator<=(const timespec& T) const {
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 44 double ts2double(const struct timespec *val) in ts2double() 66 struct timespec double2ts(double amt) in double2ts() 68 struct timespec rv; in double2ts() 100 struct timespec tsDelta(const struct timespec *first, in tsDelta() 101 const struct timespec *second) in tsDelta() 103 struct timespec rv; in tsDelta() 264 struct timespec start, current, delta; in testDelay() 265 struct timespec remaining; in testDelay() 290 struct timespec start, current, delta; in testDelaySpin()
|
/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 35 long long timediff_ns(const struct timespec *a, const struct timespec *b) { in timediff_ns() 118 struct timespec expected_time; in main() 119 struct timespec actual_time; in main()
|
/system/extras/simpleperf/runtest/ |
D | run_and_sleep.cpp | 9 timespec ts; in GetSystemClock() 25 struct timespec req; in SleepFunction()
|
/system/update_engine/common/ |
D | clock.cc | 28 struct timespec now_ts; in GetMonotonicTime() 44 struct timespec now_ts; in GetBootTime()
|
/system/bt/common/ |
D | time_util_unittest.cc | 70 struct timespec delay = {}; in TEST() 91 struct timespec delay = {}; in TEST() 132 struct timespec delay = {}; in TEST()
|
D | time_util.cc | 31 struct timespec ts_now = {}; in time_get_os_boottime_us()
|
/system/logging/liblog/ |
D | pmsg_writer.h | 23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
|
D | logd_writer.h | 23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
|
D | logprint.cpp | 1154 static char* readSeconds(char* e, struct timespec* t) { in readSeconds() 1169 static struct timespec* sumTimespec(struct timespec* left, struct timespec* right) { in sumTimespec() 1179 static struct timespec* subTimespec(struct timespec* result, struct timespec* left, in subTimespec() 1180 struct timespec* right) { in subTimespec() 1190 static long long nsecTimespec(struct timespec* now) { in nsecTimespec() 1194 static void convertMonotonic(struct timespec* result, const AndroidLogEntry* entry) { in convertMonotonic() 1198 struct timespec time; in convertMonotonic() 1199 struct timespec convert; in convertMonotonic() 1201 struct timespec time, convert; in convertMonotonic() 1206 struct timespec suspended_monotonic = {0, 0}; in convertMonotonic() [all …]
|
/system/chre/chpp/platform/linux/ |
D | notifier.c | 72 struct timespec timeout; in chppPlatformNotifierTimedWait() 73 struct timespec absTime; in chppPlatformNotifierTimedWait()
|
/system/logging/liblog/tests/ |
D | log_time_test.cpp | 24 struct timespec ts; in TEST()
|
/system/chre/chpp/platform/linux/include/chpp/platform/ |
D | platform_time.h | 32 struct timespec now; in chppGetCurrentTimeNs()
|
/system/core/libstats/push_compat/ |
D | statsd_writer.h | 40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
|
/system/chre/platform/linux/ |
D | system_time.cc | 29 struct timespec timeNow; in getMonotonicTime()
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/ |
D | native-lib.cpp | 65 timespec ts; in GetSystemClock() 80 struct timespec req; in SleepFunction()
|
/system/media/audio_utils/ |
D | fifo_index.cpp | 49 int audio_utils_fifo_index::wait(int op, uint32_t expected, const struct timespec *timeout) in wait() 165 int RefIndexCachedLoadAcquireDeferredWait::wait(int op, const struct timespec *timeout)
|
/system/extras/memory_replay/ |
D | Utils.h | 23 struct timespec t = {}; in Nanotime()
|