Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/async/
DCircularByteBufferTest.java94 final int capacity, final int writeLen, final int readLen) { in doTestReadWrite() argument
98 final byte[] peekBuffer = new byte[readLen + 2]; in doTestReadWrite()
99 final byte[] readBuffer = new byte[readLen + 2]; in doTestReadWrite()
102 final int maxRemaining = readLen - 1; in doTestReadWrite()
123 while (buffer.size() >= readLen) { in doTestReadWrite()
126 buffer.peekBytes(2, peekBuffer, 3, readLen - 2); in doTestReadWrite()
132 accessor.readBytes(buffer, readBuffer, 1, readLen); in doTestReadWrite()
136 readBuffer, 1, readLen, expectedReadSymbol, totalRead); in doTestReadWrite()
140 expectedSize -= readLen; in doTestReadWrite()
141 totalRead += readLen; in doTestReadWrite()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt215 val readLen = min(len, remaining) in read() constant
216 for (i in 0 until readLen) { in read()
221 return readLen in read()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpcore-4.4.13.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java1358 int readLen = pduDataStream.read(area, 0, length); in skipWapValue() local
1359 if (readLen < length) { //The actually read length is lower than the length in skipWapValue()
1362 return readLen; in skipWapValue()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java1321 int readLen = pduDataStream.read(area, 0, length); in skipWapValue() local
1322 if (readLen < length) { //The actually read length is lower than the length in skipWapValue()
1325 return readLen; in skipWapValue()