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.cpp391 mPreviousTimestamp.clear(); in start()
580 if (timestamp->mTimeNs[i] >= 0 && mPreviousTimestamp.mTimeNs[i] >= 0) { in getTimestamp()
581 if (timestamp->mTimeNs[i] < mPreviousTimestamp.mTimeNs[i]) { in getTimestamp()
585 (long long)mPreviousTimestamp.mTimeNs[i]); in getTimestamp()
588 timestamp->mTimeNs[i] = mPreviousTimestamp.mTimeNs[i]; in getTimestamp()
590 if (timestamp->mPosition[i] < mPreviousTimestamp.mPosition[i]) { in getTimestamp()
595 (long long)mPreviousTimestamp.mPosition[i]); in getTimestamp()
598 timestamp->mPosition[i] = mPreviousTimestamp.mPosition[i]; in getTimestamp()
602 mPreviousTimestamp = *timestamp; in getTimestamp()
DAudioTrack.cpp2737 && mPreviousTimestamp.mPosition == 0 /* should be true if valid */) { in getTimestamp_l()
2738 timestamp = mPreviousTimestamp; in getTimestamp_l()
2816 audio_utils_ns_from_timespec(&mPreviousTimestamp.mTime); in getTimestamp_l()
2826 timestamp.mTime = mPreviousTimestamp.mTime; in getTimestamp_l()
2834 - mPreviousTimestamp.mPosition).signedValue(); in getTimestamp_l()
2842 mPreviousTimestamp.mPosition); in getTimestamp_l()
2849 timestamp.mPosition = mPreviousTimestamp.mPosition; in getTimestamp_l()
2865 mPreviousTimestamp = timestamp; in getTimestamp_l()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h714 ExtendedTimestamp mPreviousTimestamp{}; // used to detect retrograde motion
DAudioTrack.h1167 AudioTimestamp mPreviousTimestamp; // used to detect retrograde motion variable