Searched refs:currentTimeNanos (Results 1 – 6 of 6) sorted by relevance
/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/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 702 int64_t currentTimeNanos = AudioClock::getNanoseconds(); in processData() local 703 const int64_t entryTimeNanos = currentTimeNanos; in processData() 704 const int64_t deadlineNanos = currentTimeNanos + timeoutNanoseconds; in processData() 712 currentTimeNanos, &wakeTimeNanos); in processData() 730 currentTimeNanos = AudioClock::getNanoseconds(); in processData() 731 int64_t earliestWakeTime = currentTimeNanos + mMinimumSleepNanos; in processData() 741 (long long) entryTimeNanos, (long long) currentTimeNanos); in processData() 756 int64_t sleepForNanos = wakeTimeNanos - currentTimeNanos; in processData() 761 currentTimeNanos = AudioClock::getNanoseconds(); in processData()
|
D | AudioStreamInternalCapture.h | 59 int64_t currentTimeNanos,
|
D | AudioStreamInternalPlay.h | 84 int64_t currentTimeNanos,
|
D | AudioStreamInternal.h | 108 int64_t currentTimeNanos,
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 3173 int64_t currentTimeNanos = audio_utils_ns_from_timespec(×tamp.mTime); in getTimestamp_l() local 3176 if (currentTimeNanos < limitNs) { in getTimestamp_l() 3181 (long long)currentTimeNanos, (long long)limitNs, (long long)mStartNs); in getTimestamp_l() 3185 currentTimeNanos = limitNs; in getTimestamp_l() 3196 if (currentTimeNanos < previousTimeNanos) { in getTimestamp_l() 3200 (long long)currentTimeNanos, (long long)previousTimeNanos); in getTimestamp_l()
|