Home
last modified time | relevance | path

Searched refs:MAX_PACKET_SIZE (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothMidiDevice.java53 private static final int MAX_PACKET_SIZE = 20; field in BluetoothMidiDevice
80 = new BluetoothPacketEncoder(mPacketReceiver, MAX_PACKET_SIZE);
83 = new BluetoothPacketDecoder(MAX_PACKET_SIZE);
196 mWriteBuffers = new byte[MAX_PACKET_SIZE + 1][]; in PacketReceiver()
197 for (int i = 0; i <= MAX_PACKET_SIZE; i++) { in PacketReceiver()
/frameworks/base/media/java/android/media/midi/
DMidiPortImpl.java39 public static final int MAX_PACKET_SIZE = 1024; field in MidiPortImpl
54 public static final int MAX_PACKET_DATA_SIZE = MAX_PACKET_SIZE - DATA_PACKET_OVERHEAD;
DMidiOutputPort.java54 byte[] buffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];
DMidiInputPort.java48 private final byte[] mBuffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];