2aef7e3559e9e2c78287a00b3f693b6dc19e56f0 |
|
18-Jun-2015 |
Mike Lockwood <lockwood@google.com> |
Fix MidiDevice.MidiConnection lifecycle Update device server's MidiDeviceStatus when a connection is made to one of its output ports. After connecting an input port to an output port using MidiDevice.connectPorts(), do not call IMidiDeviceServer.closePort() until MidiDevice.MidiConnection.close() is called. While I was in there, added missing CloseGuard support to the MidiDevice.MidiConnection class. This fixes a problem resulting in UsbMidiDevice closing the device's ALSA driver too soon. Bug: 21850709 Change-Id: I0c120f76b42eec8a143161e46dba73fbec5e4f31
/frameworks/base/media/java/android/media/midi/MidiInputPort.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
/frameworks/base/media/java/android/media/midi/MidiInputPort.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
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|
81b9f7d325a552c54e793b51f571ae3d65b26e94 |
|
11-Mar-2015 |
Mike Lockwood <lockwood@google.com> |
Add MidiManager to public API Also made some small API changes based on feedback from the lint tool. Change-Id: Ibcf1e9107d86d3a364f811ce47a13aa0da653366
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|
46326e59a0a19367d4158c027d56d4b8440e8d3d |
|
06-Mar-2015 |
Mike Lockwood <lockwood@google.com> |
MidiDevice: Add support for making direct connections between ports The output port of one device can be connected to the input port of another device using the new MidiDevice.connectPorts() method. This allows an application to direct the output of one device directly to the input port of another without having to copy data from one to another. Change-Id: I4d361c4e0950b9b9516b0c2f0c158677b1aca208
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|
0c7342f0153076c88ba8e6a1647999c248787906 |
|
09-Mar-2015 |
Mike Lockwood <lockwood@google.com> |
Add MidiReceiver.send() and MidiReceiver.getMaxMessageSize() Change-Id: I10d4f5e2400fcaf41f455e56ca25bbc0c781a042
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|
be215dd57282888b05b234c39bba44cc0a864b8a |
|
07-Mar-2015 |
Mike Lockwood <lockwood@google.com> |
MIDI Manager changes: Add CloseGuard support to MidiDevice and MidiDeviceServer Make MidiDevice.close() thread safe Make non-subclassable API classes final Other misc cleanup Change-Id: I7a5d31b06b8c2403cfbc5597c5c1395f0ac90194
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|
4a3d7ed45d98ad2fe900221755845b87f26b554a |
|
06-Mar-2015 |
Mike Lockwood <lockwood@google.com> |
MIDI Manager: Add explicit close mechanism for input and output ports Relying on errors from closing the file descriptor is not reliable and was resulting in file descriptor leaks in device servers. Change-Id: Ib5cc22dba493eae6608a12cc6d4178d8390da77b
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|
3b7664589be22ddad34b72e11ced937d48660ebb |
|
04-Mar-2015 |
Mike Lockwood <lockwood@google.com> |
Make MidiSender and MidiReceiver abstract classes, rename MidiReceiver.post() to receive() Change-Id: I1cef3bd48ca0acf2968c9de223f78445f3434404
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|
20821ecbe81ba52b260ae232096bc2bfb3e92ad0 |
|
24-Feb-2015 |
Mike Lockwood <lockwood@google.com> |
Eliminate MidiPort base class for MidiInputPort and MidiOutputPort Change-Id: I628c0468ac980eee909add53a4d6e55e9b358603
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|
b673770f7172d4fca9bc05de1f36bc53e93eb247 |
|
20-Feb-2015 |
Mike Lockwood <lockwood@google.com> |
Add MIDI Manager API tweaks: - Change the package name from android.midi to android.media.midi - Add option for specifying a Handler for DeviceCallback notifications Change-Id: Ia9e9817a651c06299f4e02ee1da3c9666ff64cb9
/frameworks/base/media/java/android/media/midi/MidiInputPort.java
|