Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbEndpoint.java43 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { in UsbEndpoint() argument
46 mMaxPacketSize = maxPacketSize; in UsbEndpoint()
141 int maxPacketSize = in.readInt();
143 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothPacketDecoder.java43 public BluetoothPacketDecoder(int maxPacketSize) { in BluetoothPacketDecoder() argument
44 mBuffer = new byte[maxPacketSize]; in BluetoothPacketDecoder()
DBluetoothPacketEncoder.java182 public BluetoothPacketEncoder(PacketReceiver packetReceiver, int maxPacketSize) { in BluetoothPacketEncoder() argument
184 mAccumulationBuffer = new byte[maxPacketSize]; in BluetoothPacketEncoder()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java58 public Transport(Logger logger, int maxPacketSize) { in Transport() argument
61 mOutputBuffer = ByteBuffer.allocate(maxPacketSize); in Transport()
63 maxPacketSize, Protocol.MAX_ENVELOPE_SIZE, MAX_INPUT_BUFFERS); in Transport()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java303 final int maxPacketSize = mControlEndpoint.getMaxPacketSize(); in registerHid() local
304 mLogger.log("Control endpoint max packet size: " + maxPacketSize); in registerHid()
305 if (mMultitouch.getReportSize() > maxPacketSize) { in registerHid()
321 int count = Math.min(mHidBuffer.remaining(), maxPacketSize); in registerHid()