Searched refs:nowNs (Results 1 – 10 of 10) sorted by relevance
/aosp12/system/media/audio_utils/include/audio_utils/ |
H A D | SimpleLog.h | 88 void log(int64_t nowNs, const char *format, ...) in log() argument 92 logv(nowNs, format, args); in log() 105 void logv(int64_t nowNs, const char *format, va_list args) in logv() argument 111 logs(nowNs, "invalid format"); in logv() 121 logs(nowNs, buffer); in logv() 135 void logs(int64_t nowNs, U&& buffer) in logs() argument 139 if (nowNs == -1) { in logs() 140 nowNs = audio_utils_get_real_time_ns(); in logs() 142 mLog.emplace_back(nowNs, std::forward<U>(buffer)); in logs()
|
H A D | ErrorLog.h | 69 void log(const T &code, int64_t nowNs) in log() argument 77 && nowNs - mEntries[mIdx].mLastTime < mAggregateNs) { in log() 79 mEntries[mIdx].mLastTime = nowNs; in log() 87 mEntries[mIdx].setFirstError(code, nowNs); in log()
|
H A D | PowerLog.h | 67 void log(const void *buffer, size_t frames, int64_t nowNs);
|
/aosp12/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
H A D | ALooper.cpp | 59 int64_t nowNs; in pollOnce() local 61 || (nowNs = systemTime(SYSTEM_TIME_MONOTONIC)) < waitUntilNs) in pollOnce() 67 mCondition.waitRelative(mLock, waitUntilNs - nowNs); in pollOnce()
|
/aosp12/system/media/audio_utils/ |
H A D | PowerLog.cpp | 64 void PowerLog::log(const void *buffer, size_t frames, int64_t nowNs) in log() argument 75 mCurrentTime = nowNs; in log() 82 (long long)nowNs, required, process, mCurrentEnergy, mCurrentFrames); in log() 91 mEntries[mIdx++] = std::make_pair(nowNs, 0.f); in log()
|
/aosp12/frameworks/av/media/codec2/sfplugin/ |
H A D | C2OMXNode.cpp | 103 nsecs_t nowNs = systemTime(); in threadLoop() local 109 nowNs - queue.lastQueuedTimestampNs < kIntervalNs)) { in threadLoop() 137 queue.lastQueuedTimestampNs = nowNs; in threadLoop()
|
/aosp12/frameworks/base/media/jni/soundpool/ |
H A D | StreamManager.cpp | 378 const nsecs_t nowNs = systemTime(); in run() local 381 const int64_t diffNs = stream->getStopTimeNs() - nowNs; in run()
|
/aosp12/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 3128 const int64_t nowNs = systemTime(); in getTimestamp_l() local 3131 __func__, mPortId, (long long)nowNs); in getTimestamp_l() 3134 timestamp.mTime = convertNsToTimespec(nowNs); in getTimestamp_l()
|
/aosp12/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 1163 const int64_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in statsBufferSent() local 1164 BufferFlightTiming_t startdata = { presentationUs, nowNs }; in statsBufferSent() 1267 const int64_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in statsBufferReceived() local 1268 int64_t latencyUs = (nowNs - startdata.startedNs + 500) / 1000; in statsBufferReceived()
|
/aosp12/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 4205 const nsecs_t nowNs = systemTime(); in threadLoop() local 4209 nsecs_t deltaNs = timeLoopNextNs - nowNs; in threadLoop() 4214 timeLoopNextNs = nowNs + deltaNs; in threadLoop()
|