/frameworks/base/libs/androidfw/include/androidfw/ |
D | ZipUtils.h | 72 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) { in zipTimeToTimespec() argument 75 memset(timespec, 0, sizeof(struct tm)); in zipTimeToTimespec() 76 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 in zipTimeToTimespec() 77 timespec->tm_mon = ((date >> 5) & 0x0F) - 1; in zipTimeToTimespec() 78 timespec->tm_mday = date & 0x1F; in zipTimeToTimespec() 80 timespec->tm_hour = (when >> 11) & 0x1F; in zipTimeToTimespec() 81 timespec->tm_min = (when >> 5) & 0x3F; in zipTimeToTimespec() 82 timespec->tm_sec = (when & 0x1F) << 1; in zipTimeToTimespec() 83 timespec->tm_isdst = -1; in zipTimeToTimespec()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | clock_ns.h | 14 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/ |
D | AudioClock.h | 35 struct timespec time; 55 struct timespec time; 84 struct timespec time;
|
/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 | FastThread.cpp | 102 const struct timespec req = {0, mSleepNs}; in threadLoop() 222 struct timespec newTs; in threadLoop() 316 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);
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioExampleUtils.h | 111 void convertNanosecondsToTimespec(int64_t nanoseconds, struct timespec *time) { in convertNanosecondsToTimespec() 119 struct timespec time; 163 struct timespec *timeout, void *addr2, int val3) { in sys_futex() 177 android::status_t futex_wait(void *addr, int current, struct timespec *time) { in futex_wait() 202 struct timespec time; in wait()
|
/frameworks/av/media/libcpustats/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/av/media/libcpustats/ |
D | ThreadCpuUsage.cpp | 64 struct timespec ts; in setEnabled() 106 struct timespec ts; in sample() 137 struct timespec ts; in elapsed()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 117 const struct timespec ClientProxy::kForever = {INT_MAX /*tv_sec*/, 0 /*tv_nsec*/}; 118 const struct timespec ClientProxy::kNonBlocking = {0 /*tv_sec*/, 0 /*tv_nsec*/}; 150 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, in obtainBuffer() 151 struct timespec *elapsed) in obtainBuffer() 155 struct timespec total; // total elapsed time spent waiting in obtainBuffer() 179 struct timespec before; in obtainBuffer() 274 struct timespec remaining; in obtainBuffer() 275 const struct timespec *ts; in obtainBuffer() 325 struct timespec after; in obtainBuffer() 490 status_t AudioTrackClientProxy::waitStreamEndDone(const struct timespec *requested) in waitStreamEndDone() [all …]
|
/frameworks/base/apex/jobscheduler/service/jni/ |
D | com_android_server_alarm_AlarmManagerService.cpp | 83 int set(int type, struct timespec *ts); 104 int AlarmImpl::set(int type, struct timespec *ts) in set() 341 struct timespec nextTimespec = spec.it_value; in android_server_alarm_AlarmManagerService_getNextAlarm() 356 struct timespec ts; in android_server_alarm_AlarmManagerService_set()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor_callback.cpp | 76 const struct timespec request = { .tv_sec = 0, in main() 112 const struct timespec request = { .tv_sec = 0, in main()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 247 static const struct timespec kForever; 248 static const struct timespec kNonBlocking; 283 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL, 284 struct timespec *elapsed = NULL); 412 status_t waitStreamEndDone(const struct timespec *requested);
|
/frameworks/native/cmds/servicemanager/ |
D | main.cpp | 73 itimerspec timespec { in setupTo() local 84 int timeRes = timerfd_settime(fdTimer, 0 /*flags*/, ×pec, nullptr); in setupTo()
|
/frameworks/opt/net/wifi/libwifi_hal/ |
D | wifi_hal_common.cpp | 102 struct timespec req; in wifi_change_driver_state() 111 nanosleep(&req, (struct timespec *)NULL); in wifi_change_driver_state()
|
/frameworks/av/media/libnbaio/ |
D | MonoPipe.cpp | 126 struct timespec nowTs; in write() 148 const struct timespec req = {0, static_cast<long>(ns)}; in write()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | OneShotTimer.cpp | 32 void calculateTimeoutTime(std::chrono::nanoseconds timestamp, timespec* spec) { in calculateTimeoutTime() 122 struct timespec ts; in loop()
|
/frameworks/av/media/mtp/ |
D | PosixAsyncIO.h | 59 int aio_suspend(struct aiocb *[], int, const struct timespec *);
|
/frameworks/wilhelm/src/ |
D | locks.cpp | 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 | 57 timespec mWallTime;
|
/frameworks/av/media/tests/benchmark/src/native/common/utils/ |
D | Timers.cpp | 32 struct timespec t; in systemTime()
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | MonoPipe.h | 92 struct timespec mWriteTs; // time that the previous write() completed
|