• Home
  • History
  • Annotate
  • only in /frameworks/base/media/packages/BluetoothMidiService/src/com/
History log of /frameworks/base/media/packages/BluetoothMidiService/src/com/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f7781b913b6f8cd25758360e9f3ec99970f98c7f 23-Sep-2015 Phil Burk <philburk@google.com> Merge "BluetoothMidiDevice: change write type to support JamStik"
95129f50c68c734c5ebdf32ff6b8b9c63cc1ada7 22-Sep-2015 Phil Burk <philburk@google.com> BluetoothMidiDevice: change write type to support JamStik

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>
ndroid/bluetoothmidiservice/BluetoothMidiDevice.java
7cd06c0b9e087a555d2c5dd4cab5b7eac8497526 03-Sep-2015 Phil Burk <philburk@google.com> BLE-MIDI: change binding for BluetoothMidiService

Add a remote call addBluetoothDevice() using AIDL.
This was needed because onBind() is only called once.

Bug: 23219556
Bug: 23760886
Change-Id: Id7554ca55d596352d11dbd6ae3e403138a29c864
Signed-off-by: Phil Burk <philburk@google.com>
ndroid/bluetoothmidiservice/BluetoothMidiService.java
e5f722e55c5708c2b48b8c9688c135e451225032 22-Aug-2015 Phil Burk <philburk@google.com> MidiBluetoothService: add new device to HashMap

The HashMap is being used but devices never added to the map.

Bug: 23429459
Change-Id: I1da5305a56f5bd48e1c5d9345e721ea8dd2eed4e
Signed-off-by: Phil Burk <philburk@google.com>
ndroid/bluetoothmidiservice/BluetoothMidiService.java
e0a6ca64fac5bd4f10139321604031816e90adb4 04-Jun-2015 Mike Lockwood <lockwood@google.com> MidiManager: proxy all requests to open devices through MidiService

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
ndroid/bluetoothmidiservice/BluetoothMidiDevice.java
7eb441cb4abcd3230a4d243469c5044f49e707c8 12-May-2015 Mike Lockwood <lockwood@google.com> MidiManager: Address API Council feedback:

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
ndroid/bluetoothmidiservice/BluetoothMidiDevice.java
ndroid/bluetoothmidiservice/BluetoothPacketDecoder.java
ndroid/bluetoothmidiservice/BluetoothPacketEncoder.java
9490eae3aa6b20cbd3c1557fd3a7eb927e12907f 07-May-2015 Mike Lockwood <lockwood@google.com> BluetoothMidiDevice: Cleanup and error handling improvements

Change-Id: I8b932f73e0230adfe576d1fc6735bd7b41e84010
ndroid/bluetoothmidiservice/BluetoothMidiDevice.java
8c26d843a786e5ee56046245fbf72a81b533bcb9 01-May-2015 Mike Lockwood <lockwood@google.com> BluetoothMidiService: Add support for sending SysEx messages that span multiple Bluetooth packets

Change-Id: Id56f7c82ec97b6a46258111bbfd46ab1dc14dfe9
ndroid/bluetoothmidiservice/BluetoothMidiDevice.java
ndroid/bluetoothmidiservice/BluetoothPacketEncoder.java
ff001809f60b937c63d2db39e99a567af54414ac 21-Apr-2015 Mike Lockwood <lockwood@google.com> BluetoothMidiService: Use MidiBtleTimeTracker to interpret incoming Bluetooth MIDI timestamps

Also fixed some problems handling timestamp wrapping.

Change-Id: Ic0aefc54f2560425bea6d07ca0c4529d16699eaa
ndroid/bluetoothmidiservice/BluetoothPacketDecoder.java
ndroid/bluetoothmidiservice/MidiBtleTimeTracker.java
f0a41d1c591193fbe02c9ddbaf24c79af4da9972 24-Mar-2015 Mike Lockwood <lockwood@google.com> Add support for Bluetooth MIDI devices

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
ndroid/bluetoothmidiservice/BluetoothMidiDevice.java
ndroid/bluetoothmidiservice/BluetoothMidiService.java
ndroid/bluetoothmidiservice/BluetoothPacketDecoder.java
ndroid/bluetoothmidiservice/BluetoothPacketEncoder.java
ndroid/bluetoothmidiservice/PacketDecoder.java
ndroid/bluetoothmidiservice/PacketEncoder.java