Home
last modified time | relevance | path

Searched refs:mPreviousTimestamp (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DMidiBtleTimeTracker.java32 private int mPreviousTimestamp; // Used to calculate deltas. field in MidiBtleTimeTracker
54 long deltaMillis = timestamp - mPreviousTimestamp; in convertTimestampToNanotime()
96 mPreviousTimestamp = timestamp; in convertTimestampToNanotime()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp439 mPreviousTimestamp.clear(); in start()
635 if (timestamp->mTimeNs[i] >= 0 && mPreviousTimestamp.mTimeNs[i] >= 0) { in getTimestamp()
636 if (timestamp->mTimeNs[i] < mPreviousTimestamp.mTimeNs[i]) { in getTimestamp()
640 (long long)mPreviousTimestamp.mTimeNs[i]); in getTimestamp()
643 timestamp->mTimeNs[i] = mPreviousTimestamp.mTimeNs[i]; in getTimestamp()
645 if (timestamp->mPosition[i] < mPreviousTimestamp.mPosition[i]) { in getTimestamp()
650 (long long)mPreviousTimestamp.mPosition[i]); in getTimestamp()
653 timestamp->mPosition[i] = mPreviousTimestamp.mPosition[i]; in getTimestamp()
657 mPreviousTimestamp = *timestamp; in getTimestamp()
DAudioTrack.cpp3114 && mPreviousTimestamp.mPosition == 0 /* should be true if valid */) { in getTimestamp_l()
3115 timestamp = mPreviousTimestamp; in getTimestamp_l()
3193 audio_utils_ns_from_timespec(&mPreviousTimestamp.mTime); in getTimestamp_l()
3203 timestamp.mTime = mPreviousTimestamp.mTime; in getTimestamp_l()
3211 - mPreviousTimestamp.mPosition).signedValue(); in getTimestamp_l()
3219 mPreviousTimestamp.mPosition); in getTimestamp_l()
3226 timestamp.mPosition = mPreviousTimestamp.mPosition; in getTimestamp_l()
3242 mPreviousTimestamp = timestamp; in getTimestamp_l()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h758 ExtendedTimestamp mPreviousTimestamp{}; // used to detect retrograde motion
DAudioTrack.h1275 AudioTimestamp mPreviousTimestamp; // used to detect retrograde motion variable