Home
last modified time | relevance | path

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

123

/frameworks/base/libs/androidfw/include/androidfw/
DZipUtils.h70 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) { in zipTimeToTimespec() argument
73 memset(timespec, 0, sizeof(struct tm)); in zipTimeToTimespec()
74 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 in zipTimeToTimespec()
75 timespec->tm_mon = ((date >> 5) & 0x0F) - 1; in zipTimeToTimespec()
76 timespec->tm_mday = date & 0x1F; in zipTimeToTimespec()
78 timespec->tm_hour = (when >> 11) & 0x1F; in zipTimeToTimespec()
79 timespec->tm_min = (when >> 5) & 0x3F; in zipTimeToTimespec()
80 timespec->tm_sec = (when & 0x1F) << 1; in zipTimeToTimespec()
81 timespec->tm_isdst = -1; in zipTimeToTimespec()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dclock_ns.h14 static inline timespec GetSystemClock() { in GetSystemClock()
15 timespec t; in GetSystemClock()
20 static inline timespec GetSystemClockRaw() { in GetSystemClockRaw()
21 timespec t; in GetSystemClockRaw()
27 timespec t = GetSystemClock(); in GetSystemClockNs()
33 timespec t = GetSystemClockRaw(); in GetSystemClockRawNs()
48 static inline timespec NsToTimespec(int64_t ns) { in NsToTimespec()
49 timespec t; in NsToTimespec()
/frameworks/av/media/libaaudio/src/utility/
DAudioClock.h34 struct timespec time;
54 struct timespec time;
83 struct timespec time;
/frameworks/av/services/audioflinger/
DFastThread.h54 struct timespec mOldTs;
70 struct timespec mOldLoad; // previous value of clock_gettime(CLOCK_THREAD_CPUTIME_ID)
81 struct timespec mMeasuredWarmupTs; // how long did it take for warmup to complete
DAudioWatchdog.h77 struct timespec mOldTs; // monotonic time when threadLoop last ran
78 struct timespec mLogTs; // time since last log
DAudioWatchdog.cpp56 struct timespec newTs; in threadLoop()
99 struct timespec req; in threadLoop()
DRecordTracks.h115 const struct timespec *timeOut = NULL);
123 struct timespec mPeerTimeout;
DFastThread.cpp99 const struct timespec req = {0, mSleepNs}; in threadLoop()
218 struct timespec newTs; in threadLoop()
307 struct timespec newLoad; in threadLoop()
DFastThreadDumpState.h38 struct timespec mMeasuredWarmupTs; // measured warmup time
/frameworks/av/media/libnbaio/
DNBLog.cpp82 timespec NBLog::FormatEntry::timestamp() const { in timestamp()
86 return it.payload<timespec>(); in timestamp()
304 struct timespec ts; in logTimestamp()
310 void NBLog::Writer::logTimestamp(const struct timespec &ts) in logTimestamp()
384 struct timespec t; in logVFormat()
398 t = va_arg(argp, struct timespec); in logVFormat()
534 void NBLog::LockedWriter::logTimestamp(const struct timespec &ts) in logTimestamp()
692 struct timespec ts; in dump()
699 if (prevEntry->length != sizeof(struct timespec)) { in dump()
752 struct timespec tsNext; in dump()
[all …]
DMonoPipe.cpp126 struct timespec nowTs; in write()
148 const struct timespec req = {0, static_cast<long>(ns)}; in write()
/frameworks/av/media/libcpustats/include/cpustats/
DThreadCpuUsage.h125 struct timespec mPreviousTs; // most recent thread CPU time, valid only if mIsEnabled is true
126 struct timespec mMonotonicTs; // most recent monotonic time
/frameworks/base/core/jni/
Dandroid_os_SystemClock.cpp52 struct timespec tm; in android_os_SystemClock_currentThreadTimeMillis()
64 struct timespec tm; in android_os_SystemClock_currentThreadTimeMicro()
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp58 struct timespec ts; in setEnabled()
100 struct timespec ts; in sample()
131 struct timespec ts; in elapsed()
/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp78 const struct timespec ClientProxy::kForever = {INT_MAX /*tv_sec*/, 0 /*tv_nsec*/};
79 const struct timespec ClientProxy::kNonBlocking = {0 /*tv_sec*/, 0 /*tv_nsec*/};
111 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, in obtainBuffer()
112 struct timespec *elapsed) in obtainBuffer()
115 struct timespec total; // total elapsed time spent waiting in obtainBuffer()
139 struct timespec before; in obtainBuffer()
234 struct timespec remaining; in obtainBuffer()
235 const struct timespec *ts; in obtainBuffer()
285 struct timespec after; in obtainBuffer()
414 status_t AudioTrackClientProxy::waitStreamEndDone(const struct timespec *requested) in waitStreamEndDone()
[all …]
/frameworks/av/include/private/media/
DAudioTrackShared.h242 static const struct timespec kForever;
243 static const struct timespec kNonBlocking;
278 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL,
279 struct timespec *elapsed = NULL);
399 status_t waitStreamEndDone(const struct timespec *requested);
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor_callback.cpp64 const struct timespec request = { .tv_sec = 0, in main()
99 const struct timespec request = { .tv_sec = 0, in main()
/frameworks/av/media/libnbaio/include/
DNBLog.h132 timespec timestamp() const;
251 virtual void logTimestamp(const struct timespec &ts);
301 virtual void logTimestamp(const struct timespec &ts);
430 static struct timespec getTimestamp(const uint8_t *data);
DMonoPipe.h92 struct timespec mWriteTs; // time that the previous write() completed
/frameworks/wilhelm/src/
Dlocks.cpp34 void init_time_spec(timespec* ts, long delta) { in init_time_spec()
55 timespec ts; in object_lock_exclusive_()
56 memset(&ts, 0, sizeof(timespec)); in object_lock_exclusive_()
/frameworks/av/media/mtp/
DAsyncIO.h65 int aio_suspend(struct aiocb *[], int, const struct timespec *);
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h44 struct timespec time;
/frameworks/native/services/sensorservice/
DRecentEventLogger.h51 timespec mWallTime;
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp81 int set(int type, struct timespec *ts);
101 int AlarmImpl::set(int type, struct timespec *ts) in set()
391 struct timespec ts; in android_server_AlarmManagerService_set()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h44 const struct timespec *request,
45 struct timespec *remain);

123