Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java148 private ByteBuffer mL2capBuffer = null; field in BluetoothSocket
539 + "mL2capBuffer= " + mL2capBuffer); in read()
541 if (mL2capBuffer == null) { in read()
544 if (mL2capBuffer.remaining() == 0) { in read()
550 if (bytesToRead > mL2capBuffer.remaining()) { in read()
551 bytesToRead = mL2capBuffer.remaining(); in read()
557 mL2capBuffer.get(b, offset, bytesToRead); in read()
758 mL2capBuffer = ByteBuffer.wrap(new byte[mMaxRxPacketSize]); in createL2capRxBuffer()
759 if (VDBG) Log.v(TAG, "mL2capBuffer.remaining()" + mL2capBuffer.remaining()); in createL2capRxBuffer()
760 mL2capBuffer.limit(0); // Ensure we do a real read at the first read-request in createL2capRxBuffer()
[all …]