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/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/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 {
DBluetoothPacketEncoder.java19 import android.media.midi.MidiReceiver;
54 private final MidiReceiver mFramedDataReceiver = new MidiReceiver() {
DBluetoothPacketDecoder.java19 import android.media.midi.MidiReceiver;
44 public void decodePacket(byte[] buffer, MidiReceiver receiver) { in decodePacket()
DBluetoothMidiDevice.java31 import android.media.midi.MidiReceiver;
68 private MidiReceiver mOutputReceiver;
233 MidiReceiver[] inputPortReceivers = new MidiReceiver[1]; in BluetoothMidiDevice()
/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/non-updatable-api/
Dcurrent.txt27294 method public final android.media.midi.MidiReceiver[] getOutputPortReceivers();
27298 method public abstract android.media.midi.MidiReceiver[] onGetInputPortReceivers();
27311 …public final class MidiInputPort extends android.media.midi.MidiReceiver implements java.io.Closea…
27339 method public void onConnect(android.media.midi.MidiReceiver);
27340 method public void onDisconnect(android.media.midi.MidiReceiver);
27343 public abstract class MidiReceiver {
27344 ctor public MidiReceiver();
27345 ctor public MidiReceiver(int);
27356 method public void connect(android.media.midi.MidiReceiver);
27357 method public void disconnect(android.media.midi.MidiReceiver);
[all …]
/frameworks/base/api/
Dcurrent.txt27424 method public final android.media.midi.MidiReceiver[] getOutputPortReceivers();
27428 method public abstract android.media.midi.MidiReceiver[] onGetInputPortReceivers();
27441 …public final class MidiInputPort extends android.media.midi.MidiReceiver implements java.io.Closea…
27469 method public void onConnect(android.media.midi.MidiReceiver);
27470 method public void onDisconnect(android.media.midi.MidiReceiver);
27473 public abstract class MidiReceiver {
27474 ctor public MidiReceiver();
27475 ctor public MidiReceiver(int);
27486 method public void connect(android.media.midi.MidiReceiver);
27487 method public void disconnect(android.media.midi.MidiReceiver);
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt39241 …Server;-><init>(Landroid/media/midi/IMidiManager;[Landroid/media/midi/MidiReceiver;ILandroid/media…
39242 …Server;-><init>(Landroid/media/midi/IMidiManager;[Landroid/media/midi/MidiReceiver;Landroid/media/…
39246 Landroid/media/midi/MidiDeviceServer;->getOutputPortReceivers()[Landroid/media/midi/MidiReceiver;
39255 Landroid/media/midi/MidiDeviceServer;->mInputPortReceivers:[Landroid/media/midi/MidiReceiver;
39300 Landroid/media/midi/MidiManager;->createDeviceServer([Landroid/media/midi/MidiReceiver;I[Ljava/lang…
39317 Landroid/media/midi/MidiReceiver;->mMaxMessageSize:I