Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java440 UsbDirectMidiDevice midiDevice = UsbDirectMidiDevice.create(mContext, in usbDeviceAdded() local
442 if (midiDevice != null) { in usbDeviceAdded()
443 midiDevices.add(midiDevice); in usbDeviceAdded()
453 midiDevice = UsbDirectMidiDevice.create(mContext, in usbDeviceAdded()
455 if (midiDevice != null) { in usbDeviceAdded()
456 midiDevices.add(midiDevice); in usbDeviceAdded()
506 for (UsbDirectMidiDevice midiDevice : midiDevices) { in usbDeviceRemoved()
507 if (midiDevice != null) { in usbDeviceRemoved()
508 IoUtils.closeQuietly(midiDevice); in usbDeviceRemoved()
DUsbMidiDevice.java149 UsbMidiDevice midiDevice = new UsbMidiDevice(card, device, numInputs, numOutputs); in create() local
150 if (!midiDevice.register(context, properties)) { in create()
151 IoUtils.closeQuietly(midiDevice); in create()
155 return midiDevice; in create()
DUsbDirectMidiDevice.java171 UsbDirectMidiDevice midiDevice = new UsbDirectMidiDevice(usbDevice, parser, in create() local
173 if (!midiDevice.register(context)) { in create()
174 IoUtils.closeQuietly(midiDevice); in create()
178 return midiDevice; in create()
/frameworks/base/media/native/midi/include/amidi/
DAMidi.h168 media_status_t AMIDI_API AMidiDevice_release(const AMidiDevice *midiDevice) __INTRODUCED_IN(29);
/frameworks/base/media/java/android/media/midi/
DMidiManager.java437 public void closeBluetoothDevice(@NonNull MidiDevice midiDevice) { in closeBluetoothDevice() argument
439 midiDevice.close(); in closeBluetoothDevice()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java994 MidiDevice midiDevice; in closeBluetoothDevice() local
996 midiDevice = mBleMidiDeviceMap.remove(bluetoothDevice); in closeBluetoothDevice()
999 if (midiDevice != null) { in closeBluetoothDevice()
1001 midiDevice.close(); in closeBluetoothDevice()