Home
last modified time | relevance | path

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

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DALooper.cpp57 int64_t nowNs; in pollOnce() local
59 || (nowNs = systemTime(SYSTEM_TIME_MONOTONIC)) < waitUntilNs) in pollOnce()
65 mCondition.waitRelative(mLock, waitUntilNs - nowNs); in pollOnce()
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.cpp77 nsecs_t nowNs = systemTime(); in threadLoop() local
83 nowNs - queue.lastQueuedTimestampNs < kIntervalNs)) { in threadLoop()
108 queue.lastQueuedTimestampNs = nowNs; in threadLoop()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp2639 const int64_t nowNs = systemTime(); in getTimestamp_l() local
2642 __func__, mPortId, (long long)nowNs); in getTimestamp_l()
2645 timestamp.mTime = convertNsToTimespec(nowNs); in getTimestamp_l()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp761 const int64_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in statsBufferSent() local
762 BufferFlightTiming_t startdata = { presentationUs, nowNs }; in statsBufferSent()
836 const int64_t nowNs = systemTime(SYSTEM_TIME_MONOTONIC); in statsBufferReceived() local
837 int64_t latencyUs = (nowNs - startdata.startedNs + 500) / 1000; in statsBufferReceived()
/frameworks/av/services/audioflinger/
DThreads.cpp3902 const nsecs_t nowNs = systemTime(); in threadLoop() local
3906 nsecs_t deltaNs = timeLoopNextNs - nowNs; in threadLoop()
3911 timeLoopNextNs = nowNs + deltaNs; in threadLoop()