Home
last modified time | relevance | path

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

/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java395 final long maxLatencyNanos = 15 * NANOS_PER_MSEC; // generally < 3 msec on N6 in test_G_NativeEchoTime() local
421 (elapsedNanos < maxLatencyNanos)); in test_G_NativeEchoTime()
458 final long maxLatencyNanos = 15 * NANOS_PER_MSEC; // generally < 3 msec on N6 in test_I_NativeEchoTime_PureNative() local
473 int result = checkNativeLatency(mTestContext, maxLatencyNanos); in test_I_NativeEchoTime_PureNative()
509 public native int checkNativeLatency(long ctx, long maxLatencyNanos); in checkNativeLatency() argument
/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp146 int checkInOutLatency(long maxLatencyNanos);
258 int TestContext::checkInOutLatency(long maxLatencyNanos) { in checkInOutLatency() argument
269 if (timeDelta > maxLatencyNanos) { in checkInOutLatency()
543 JNIEnv*, jobject, jlong ctx, jlong maxLatencyNanos) { in Java_android_nativemidi_cts_NativeMidiEchoTest_checkNativeLatency() argument
544 return ((TestContext*)ctx)->checkInOutLatency(maxLatencyNanos); in Java_android_nativemidi_cts_NativeMidiEchoTest_checkNativeLatency()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio.cpp150 int64_t maxLatencyNanos = 0; in testTimestamp() local
171 maxLatencyNanos = std::max(maxLatencyNanos, latencyNanos); in testTimestamp()
183 EXPECT_LT(maxLatencyNanos - minLatencyNanos, MAX_LATENCY_RANGE); in testTimestamp()
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java434 final long maxLatencyNanos = maxLatencyMs * NANOS_PER_MSEC; in testEchoLatency() local
460 (elapsedNanos < maxLatencyNanos)); in testEchoLatency()