Home
last modified time | relevance | path

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

/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java413 long elapsedNanos = message.timeReceived - message.timestamp; in test_G_NativeEchoTime() local
417 + " too large, " + elapsedNanos in test_G_NativeEchoTime()
421 (elapsedNanos < maxLatencyNanos)); in test_G_NativeEchoTime()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackSurroundTest.java259 long elapsedNanos = timestamp.nanoTime - previous.nanoTime; in checkIndividualTimestamps() local
260 double measuredMillis = elapsedNanos / (double) NANOS_PER_MILLISECOND; in checkIndividualTimestamps()
307 long elapsedNanos = timestamp2.nanoTime - timestamp1.nanoTime; in calculateSampleRate() local
308 double measuredRate = elapsedFrames * (double) NANOS_PER_SECOND / elapsedNanos; in calculateSampleRate()
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java385 long elapsedNanos = message.timeReceived - message.timestamp; in testEchoLatency() local
388 assertTrue("MIDI round trip latency[" + index + "] too large, " + elapsedNanos in testEchoLatency()
390 (elapsedNanos < maxLatencyNanos)); in testEchoLatency()