Searched refs:midiDevice (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/tests/NativeMidiDemo/jni/ |
D | nativemidi-jni.cpp | 69 static AMIDI_Device* midiDevice = AMIDI_INVALID_HANDLE; variable 241 midiDevice = (AMIDI_Device*)deviceHandle; in Java_com_example_android_nativemididemo_NativeMidi_startReadingMidi() 252 int result = AMIDI_getDeviceInfo(midiDevice, &deviceInfo); in Java_com_example_android_nativemididemo_NativeMidi_startReadingMidi() 264 result = AMIDI_openOutputPort(midiDevice, portNumber, &outputPort); in Java_com_example_android_nativemididemo_NativeMidi_startReadingMidi() 269 snprintf(buffer, sizeof(buffer), "Could not open port %p: %d", midiDevice, result); in Java_com_example_android_nativemididemo_NativeMidi_startReadingMidi()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbMidiDevice.java | 148 UsbMidiDevice midiDevice = new UsbMidiDevice(card, device, subDeviceCount); in create() local 149 if (!midiDevice.register(context, properties)) { in create() 150 IoUtils.closeQuietly(midiDevice); in create() 154 return midiDevice; in create()
|