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.java37 private final int mMaxPacketSize; field in UsbEndpoint
47 mMaxPacketSize = maxPacketSize; in UsbEndpoint()
119 return mMaxPacketSize; in getMaxPacketSize()
134 ",mMaxPacketSize=" + mMaxPacketSize + ",mInterval=" + mInterval +"]"; in toString()
159 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.java63 private int mMaxPacketSize; field in ClientOperation
91 mMaxPacketSize = maxSize; in ClientOperation()
281 return mMaxPacketSize - 6 - getHeaderLength(); in getMaxPacketSize()
414 if ((ObexHelper.BASE_PACKET_LENGTH + headerArray.length) > mMaxPacketSize) { in sendRequest()
421 end = ObexHelper.findHeaderEnd(headerArray, start, mMaxPacketSize in sendRequest()
468 if (bodyLength > (mMaxPacketSize - headerArray.length - 6)) { in sendRequest()
471 bodyLength = mMaxPacketSize - headerArray.length - 6; in sendRequest()