Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/
DStreamManager.cpp363 int64_t waitTimeNs = 0; // on thread start, mRestartStreams can be non-empty. in run() local
367 if (waitTimeNs > 0) { in run()
369 lock, std::chrono::duration<int64_t, std::nano>(waitTimeNs)); in run()
371 ALOGV("%s(%d) awake lock waitTimeNs:%lld", __func__, id, (long long)waitTimeNs); in run()
375 if (mQuit || (mRestartStreams.empty() && waitTimeNs == kWaitTimeBeforeCloseNs)) { in run()
379 waitTimeNs = kWaitTimeBeforeCloseNs; in run()
386 waitTimeNs = std::min(waitTimeNs, diffNs); in run()