Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DInputStreamBerDataValueReader.java163 long bytesRead = 0; in skipDefiniteLengthContents() local
168 "Truncated definite-length contents: " + bytesRead + " bytes read" in skipDefiniteLengthContents()
172 bytesRead += skipped; in skipDefiniteLengthContents()
180 int bytesRead = 0; in skipPrimitiveIndefiniteLengthContents() local
185 "Truncated indefinite-length contents: " + bytesRead + " bytes read"); in skipPrimitiveIndefiniteLengthContents()
187 bytesRead++; in skipPrimitiveIndefiniteLengthContents()
188 if (bytesRead < 0) { in skipPrimitiveIndefiniteLengthContents()
194 return bytesRead - 2; in skipPrimitiveIndefiniteLengthContents()
DByteBufferBerDataValueReader.java163 int bytesRead = 0; in skipPrimitiveIndefiniteLengthContents() local
167 "Truncated indefinite-length contents: " + bytesRead + " bytes read"); in skipPrimitiveIndefiniteLengthContents()
171 bytesRead++; in skipPrimitiveIndefiniteLengthContents()
172 if (bytesRead < 0) { in skipPrimitiveIndefiniteLengthContents()
178 return bytesRead - 2; in skipPrimitiveIndefiniteLengthContents()
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpHelper.java107 int bytesRead; in doGet() local
109 while ((bytesRead = remote.read(bufResult, currBufPos, in doGet()
111 currBufPos += bytesRead; in doGet()
375 int bytesRead; in run() local
377 while ((bytesRead = inputStream.read(bufResult, currBufPos, in run()
379 currBufPos += bytesRead; in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSizeLimitedOutputStreamTest.java54 int bytesRead = readDataPos; in testMaxFileSizeHelper() local
55 assertEquals(19, bytesRead); in testMaxFileSizeHelper()