Home
last modified time | relevance | path

Searched refs:timestamp1 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackSurroundTest.java302 private double calculateSampleRate(AudioTimestamp timestamp1, AudioTimestamp timestamp2) { in calculateSampleRate() argument
303 long elapsedFrames = timestamp2.framePosition - timestamp1.framePosition; in calculateSampleRate()
304 long elapsedNanos = timestamp2.nanoTime - timestamp1.nanoTime; in calculateSampleRate()
/cts/tests/camera/src/android/hardware/camera2/cts/
DPerformanceTest.java1365 SimpleTimestampListener.TimestampHolder timestamp1 =
1369 Math.max(0, timestamp1.mTimestamp - timestamp1.mDeliveryTime) / 1000000;
1372 (timestamp1.mDeliveryTime - timestamp1.mTimestamp) / 1000000;
1380 long presentTime1 = Math.max(timestamp1.mDeliveryTime, timestamp1.mTimestamp);
1395 (timestamp1.mDeliveryTime - timestamp1.mTimestamp) / 1000000;
1397 timestamp1 = timestamp2;