Searched refs:maxPacketSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbEndpoint.java | 43 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/ |
D | BluetoothPacketDecoder.java | 43 public BluetoothPacketDecoder(int maxPacketSize) { in BluetoothPacketDecoder() argument 44 mBuffer = new byte[maxPacketSize]; in BluetoothPacketDecoder()
|
D | BluetoothPacketEncoder.java | 182 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/ |
D | Transport.java | 58 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/ |
D | SinkActivity.java | 303 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()
|