Searched refs:maxLatencyNanos (Results 1 – 4 of 4) sorted by relevance
395 final long maxLatencyNanos = 15 * NANOS_PER_MSEC; // generally < 3 msec on N6 in test_G_NativeEchoTime() local421 (elapsedNanos < maxLatencyNanos)); in test_G_NativeEchoTime()458 final long maxLatencyNanos = 15 * NANOS_PER_MSEC; // generally < 3 msec on N6 in test_I_NativeEchoTime_PureNative() local473 int result = checkNativeLatency(mTestContext, maxLatencyNanos); in test_I_NativeEchoTime_PureNative()509 public native int checkNativeLatency(long ctx, long maxLatencyNanos); in checkNativeLatency() argument
146 int checkInOutLatency(long maxLatencyNanos);258 int TestContext::checkInOutLatency(long maxLatencyNanos) { in checkInOutLatency() argument269 if (timeDelta > maxLatencyNanos) { in checkInOutLatency()543 JNIEnv*, jobject, jlong ctx, jlong maxLatencyNanos) { in Java_android_nativemidi_cts_NativeMidiEchoTest_checkNativeLatency() argument544 return ((TestContext*)ctx)->checkInOutLatency(maxLatencyNanos); in Java_android_nativemidi_cts_NativeMidiEchoTest_checkNativeLatency()
150 int64_t maxLatencyNanos = 0; in testTimestamp() local171 maxLatencyNanos = std::max(maxLatencyNanos, latencyNanos); in testTimestamp()183 EXPECT_LT(maxLatencyNanos - minLatencyNanos, MAX_LATENCY_RANGE); in testTimestamp()
434 final long maxLatencyNanos = maxLatencyMs * NANOS_PER_MSEC; in testEchoLatency() local460 (elapsedNanos < maxLatencyNanos)); in testEchoLatency()