Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbEndpoint.java36 private final int mMaxPacketSize; field in UsbEndpoint
46 mMaxPacketSize = maxPacketSize; in UsbEndpoint()
118 return mMaxPacketSize; in getMaxPacketSize()
133 ",mMaxPacketSize=" + mMaxPacketSize + ",mInterval=" + mInterval +"]"; in toString()
158 parcel.writeInt(mMaxPacketSize); in writeToParcel()
/frameworks/base/obex/javax/obex/
DPrivateOutputStream.java52 private int mMaxPacketSize; field in PrivateOutputStream
61 mMaxPacketSize = maxSize; in PrivateOutputStream()
86 if (mArray.size() == mMaxPacketSize) { in write()
110 while ((mArray.size() + remainLength) >= mMaxPacketSize) { in write()
111 int bufferLeft = mMaxPacketSize - mArray.size(); in write()
DClientOperation.java71 private int mMaxPacketSize; field in ClientOperation
114 mMaxPacketSize = maxSize; in ClientOperation()
323 return mMaxPacketSize - 6 - getHeaderLength(); in getMaxPacketSize()
460 > mMaxPacketSize) { in sendRequest()
468 end = ObexHelper.findHeaderEnd(headerArray, start, mMaxPacketSize in sendRequest()
523 if (bodyLength > (mMaxPacketSize - headerArray.length - 6)) { in sendRequest()
526 bodyLength = mMaxPacketSize - headerArray.length - 6; in sendRequest()