Home
last modified time | relevance | path

Searched refs:nowNs (Results 1 – 7 of 7) sorted by relevance

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DALooper.cpp59 int64_t nowNs; in pollOnce() local
61 || (nowNs = systemTime(SYSTEM_TIME_MONOTONIC)) < waitUntilNs) in pollOnce()
67 mCondition.waitRelative(mLock, waitUntilNs - nowNs); in pollOnce()
/frameworks/av/media/utils/
DThreadSnapshot.cpp90 const int64_t nowNs = systemTime(); in toString() local
94 diffNs = nowNs - mBeginTimeNs; in toString()
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.cpp104 nsecs_t nowNs = systemTime(); in threadLoop() local
110 nowNs - queue.lastQueuedTimestampNs < kIntervalNs)) { in threadLoop()
138 queue.lastQueuedTimestampNs = nowNs; in threadLoop()
/frameworks/base/media/jni/soundpool/
DStreamManager.cpp381 const nsecs_t nowNs = systemTime(); in run() local
384 const int64_t diffNs = stream->getStopTimeNs() - nowNs; in run()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp3302 const int64_t nowNs = systemTime(); in getTimestamp_l() local
3305 __func__, mPortId, (long long)nowNs); in getTimestamp_l()
3308 timestamp.mTime = convertNsToTimespec(nowNs); in getTimestamp_l()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1395 const int64_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in statsBufferSent() local
1396 BufferFlightTiming_t startdata = { presentationUs, nowNs }; in statsBufferSent()
1499 const int64_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in statsBufferReceived() local
1500 int64_t latencyUs = (nowNs - startdata.startedNs + 500) / 1000; in statsBufferReceived()
/frameworks/av/services/audioflinger/
DThreads.cpp4287 const nsecs_t nowNs = systemTime(); in threadLoop() local
4291 nsecs_t deltaNs = timeLoopNextNs - nowNs; in threadLoop()
4296 timeLoopNextNs = nowNs + deltaNs; in threadLoop()
5944 const nsecs_t nowNs = systemTime(); in check() local
5945 if (nowNs - mPreviousNs < mMinimumTimeBetweenChecksNs) { in check()
5948 mPreviousNs = nowNs; in check()