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
525 + "mL2capBuffer= " + mL2capBuffer); in read()
527 if (mL2capBuffer == null) { in read()
530 if (mL2capBuffer.remaining() == 0) { in read()
536 if (bytesToRead > mL2capBuffer.remaining()) { in read()
537 bytesToRead = mL2capBuffer.remaining(); in read()
543 mL2capBuffer.get(b, offset, bytesToRead); in read()
744 mL2capBuffer = ByteBuffer.wrap(new byte[mMaxRxPacketSize]); in createL2capRxBuffer()
745 if (VDBG) Log.v(TAG, "mL2capBuffer.remaining()" + mL2capBuffer.remaining()); in createL2capRxBuffer()
746 mL2capBuffer.limit(0); // Ensure we do a real read at the first read-request in createL2capRxBuffer()
[all …]