Searched refs:currentTimeNanos (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 616 int64_t currentTimeNanos = AudioClock::getNanoseconds(); in processData() local 617 const int64_t entryTimeNanos = currentTimeNanos; in processData() 618 const int64_t deadlineNanos = currentTimeNanos + timeoutNanoseconds; in processData() 626 currentTimeNanos, &wakeTimeNanos); in processData() 644 currentTimeNanos = AudioClock::getNanoseconds(); in processData() 645 int64_t earliestWakeTime = currentTimeNanos + mMinimumSleepNanos; in processData() 655 (long long) entryTimeNanos, (long long) currentTimeNanos); in processData() 670 int64_t sleepForNanos = wakeTimeNanos - currentTimeNanos; in processData() 675 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 | 2790 int64_t currentTimeNanos = audio_utils_ns_from_timespec(×tamp.mTime); in getTimestamp_l() local 2793 if (currentTimeNanos < limitNs) { in getTimestamp_l() 2798 (long long)currentTimeNanos, (long long)limitNs, (long long)mStartNs); in getTimestamp_l() 2802 currentTimeNanos = limitNs; in getTimestamp_l() 2813 if (currentTimeNanos < previousTimeNanos) { in getTimestamp_l() 2817 (long long)currentTimeNanos, (long long)previousTimeNanos); in getTimestamp_l()
|