Home
last modified time | relevance | path

Searched refs:mTimestamps (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp58 return (i + 1) % mTimestamps.size(); in next()
62 if (mLastTimestampIndex < 0 || mTimestamps.empty()) { in validate()
66 auto const aValidTimestamp = mTimestamps[mLastTimestampIndex]; in validate()
82 if (!mTimestamps.empty()) { in addVsyncTimestamp()
84 std::max(timestamp, *std::max_element(mTimestamps.begin(), mTimestamps.end())); in addVsyncTimestamp()
91 if (mTimestamps.size() != kHistorySize) { in addVsyncTimestamp()
92 mTimestamps.push_back(timestamp); in addVsyncTimestamp()
96 mTimestamps[mLastTimestampIndex] = timestamp; in addVsyncTimestamp()
99 if (mTimestamps.size() < kMinimumSamplesForPrediction) { in addVsyncTimestamp()
119 std::vector<nsecs_t> vsyncTS(mTimestamps.size()); in addVsyncTimestamp()
[all …]
DVSyncPredictor.h89 std::vector<nsecs_t> mTimestamps GUARDED_BY(mMutex);
/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
DAccumulatingMidiReceiver.java29 ArrayList<Long> mTimestamps = new ArrayList<Long>(); field in AccumulatingMidiReceiver
36 mTimestamps.add(timestamp); in onSend()
44 return mTimestamps.toArray(new Long[mTimestamps.size()]); in getTimestamps()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java989 private final Vector<Long> mTimestamps = new Vector<Long>(); field in WebVttTrack
1059 !mTimestamps.contains(span.mTimestampMs)) { in onCueParsed()
1060 mTimestamps.add(span.mTimestampMs); in onCueParsed()
1065 if (mTimestamps.size() > 0) { in onCueParsed()
1066 cue.mInnerTimesMs = new long[mTimestamps.size()]; in onCueParsed()
1067 for (int ix=0; ix < mTimestamps.size(); ++ix) { in onCueParsed()
1068 cue.mInnerTimesMs[ix] = mTimestamps.get(ix); in onCueParsed()
1070 mTimestamps.clear(); in onCueParsed()