Searched refs:mMaxPacketSize (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbACAudioControlEndpoint.java31 private int mMaxPacketSize; // 4:2 Maximum packet size this endpoint is capable of sending field in class:UsbACAudioControlEndpoint
54 return mMaxPacketSize;
67 mMaxPacketSize = stream.unpackUsbShort();
/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.java36 private final int mMaxPacketSize; field in class:UsbEndpoint
46 mMaxPacketSize = maxPacketSize;
118 return mMaxPacketSize;
133 ",mMaxPacketSize=" + mMaxPacketSize + ",mInterval=" + mInterval +"]";
158 parcel.writeInt(mMaxPacketSize);
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java52 private int mMaxPacketSize; field in class:PrivateOutputStream
61 mMaxPacketSize = maxSize;
86 if (mArray.size() == mMaxPacketSize) {
110 while ((mArray.size() + remainLength) >= mMaxPacketSize) {
111 int bufferLeft = mMaxPacketSize - mArray.size();
H A DClientOperation.java71 private int mMaxPacketSize; field in class:ClientOperation
114 mMaxPacketSize = maxSize;
322 return mMaxPacketSize - 6 - getHeaderLength();
460 > mMaxPacketSize) {
468 end = ObexHelper.findHeaderEnd(headerArray, start, mMaxPacketSize
523 if (bodyLength > (mMaxPacketSize - headerArray.length - 6)) {
526 bodyLength = mMaxPacketSize - headerArray.length - 6;

Completed in 11 milliseconds