Home
last modified time | relevance | path

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

/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp320 AMidiOutputPort* outputPort = context->midiOutputPort.load(); in readThreadRoutine() local
321 if (outputPort != nullptr) { in readThreadRoutine()
323 AMidiOutputPort_receive(outputPort, &opCode, in readThreadRoutine()
481 AMidiOutputPort* outputPort; in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi() local
482 media_status_t status = AMidiOutputPort_open(context->nativeDevice, portNumber, &outputPort); in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi()
484 context->midiOutputPort.store(outputPort); in Java_android_nativemidi_cts_NativeMidiEchoTest_startReadingMidi()
514 AMidiOutputPort* outputPort = context->midiOutputPort.exchange(nullptr); in Java_android_nativemidi_cts_NativeMidiEchoTest_stopReadingMidi() local
515 if (outputPort == nullptr) { in Java_android_nativemidi_cts_NativeMidiEchoTest_stopReadingMidi()
519 AMidiOutputPort_close(outputPort); in Java_android_nativemidi_cts_NativeMidiEchoTest_stopReadingMidi()