/cts/tests/tests/net/src/android/net/ipv6/cts/ |
D | PingTest.java | 114 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/tests/tests/net/src/android/net/http/cts/ |
D | ApacheHttpClientTest.java | 84 int bytesRead = stream.read(buffer); in assertDownloadResponse() local 85 if (bytesRead < 0) { in assertDownloadResponse() 88 numBytes += bytesRead; in assertDownloadResponse()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | FileUtils.java | 117 int bytesRead; in copyToFile() local 118 while ((bytesRead = inputStream.read(buffer)) >= 0) { in copyToFile() 119 out.write(buffer, 0, bytesRead); in copyToFile()
|
D | SystemUtil.java | 73 int bytesRead; in runShellCommand() local 76 while ((bytesRead = fis.read(buf)) != -1) { in runShellCommand() 77 stdout.append(new String(buf, 0, bytesRead)); in runShellCommand()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | SysctlBaseTest.java | 57 int bytesRead = Os.read(fd, buf, 0, buf.length); in readFile() local 58 assertLess("length of " + fileName + ":", bytesRead, buf.length); in readFile()
|
D | IpSecBaseTest.java | 130 AtomicInteger bytesRead = new AtomicInteger(-1); in receive() local 134 … while (bytesRead.get() < 0 && System.currentTimeMillis() < startTime + SOCK_TIMEOUT) { in receive() 136 bytesRead.set(Os.recvfrom(mFd, in, 0, DATA_BUFFER_LEN, 0, null)); in receive() 146 if (bytesRead.get() < 0) { in receive() 150 return Arrays.copyOfRange(in, 0, bytesRead.get()); in receive() 267 int bytesRead = mSocket.getInputStream().read(in); in receive() local 268 return Arrays.copyOfRange(in, 0, bytesRead); in receive()
|
D | LocalSocketTest.java | 372 private int bytesRead; field in LocalSocketTest.StreamReader 385 bytesRead += readCount; in run() 386 if (bytesRead >= expectedByteCount) { in run() 407 assertEquals(expected, bytesRead); in assertBytesRead()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 226 long bytesRead = 0; in onAttached() local 228 while (bytesRead < TEST_DATA_SIZE_THRESHOLD) { in onAttached() 230 bytesRead += numRead; in onAttached() 233 speedKBPS = (bytesRead * 8 * 1000. / 1024.) in onAttached()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintDocumentInfoTest.java | 174 long bytesRead = 0; in printDocumentBaseTest() local 181 bytesRead++; in printDocumentBaseTest() 184 assertEquals(queuedInfo[0].getDataSize(), bytesRead); in printDocumentBaseTest()
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | AccessoryTestCompanion.java | 171 long bytesRead = 0; in runTest() local 172 while (bytesRead < TEST_DATA_SIZE_THRESHOLD) { in runTest() 175 bytesRead += numTransferred; in runTest()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SeccompTest.java | 438 int bytesRead = policyStream.read(buffer); in installTestFilter() local 439 if (bytesRead == -1) in installTestFilter() 444 for (int i = 0; i < bytesRead; i++) { in installTestFilter()
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | ActivityManagerState.java | 128 int bytesRead; in executeShellCommand() local 131 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 132 stdout.write(buf, 0, bytesRead); in executeShellCommand()
|
D | WindowManagerState.java | 131 int bytesRead; in executeShellCommand() local 134 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 135 stdout.write(buf, 0, bytesRead); in executeShellCommand()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 347 int bytesRead = 0, totalRead = 0; in writeAndCheckData() local 349 bytesRead = in.read(read, totalRead, read.length - totalRead); in writeAndCheckData() 350 totalRead += bytesRead; in writeAndCheckData() 351 } while (bytesRead >= 0 && totalRead < data.length); in writeAndCheckData()
|
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
D | ActivityManagerGetConfigTests.java | 85 int bytesRead; in executeShellCommand() local 88 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 89 stdout.write(buf, 0, bytesRead); in executeShellCommand()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 149 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/ |
D | VpxCodecTestBase.java | 486 int bytesRead = srcStream.read(srcFrame); in cacheScaledImage() local 487 if (bytesRead != srcFrame.length) { in cacheScaledImage() 756 int bytesRead = mYuvStream.read(mSrcFrame); in getInputFrame() local 758 if (bytesRead == -1) { in getInputFrame() 763 bytesRead = mYuvStream.read(mSrcFrame); in getInputFrame() 1345 int bytesRead = yuvStream.read(srcFrame); in encode() local 1353 if (!sawInputEOS && bytesRead == -1) { in encode() 1361 bytesRead = yuvStream.read(srcFrame); in encode() 1650 int bytesRead = yuvStream[i].read(srcFrame[i]); in encodeSimulcast() local 1659 if (!sawInputEOS[i] && bytesRead == -1) { in encodeSimulcast() [all …]
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 167 int bytesRead; in copyToFileOrThrow() local 168 while ((bytesRead = inputStream.read(buffer)) >= 0) { in copyToFileOrThrow() 169 out.write(buffer, 0, bytesRead); in copyToFileOrThrow()
|
/cts/tests/framework/base/activitymanager/util/src/android/server/am/ |
D | ActivityManagerState.java | 136 int bytesRead; in executeShellCommand() local 139 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 140 stdout.write(buf, 0, bytesRead); in executeShellCommand()
|
D | WindowManagerState.java | 164 int bytesRead; in executeShellCommand() local 167 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 168 stdout.write(buf, 0, bytesRead); in executeShellCommand()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | SSLConscryptPlainTextExposureTest.java | 810 int bytesRead = socketChannel.read(dataInNetBuffer); in read() local 811 if(bytesRead > 0) { in read() 834 else if(bytesRead < 0) { in read()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ImageDecoderTest.java | 118 int bytesRead; in writeToStream() local 124 while ((bytesRead = input.read(buffer)) != -1) { in writeToStream() 125 output.write(buffer, 0, bytesRead); in writeToStream() 908 final int bytesRead = mInputStream.read(b, off, len); in read() local 909 mPosition += bytesRead; in read() 910 return bytesRead; in read()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |