Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp617 int64_t currentTimeNanos = AudioClock::getNanoseconds(); in processData() local
618 const int64_t entryTimeNanos = currentTimeNanos; in processData()
619 const int64_t deadlineNanos = currentTimeNanos + timeoutNanoseconds; in processData()
627 currentTimeNanos, &wakeTimeNanos); in processData()
645 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
646 int64_t earliestWakeTime = currentTimeNanos + mMinimumSleepNanos; in processData()
656 (long long) entryTimeNanos, (long long) currentTimeNanos); in processData()
671 int64_t sleepForNanos = wakeTimeNanos - currentTimeNanos; in processData()
676 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
DAudioStreamInternalCapture.h60 int64_t currentTimeNanos,
DAudioStreamInternalPlay.h83 int64_t currentTimeNanos,
DAudioStreamInternal.h116 int64_t currentTimeNanos,
/frameworks/av/media/libaaudio/tests/
Dtest_clock_model.cpp73 const int64_t currentTimeNanos = startTimeNanos + elapsedTimeNanos; in checkDriftingClock() local
81 model.processTimestamp(alignedPosition, currentTimeNanos); in checkDriftingClock()
83 ASSERT_EQ(alignedPosition, model.convertTimeToPosition(currentTimeNanos)); in checkDriftingClock()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp2796 int64_t currentTimeNanos = audio_utils_ns_from_timespec(&timestamp.mTime); in getTimestamp_l() local
2799 if (currentTimeNanos < limitNs) { in getTimestamp_l()
2804 (long long)currentTimeNanos, (long long)limitNs, (long long)mStartNs); in getTimestamp_l()
2808 currentTimeNanos = limitNs; in getTimestamp_l()
2819 if (currentTimeNanos < previousTimeNanos) { in getTimestamp_l()
2823 (long long)currentTimeNanos, (long long)previousTimeNanos); in getTimestamp_l()