Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbEndpoint.java44 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { in UsbEndpoint() argument
47 mMaxPacketSize = maxPacketSize; in UsbEndpoint()
142 int maxPacketSize = in.readInt();
144 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
/frameworks/base/obex/javax/obex/
DClientSession.java57 private int maxPacketSize = 256; field in ClientSession
161 return new ClientOperation(maxPacketSize, this, head, true); in get()
205 if ((head.length + 3) > maxPacketSize) { in disconnect()
272 return new ClientOperation(maxPacketSize, this, head, false); in put()
317 if (totalLength > maxPacketSize) { in setPath()
449 maxPacketSize = (mInput.read() << 8) + mInput.read(); in sendRequest()
452 if (maxPacketSize > ObexHelper.MAX_CLIENT_PACKET_SIZE) { in sendRequest()
453 maxPacketSize = ObexHelper.MAX_CLIENT_PACKET_SIZE; in sendRequest()
/frameworks/base/services/java/com/android/server/usb/
DUsbHostManager.java134 int maxPacketSize = endpointValues[eval++]; in usbDeviceAdded() local
137 maxPacketSize, interval); in usbDeviceAdded()