Home
last modified time | relevance | path

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

/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/libaaudio/src/client/
DAudioStreamInternal.cpp702 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()
DAudioStreamInternalCapture.h59 int64_t currentTimeNanos,
DAudioStreamInternalPlay.h84 int64_t currentTimeNanos,
DAudioStreamInternal.h108 int64_t currentTimeNanos,
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp3173 int64_t currentTimeNanos = audio_utils_ns_from_timespec(&timestamp.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()