• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/com/android/internal/midi/
History log of /frameworks/base/core/java/com/android/internal/midi/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
382cb48848cb3968d5a0088a825706d66cdfbd50 08-Jul-2016 Mikhail Naganov <mnaganov@google.com> Protect MIDI framework against client blocks in MidiReceiver.onSend

Make the server-side socket non-blocking when creating MidiOutputPort
for clients. Thus if a client ceases to read from its side of the
socket pair, the server will just fail to write instead of blocking.

One drawback is that the MidiOutputPort on the client can't indicate
that it has become dysfunctional, but it's not possible without
changing the API.

Bug: 29413812
Change-Id: I9dfcbdd214a815cea8fd1365324fd78ca459268a
idiDispatcher.java
98e94aead75dda707eef97828df1db44ce1e7e96 24-Jul-2015 Phil Burk <philburk@google.com> MIDI: fix running status parser

Running status was being parsed incorrectly.
This could cause stuck notes or exceptions when sending running
status messages to a Bluetooth MIDI device.

Bug: 22689606
Change-Id: I9f7abce9758927be587eead9614617d5b0076353
Signed-off-by: Phil Burk <philburk@google.com>
idiConstants.java
idiFramer.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
idiDispatcher.java
idiEventScheduler.java
idiFramer.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
idiConstants.java
12e31b198eab63327466342195fda9c8a47277f7 29-Apr-2015 Mike Lockwood <lockwood@google.com> MidiFramer: Support realtime messages contained within SysEx messages.

Also fix off by one error that occurred if a SysEx message ended
in the middle of the buffer being processed.

Change-Id: I055f005610c7b091012a30b306786114c5d9bf8d
idiFramer.java
f26b72dde472a9ed82a0a27e2e886690396c6312 28-Apr-2015 Mike Lockwood <lockwood@google.com> MidiFramer: Add support for SysEx messages

Change-Id: I15a605029a0e89fa75c57f180a5a951ada88461c
idiFramer.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
idiConstants.java
b6f50d357bd3d4d296be6bb047f5ce93a79cbca1 08-Apr-2015 Mike Lockwood <lockwood@google.com> Add support for flushing MIDI all scheduled MIDI events on a port

Change-Id: I39d7862540d4d4b9e2df1265f9dd253541adb4c2
ventScheduler.java
idiDispatcher.java
idiEventScheduler.java
2776133be7ac60dc8d6aea5b12e35449ca331836 31-Mar-2015 Mike Lockwood <lockwood@google.com> Add event scheduling support to USB MIDI Manager code

Change-Id: I9fdaaac35c296acc67ee0cf346b0c7b56bf58393
ventScheduler.java
idiEventScheduler.java
d1b16fe2fb7527eee214898263ec4d6dabbfb0b4 30-Mar-2015 Mike Lockwood <lockwood@google.com> Move MIDI utilities for internal use to com.android.internal.midi package

Change-Id: I7393ae1d4bca61667fb6ee809a7aa22c5c48de56
ventScheduler.java
idiConstants.java
idiDispatcher.java
idiEventScheduler.java
idiFramer.java