Home
last modified time | relevance | path

Searched refs:MidiReceiver (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/midi/
DMidiDispatcher.java19 import android.media.midi.MidiReceiver;
33 public final class MidiDispatcher extends MidiReceiver {
42 void onReceiverFailure(MidiReceiver receiver, IOException failure); in onReceiverFailure()
46 private final CopyOnWriteArrayList<MidiReceiver> mReceivers
47 = new CopyOnWriteArrayList<MidiReceiver>();
51 public void onConnect(MidiReceiver receiver) {
56 public void onDisconnect(MidiReceiver receiver) {
89 for (MidiReceiver receiver : mReceivers) { in onSend()
106 for (MidiReceiver receiver : mReceivers) { in onFlush()
DMidiFramer.java19 import android.media.midi.MidiReceiver;
34 public class MidiFramer extends MidiReceiver {
37 private MidiReceiver mReceiver;
44 public MidiFramer(MidiReceiver receiver) { in MidiFramer()
DMidiEventScheduler.java19 import android.media.midi.MidiReceiver;
31 private MidiReceiver mReceiver = new SchedulingReceiver();
33 private class SchedulingReceiver extends MidiReceiver {
119 public MidiReceiver getReceiver() { in getReceiver()
/frameworks/base/media/java/android/media/midi/
DMidiSender.java30 public void connect(MidiReceiver receiver) { in connect()
42 public void disconnect(MidiReceiver receiver) { in disconnect()
54 abstract public void onConnect(MidiReceiver receiver); in onConnect()
61 abstract public void onDisconnect(MidiReceiver receiver); in onDisconnect()
DMidiDeviceService.java82 MidiReceiver[] inputPortReceivers = onGetInputPortReceivers(); in onCreate()
84 inputPortReceivers = new MidiReceiver[0]; in onCreate()
101 abstract public MidiReceiver[] onGetInputPortReceivers(); in onGetInputPortReceivers()
108 public final MidiReceiver[] getOutputPortReceivers() { in getOutputPortReceivers()
DMidiReceiver.java24 abstract public class MidiReceiver { class
32 public MidiReceiver() { in MidiReceiver() method in MidiReceiver
40 public MidiReceiver(int maxMessageSize) { in MidiReceiver() method in MidiReceiver
DMidiDeviceServer.java56 private final MidiReceiver[] mInputPortReceivers;
335 /* package */ MidiDeviceServer(IMidiManager midiManager, MidiReceiver[] inputPortReceivers, in MidiDeviceServer()
358 public void onReceiverFailure(MidiReceiver receiver, IOException failure) {
371 /* package */ MidiDeviceServer(IMidiManager midiManager, MidiReceiver[] inputPortReceivers, in MidiDeviceServer()
447 public MidiReceiver[] getOutputPortReceivers() { in getOutputPortReceivers()
448 MidiReceiver[] receivers = new MidiReceiver[mOutputPortCount]; in getOutputPortReceivers()
DMidiOutputPort.java125 public void onConnect(MidiReceiver receiver) { in onConnect()
130 public void onDisconnect(MidiReceiver receiver) { in onDisconnect()
DMidiInputPort.java35 public final class MidiInputPort extends MidiReceiver implements Closeable {
DMidiManager.java312 public MidiDeviceServer createDeviceServer(MidiReceiver[] inputPortReceivers, in createDeviceServer()
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DPacketDecoder.java19 import android.media.midi.MidiReceiver;
32 abstract public void decodePacket(byte[] buffer, MidiReceiver receiver); in decodePacket()
DPacketEncoder.java19 import android.media.midi.MidiReceiver;
27 public abstract class PacketEncoder extends MidiReceiver {
DBluetoothPacketDecoder.java19 import android.media.midi.MidiReceiver;
47 private void flushOutput(MidiReceiver receiver) { in flushOutput()
61 public void decodePacket(byte[] buffer, MidiReceiver receiver) { in decodePacket()
DBluetoothPacketEncoder.java19 import android.media.midi.MidiReceiver;
54 private final MidiReceiver mFramedDataReceiver = new MidiReceiver() {
DBluetoothMidiDevice.java31 import android.media.midi.MidiReceiver;
68 private MidiReceiver mOutputReceiver;
233 MidiReceiver[] inputPortReceivers = new MidiReceiver[1]; in BluetoothMidiDevice()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbMidiDevice.java25 import android.media.midi.MidiReceiver;
118 private final class InputReceiverProxy extends MidiReceiver {
119 private MidiReceiver mReceiver;
123 MidiReceiver receiver = mReceiver; in onSend()
129 public void setReceiver(MidiReceiver receiver) { in setReceiver()
135 MidiReceiver receiver = mReceiver; in onFlush()
207 final MidiReceiver[] outputReceivers = mServer.getOutputPortReceivers(); in openLocked()
/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
DAccumulatingMidiReceiver.java19 import android.media.midi.MidiReceiver;
26 class AccumulatingMidiReceiver extends MidiReceiver {
/frameworks/base/media/native/midi/
Damidi.cpp303 class MidiReceiver { class
305 MidiReceiver(AMIDI_Port *port) : mPort(port) {} in MidiReceiver() function in MidiReceiver
307 ~MidiReceiver() { in ~MidiReceiver()
360 return MidiReceiver((AMIDI_Port*)outputPort).receive(opcodePtr, buffer, maxBytes, in AMidiOutputPort_receive()
/frameworks/base/core/api/
Dcurrent.txt24996 method public final android.media.midi.MidiReceiver[] getOutputPortReceivers();
25000 method public abstract android.media.midi.MidiReceiver[] onGetInputPortReceivers();
25013 …public final class MidiInputPort extends android.media.midi.MidiReceiver implements java.io.Closea…
25041 method public void onConnect(android.media.midi.MidiReceiver);
25042 method public void onDisconnect(android.media.midi.MidiReceiver);
25045 public abstract class MidiReceiver {
25046 ctor public MidiReceiver();
25047 ctor public MidiReceiver(int);
25058 method public void connect(android.media.midi.MidiReceiver);
25059 method public void disconnect(android.media.midi.MidiReceiver);
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt31984 …Server;-><init>(Landroid/media/midi/IMidiManager;[Landroid/media/midi/MidiReceiver;ILandroid/media…
31985 …Server;-><init>(Landroid/media/midi/IMidiManager;[Landroid/media/midi/MidiReceiver;Landroid/media/…
31989 Landroid/media/midi/MidiDeviceServer;->getOutputPortReceivers()[Landroid/media/midi/MidiReceiver;
31998 Landroid/media/midi/MidiDeviceServer;->mInputPortReceivers:[Landroid/media/midi/MidiReceiver;
32043 Landroid/media/midi/MidiManager;->createDeviceServer([Landroid/media/midi/MidiReceiver;I[Ljava/lang…
32060 Landroid/media/midi/MidiReceiver;->mMaxMessageSize:I