Lines Matching defs:read
76 * <p>For more information about using Bluetooth, read the
438 // read out port number
526 /*package*/ int read(byte[] b, int offset, int length) throws IOException {
528 if (VDBG) Log.d(TAG, "read in: " + mSocketIS + " len: " + length);
532 Log.v(TAG, "l2cap: read(): offset: " + offset + " length:" + length
554 if (VDBG) Log.v(TAG, "default: read(): offset: " + offset + " length:" + length);
555 ret = mSocketIS.read(b, offset, length);
558 throw new IOException("bt socket closed, read return: " + ret);
560 if (VDBG) Log.d(TAG, "read out: " + mSocketIS + " ret: " + ret);
648 * Use this to optimize the reads done on the input stream, as any call to read
717 Log.d(TAG, "waitSocketSignal read " + SOCK_SIGNAL_SIZE + " bytes signal ret: " + ret);
750 mL2capBuffer.limit(0); // Ensure we do a real read at the first read-request
760 int ret = is.read(b, b.length - left, left);
762 throw new IOException("read failed, socket might closed or timeout, read ret: "
767 Log.w(TAG, "readAll() looping, read partial size: " + (b.length - left)
777 if (VDBG) Log.d(TAG, "inputStream.read ret: " + ret);
785 int ret = mSocketIS.read(mL2capBuffer.array());