Home
last modified time | relevance | path

Searched refs:diffNs (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/utils/
DThreadSnapshot.cpp92 int64_t diffNs = mEndTimeNs - mBeginTimeNs; // if onEnd() isn't matched, diffNs < 0. in toString() local
93 if (diffNs < 0) { in toString()
94 diffNs = nowNs - mBeginTimeNs; in toString()
95 cumulativeTimeNs += diffNs; in toString()
98 const double lastRunPerSec = 1e9 / diffNs; in toString()
/frameworks/base/media/jni/soundpool/
DStreamManager.cpp390 const int64_t diffNs = stream->getStopTimeNs() - nowNs; in run() local
391 if (diffNs > 0) { in run()
392 waitTimeNs = std::min(waitTimeNs, diffNs); in run()