/frameworks/base/include/androidfw/ |
D | ZipUtils.h | 67 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) { in zipTimeToTimespec() argument 69 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 in zipTimeToTimespec() 70 timespec->tm_mon = (date >> 5) & 0x0F; in zipTimeToTimespec() 71 timespec->tm_mday = date & 0x1F; in zipTimeToTimespec() 73 timespec->tm_hour = (when >> 11) & 0x1F; in zipTimeToTimespec() 74 timespec->tm_min = (when >> 5) & 0x3F; in zipTimeToTimespec() 75 timespec->tm_sec = (when & 0x1F) << 1; in zipTimeToTimespec()
|
/frameworks/av/media/libnbaio/ |
D | NBLog.cpp | 136 struct timespec ts; in logTimestamp() 138 log(EVENT_TIMESTAMP, &ts, sizeof(struct timespec)); in logTimestamp() 142 void NBLog::Writer::logTimestamp(const struct timespec& ts) in logTimestamp() 147 log(EVENT_TIMESTAMP, &ts, sizeof(struct timespec)); in logTimestamp() 255 void NBLog::LockedWriter::logTimestamp(const struct timespec& ts) in logTimestamp() 321 struct timespec ts; in dump() 330 if (length != sizeof(struct timespec)) { in dump() 334 memcpy(&ts, ©[i - length - 1], sizeof(struct timespec)); in dump() 371 memcpy(&ts, data, sizeof(struct timespec)); in dump() 378 j += sizeof(struct timespec) + 3; in dump() [all …]
|
D | MonoPipe.cpp | 182 struct timespec nowTs; in write() 204 const struct timespec req = {0, static_cast<long>(ns)}; in write()
|
/frameworks/av/services/audioflinger/ |
D | FastThread.h | 54 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
|
D | AudioWatchdog.h | 77 struct timespec mOldTs; // monotonic time when threadLoop last ran 78 struct timespec mLogTs; // time since last log
|
D | AudioWatchdog.cpp | 56 struct timespec newTs; in threadLoop() 99 struct timespec req; in threadLoop()
|
D | RecordTracks.h | 108 const struct timespec *timeOut = NULL); 116 struct timespec mPeerTimeout;
|
D | FastThread.cpp | 94 const struct timespec req = {0, mSleepNs}; in threadLoop() 213 struct timespec newTs; in threadLoop() 302 struct timespec newLoad; in threadLoop()
|
D | FastThreadDumpState.h | 38 struct timespec mMeasuredWarmupTs; // measured warmup time
|
D | AudioStreamOut.h | 61 virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp);
|
D | StateQueue.cpp | 98 static const struct timespec req = {0, PUSH_BLOCK_ACK_NS}; in push()
|
D | PlaybackTracks.h | 312 const struct timespec *timeOut = NULL); 320 struct timespec mPeerTimeout;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_AlarmManagerService.cpp | 63 virtual int set(int type, struct timespec *ts) = 0; 77 int set(int type, struct timespec *ts); 89 int set(int type, struct timespec *ts); 112 int AlarmImplAlarmDriver::set(int type, struct timespec *ts) in set() 119 struct timespec ts; in setTime() 143 int AlarmImplTimerFd::set(int type, struct timespec *ts) in set() 431 struct timespec ts; in android_server_AlarmManagerService_set()
|
/frameworks/av/include/cpustats/ |
D | ThreadCpuUsage.h | 125 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/ |
D | android_os_SystemClock.cpp | 63 struct timespec tm; in android_os_SystemClock_currentThreadTimeMillis() 76 struct timespec tm; in android_os_SystemClock_currentThreadTimeMicro()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 230 static const struct timespec kForever; 231 static const struct timespec kNonBlocking; 264 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL, 265 struct timespec *elapsed = NULL); 356 status_t waitStreamEndDone(const struct timespec *requested);
|
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 73 const struct timespec ClientProxy::kForever = {INT_MAX /*tv_sec*/, 0 /*tv_nsec*/}; 74 const struct timespec ClientProxy::kNonBlocking = {0 /*tv_sec*/, 0 /*tv_nsec*/}; 84 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, in obtainBuffer() 85 struct timespec *elapsed) in obtainBuffer() 88 struct timespec total; // total elapsed time spent waiting in obtainBuffer() 112 struct timespec before; in obtainBuffer() 195 struct timespec remaining; in obtainBuffer() 196 const struct timespec *ts; in obtainBuffer() 245 struct timespec after; in obtainBuffer() 393 status_t AudioTrackClientProxy::waitStreamEndDone(const struct timespec *requested) in waitStreamEndDone() [all …]
|
D | AudioRecord.cpp | 687 const struct timespec *requested; in obtainBuffer() 688 struct timespec timeout; in obtainBuffer() 705 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, in obtainBuffer() 706 struct timespec *elapsed, size_t *nonContig) in obtainBuffer() 977 struct timespec timeout; in processAudioBuffer() 978 const struct timespec *requested = &ClientProxy::kForever; in processAudioBuffer()
|
/frameworks/av/media/libcpustats/ |
D | ThreadCpuUsage.cpp | 58 struct timespec ts; in setEnabled() 100 struct timespec ts; in sample() 131 struct timespec ts; in elapsed()
|
/frameworks/av/include/media/ |
D | AudioTimestamp.h | 32 struct timespec mTime; // corresponding CLOCK_MONOTONIC when frame is expected to present
|
D | AudioRecord.h | 440 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, 441 struct timespec *elapsed = NULL, size_t *nonContig = NULL);
|
/frameworks/av/include/media/nbaio/ |
D | NBLog.h | 129 virtual void logTimestamp(const struct timespec& ts); 163 virtual void logTimestamp(const struct timespec& ts);
|
D | MonoPipe.h | 128 struct timespec mWriteTs; // time that the previous write() completed
|
/frameworks/wilhelm/src/ |
D | locks.c | 34 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/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 36 const struct timespec *request, 37 struct timespec *remain);
|