Searched refs:currentTimeNanos (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 617 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()
|
D | AudioStreamInternalCapture.h | 60 int64_t currentTimeNanos,
|
D | AudioStreamInternalPlay.h | 83 int64_t currentTimeNanos,
|
D | AudioStreamInternal.h | 116 int64_t currentTimeNanos,
|
/frameworks/av/media/libaaudio/tests/ |
D | test_clock_model.cpp | 73 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/ |
D | AudioTrack.cpp | 2796 int64_t currentTimeNanos = audio_utils_ns_from_timespec(×tamp.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()
|