/frameworks/base/include/androidfw/ |
D | ZipUtils.h | 70 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/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 | 132 struct timespec nowTs; in write() 154 const struct timespec req = {0, static_cast<long>(ns)}; in write()
|
D | AudioStreamOutSink.cpp | 76 struct timespec time; in getTimestamp()
|
/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 | 114 const struct timespec *timeOut = NULL); 122 struct timespec mPeerTimeout;
|
D | FastThread.cpp | 98 const struct timespec req = {0, mSleepNs}; in threadLoop() 217 struct timespec newTs; in threadLoop() 306 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 | PlaybackTracks.h | 245 const struct timespec *timeOut = NULL); 255 struct timespec mPeerTimeout;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_AlarmManagerService.cpp | 65 virtual int set(int type, struct timespec *ts) = 0; 79 int set(int type, struct timespec *ts); 91 int set(int type, struct timespec *ts); 114 int AlarmImplAlarmDriver::set(int type, struct timespec *ts) in set() 121 struct timespec ts; in setTime() 145 int AlarmImplTimerFd::set(int type, struct timespec *ts) in set() 433 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/media/libmedia/ |
D | AudioTrackShared.cpp | 78 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 …]
|
D | AudioRecord.cpp | 757 const struct timespec *requested; in obtainBuffer() 758 struct timespec timeout; in obtainBuffer() 775 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, in obtainBuffer() 776 struct timespec *elapsed, size_t *nonContig) in obtainBuffer() 1053 struct timespec timeout; in processAudioBuffer() 1054 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/private/media/ |
D | AudioTrackShared.h | 242 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/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 | 94 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/sensorservice/ |
D | RecentEventLogger.h | 51 timespec mWallTime;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 44 const struct timespec *request, 45 struct timespec *remain);
|
/frameworks/av/include/media/ |
D | AudioRecord.h | 454 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, 455 struct timespec *elapsed = NULL, size_t *nonContig = NULL);
|