Home
last modified time | relevance | path

Searched refs:elapsedNanos (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackSurroundTest.java255 long elapsedNanos = timestamp.nanoTime - previous.nanoTime; in checkIndividualTimestamps() local
256 double measuredMillis = elapsedNanos / (double) NANOS_PER_MILLISECOND; in checkIndividualTimestamps()
304 long elapsedNanos = timestamp2.nanoTime - timestamp1.nanoTime; in calculateSampleRate() local
305 double measuredRate = elapsedFrames * (double) NANOS_PER_SECOND / elapsedNanos; in calculateSampleRate()
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java412 long elapsedNanos = message.timeReceived - message.timestamp; in test_G_NativeEchoTime() local
416 + " too large, " + elapsedNanos in test_G_NativeEchoTime()
420 (elapsedNanos < maxLatencyNanos)); in test_G_NativeEchoTime()
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java694 long elapsedNanos = message.timeReceived - message.timestamp; in testEchoLatency() local
697 assertTrue("MIDI round trip latency[" + index + "] too large, " + elapsedNanos in testEchoLatency()
699 (elapsedNanos < maxLatencyNanos)); in testEchoLatency()