Home
last modified time | relevance | path

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

/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothMidiDevice.java54 private static final int MAX_PACKET_SIZE = 512; field in BluetoothMidiDevice
82 = new BluetoothPacketEncoder(mPacketReceiver, MAX_PACKET_SIZE);
85 = new BluetoothPacketDecoder(MAX_PACKET_SIZE);
139 if (!gatt.requestMtu(MAX_PACKET_SIZE)) {
207 mPacketEncoder.setMaxPacketSize(Math.min(mtu, MAX_PACKET_SIZE));
208 mPacketDecoder.setMaxPacketSize(Math.min(mtu, MAX_PACKET_SIZE));
/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.java55 byte[] buffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];
DMidiInputPort.java48 private final byte[] mBuffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java136 dump.write("max_packet_size", UsbEndPointProto.MAX_PACKET_SIZE, in writeEndpoint()