Searched refs:MAX_PACKET_SIZE (Results 1 – 5 of 5) sorted by relevance
54 private static final int MAX_PACKET_SIZE = 512; field in BluetoothMidiDevice82 = 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));
39 public static final int MAX_PACKET_SIZE = 1024; field in MidiPortImpl54 public static final int MAX_PACKET_DATA_SIZE = MAX_PACKET_SIZE - DATA_PACKET_OVERHEAD;
55 byte[] buffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];
48 private final byte[] mBuffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];
136 dump.write("max_packet_size", UsbEndPointProto.MAX_PACKET_SIZE, in writeEndpoint()