Home
last modified time | relevance | path

Searched refs:readLength (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java130 int readLength = 0; in testInputOutputStream() local
132 while ((readByte != FILE_END) && (readLength < FILE_DATA.length)) { in testInputOutputStream()
133 readLength += readByte; in testInputOutputStream()
135 readLength, FILE_DATA.length - readLength); in testInputOutputStream()
137 assertEquals(FILE_DATA.length, readLength); in testInputOutputStream()
/cts/tests/tests/security/src/android/security/cts/
DBitmapFactorySecurityTests.java43 int readLength; in getResource() local
44 while ((readLength = is.read(buffer)) != -1) { in getResource()
45 output.write(buffer, 0, readLength); in getResource()
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Object.java135 int valueLen = Asn1Tag.readLength(buf); in decodeBer()
147 int innerValueLen = Asn1Tag.readLength(buf); in decodeBer()
DAsn1SequenceOf.java85 int valueLength = Asn1Tag.readLength(buf); in decodeBerValue()
92 valueLength = Asn1Tag.readLength(buf); in decodeBerValue()
DAsn1Choice.java166 int valueLen = Asn1Tag.readLength(buf); in decodeBerValue()
186 int len = Asn1Tag.readLength(buf); in decodeBer()
DAsn1Tag.java155 public static int readLength(ByteBuffer buf) { in readLength() method in Asn1Tag
DAsn1Sequence.java110 int valueLength = Asn1Tag.readLength(buf); in decodeBerValue()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java679 int readLength; in obtainByteArray() local
680 while ((readLength = is.read(buffer)) != -1) { in obtainByteArray()
681 os.write(buffer, 0, readLength); in obtainByteArray()
697 int readLength = 0; in obtainPath() local
698 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath()
699 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
DTypefaceTest.java242 int readLength = 0; in obtainPath() local
243 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath()
244 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
DBitmapFactoryTest.java922 int readLength = 0; in obtainPath() local
923 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath()
924 fOutput.write(dataBuffer, 0, readLength); in obtainPath()