Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java145 int readLength = 0; in testInputOutputStream() local
147 while ((readByte != FILE_END) && (readLength < FILE_DATA.length)) { in testInputOutputStream()
148 readLength += readByte; in testInputOutputStream()
150 readLength, FILE_DATA.length - readLength); in testInputOutputStream()
152 assertEquals(FILE_DATA.length, readLength); in testInputOutputStream()
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserInputReader.java44 public int read(byte[] buffer, int offset, int readLength) throws IOException { in read() argument
45 return mFakeExtractorInput.read(buffer, offset, readLength); in read()
/cts/tests/tests/security/src/android/security/cts/
DBitmapFactorySecurityTests.java50 int readLength; in getResource() local
51 while ((readLength = is.read(buffer)) != -1) { in getResource()
52 output.write(buffer, 0, readLength); in getResource()
/cts/tests/tests/graphics/src/android/graphics/cts/
DUtils.java104 int readLength = 0; in obtainFile() local
105 while ((readLength = is.read(dataBuffer)) != -1) { in obtainFile()
106 fOutput.write(dataBuffer, 0, readLength); in obtainFile()
DBitmapRegionDecoderTest.java858 int readLength; in obtainByteArray() local
859 while ((readLength = is.read(buffer)) != -1) { in obtainByteArray()
860 os.write(buffer, 0, readLength); in obtainByteArray()
876 int readLength = 0; in obtainPath() local
877 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath()
878 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
DTypefaceTest.java288 int readLength = 0; in obtainPath() local
289 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath()
290 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/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()