Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp579 int64_t currentTimeNanos = AudioClock::getNanoseconds(); in processData() local
580 const int64_t entryTimeNanos = currentTimeNanos; in processData()
581 const int64_t deadlineNanos = currentTimeNanos + timeoutNanoseconds; in processData()
589 currentTimeNanos, &wakeTimeNanos); in processData()
607 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
608 int64_t earliestWakeTime = currentTimeNanos + mMinimumSleepNanos; in processData()
618 (long long) entryTimeNanos, (long long) currentTimeNanos); in processData()
633 int64_t sleepForNanos = wakeTimeNanos - currentTimeNanos; in processData()
638 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
DAudioStreamInternalCapture.h60 int64_t currentTimeNanos,
DAudioStreamInternalPlay.h72 int64_t currentTimeNanos,
DAudioStreamInternal.h111 int64_t currentTimeNanos,
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp2731 int64_t currentTimeNanos = audio_utils_ns_from_timespec(&timestamp.mTime); in getTimestamp_l() local
2740 if (currentTimeNanos < limitNs) { in getTimestamp_l()
2743 (long long)currentTimeNanos, (long long)limitNs, (long long)mStartNs); in getTimestamp_l()
2745 currentTimeNanos = limitNs; in getTimestamp_l()
2749 if (currentTimeNanos < previousTimeNanos) { in getTimestamp_l()
2751 (long long)currentTimeNanos, (long long)previousTimeNanos); in getTimestamp_l()