Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/ipv6/cts/
DPingTest.java114 int bytesRead; in checkResponse() local
119 bytesRead = Os.recvfrom(s, responseBuffer, 0, from); in checkResponse()
128 bytesRead = Os.read(s, responseBuffer); in checkResponse()
132 assertEquals(sent.length, bytesRead); in checkResponse()
135 byte[] response = new byte[bytesRead]; in checkResponse()
137 responseBuffer.get(response, 0, bytesRead); in checkResponse()
149 assertArrayBytesEqual(response, sent, bytesRead); in checkResponse()
/cts/tools/vm-tests-tf/src/util/build/
DBytesStreamSucker.java57 int bytesRead; in suck() local
58 while ((bytesRead = is.read(buffer)) >= 0) { in suck()
59 os.write(buffer, 0, bytesRead); in suck()
/cts/libs/deviceutil/src/android/cts/util/
DSystemUtil.java62 int bytesRead; in runShellCommand() local
65 while ((bytesRead = fis.read(buf)) != -1) { in runShellCommand()
66 stdout.append(new String(buf, 0, bytesRead)); in runShellCommand()
DFileUtils.java117 int bytesRead; in copyToFile() local
118 while ((bytesRead = inputStream.read(buffer)) >= 0) { in copyToFile()
119 out.write(buffer, 0, bytesRead); in copyToFile()
/cts/tests/tests/net/src/android/net/http/cts/
DApacheHttpClientTest.java84 int bytesRead = stream.read(buffer); in assertDownloadResponse() local
85 if (bytesRead < 0) { in assertDownloadResponse()
88 numBytes += bytesRead; in assertDownloadResponse()
/cts/tests/tests/net/src/android/net/cts/
DMultinetworkSysctlTest.java64 int bytesRead = Os.read(fd, buf, 0, buf.length); in readFile() local
65 assertLess("length of " + fileName + ":", bytesRead, buf.length); in readFile()
DLocalSocketTest.java261 private int bytesRead; field in LocalSocketTest.StreamReader
274 bytesRead += readCount; in run()
275 if (bytesRead >= expectedByteCount) { in run()
296 assertEquals(expected, bytesRead); in assertBytesRead()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java343 int bytesRead = 0, totalRead = 0; in writeAndCheckData() local
345 bytesRead = in.read(read, totalRead, read.length - totalRead); in writeAndCheckData()
346 totalRead += bytesRead; in writeAndCheckData()
347 } while (bytesRead >= 0 && totalRead < data.length); in writeAndCheckData()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java163 int bytesRead; in copyToFileOrThrow() local
164 while ((bytesRead = inputStream.read(buffer)) >= 0) { in copyToFileOrThrow()
165 out.write(buffer, 0, bytesRead); in copyToFileOrThrow()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java149 int bytesRead = streamIn.read(buffer, total, in run() local
151 if (bytesRead > 0) { in run()
152 total += bytesRead; in run()
/cts/tests/tests/media/src/android/media/cts/
DVp8CodecTestBase.java476 int bytesRead = srcStream.read(srcFrame); in cacheScaledImage() local
477 if (bytesRead != srcFrame.length) { in cacheScaledImage()
745 int bytesRead = mYuvStream.read(mSrcFrame); in getInputFrame() local
747 if (bytesRead == -1) { in getInputFrame()
752 bytesRead = mYuvStream.read(mSrcFrame); in getInputFrame()
1329 int bytesRead = yuvStream.read(srcFrame); in encode() local
1337 if (!sawInputEOS && bytesRead == -1) { in encode()
1345 bytesRead = yuvStream.read(srcFrame); in encode()
1629 int bytesRead = yuvStream[i].read(srcFrame[i]); in encodeSimulcast() local
1638 if (!sawInputEOS[i] && bytesRead == -1) { in encodeSimulcast()
[all …]
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...