Home
last modified time | relevance | path

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

/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp373 JNIEnv*, jobject, jlong ctx, jint portNumber) { in Java_android_nativemidi_cts_NativeMidiEchoTest_startWritingMidi() argument
378 media_status_t status = AMidiInputPort_open(context->nativeDevice, portNumber, &inputPort); in Java_android_nativemidi_cts_NativeMidiEchoTest_startWritingMidi()
385 context->nativeDevice, portNumber, status); in Java_android_nativemidi_cts_NativeMidiEchoTest_startWritingMidi()
471 JNIEnv*, jobject, jlong ctx, jint portNumber) { in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi() argument
482 media_status_t status = AMidiOutputPort_open(context->nativeDevice, portNumber, &outputPort); in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi()
488 context->nativeDevice, portNumber, status); in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi()
/cts/tests/tests/os/src/android/os/cts/
DLowPowerStandbyTest.java597 int portNumber = 5555; in testPortDescriptionGetters() local
599 new LowPowerStandbyPortDescription(protocol, portMatcher, portNumber); in testPortDescriptionGetters()
603 assertThat(portDesc.getPortNumber()).isEqualTo(portNumber); in testPortDescriptionGetters()
608 portNumber = 433; in testPortDescriptionGetters()
611 new LowPowerStandbyPortDescription(protocol, portMatcher, portNumber, localAddress); in testPortDescriptionGetters()
615 assertThat(portDesc.getPortNumber()).isEqualTo(portNumber); in testPortDescriptionGetters()
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java499 public native int startReadingMidi(long ctx, int portNumber); in startReadingMidi() argument
502 public native int startWritingMidi(long ctx, int portNumber); in startWritingMidi() argument