summaryrefslogtreecommitdiffstats
path: root/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/BluetoothMidiDevice.java
Commit message (Collapse)AuthorAgeFilesLines
* BluetoothMidiDevice: change write type to support JamStikPhil Burk2015-11-101-1/+9
| | | | | | | | | | Temporarily use a Request instead of a Command so that the JamStik will be properly enabled. Bug: 24207964 Change-Id: I3d11732958c46e6039405b5969d5af0db8032fb9 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit 95129f50c68c734c5ebdf32ff6b8b9c63cc1ada7)
* MidiManager: proxy all requests to open devices through MidiServiceMike Lockwood2015-06-041-6/+20
| | | | | | | | | | | | | | | | | | Previously when a MidiManager client opened a virtual or Bluetooth device, the client bound directly to the virtual device's MidiDeviceService or BluetoothMidiDevice's IMidiDeviceServer for the given BluetoothDevice. Only USB devices were opened in MidiService. Now opening any type of MIDI device is done via IMidiManager.openDevice() or IMidiManager.openBluetoothDevice(). MidiService tracks all connnections between clients and devices. Services that implement virtual devices must now require android.permission.BIND_MIDI_DEVICE_SERVICE so only MidiService can bind to these services. Bug: 21044677 Change-Id: I7172f7b1e0cbfe4a2a87dff376c32dc9b41aa563
* MidiManager: Address API Council feedback:Mike Lockwood2015-05-121-2/+2
| | | | | | | | | | | | | | | | | | | | Rename MidiDeviceInfo.getPortList() to getPorts() Rename MidiManager.getDeviceList() to getDevices() Rename MidiReceiver.onReceive() to onSend() Replace MidiManager.DeviceOpenCallback and BluetoothOpenCallback with new interface MidiManager.OnDeviceOpenedListener Add MidiSender.onConnect() and onDisconnect() Add MidiReceiver.onFlush() Ensure that MidiReceiver max message size is immutable Bug: 21044677 Change-Id: I7711734a45e831e9744849a6f569e906feff9f80
* BluetoothMidiDevice: Cleanup and error handling improvementsMike Lockwood2015-05-071-15/+19
| | | | Change-Id: I8b932f73e0230adfe576d1fc6735bd7b41e84010
* BluetoothMidiService: Add support for sending SysEx messages that span ↵Mike Lockwood2015-05-011-12/+10
| | | | | | multiple Bluetooth packets Change-Id: Id56f7c82ec97b6a46258111bbfd46ab1dc14dfe9
* Add support for Bluetooth MIDI devicesMike Lockwood2015-04-091-0/+276
The Bluetooth MIDI devices are handled in the BluetoothMidiService APK. Apps wishing to connect to Bluetooth MIDI devices call MidiManager.openBluetoothDevice() which binds to BluetoothMidiService in a similar way as virtual devices are implemented. Change-Id: Ie3fbca757928fd7873a009f9bf9e0ce0be487da6