Home
last modified time | relevance | path

Searched refs:maxPacketSize (Results 1 – 6 of 6) 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.java39 public BluetoothPacketDecoder(int maxPacketSize) { in BluetoothPacketDecoder() argument
40 mBuffer = new byte[maxPacketSize]; in BluetoothPacketDecoder()
DBluetoothPacketEncoder.java177 public BluetoothPacketEncoder(PacketReceiver packetReceiver, int maxPacketSize) { in BluetoothPacketEncoder() argument
179 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()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java200 private void addUsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { in addUsbEndpoint() argument
201 mNewEndpoints.add(new UsbEndpoint(address, attributes, maxPacketSize, interval)); in addUsbEndpoint()