Home
last modified time | relevance | path

Searched refs:readByte (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DIvfReader.java133 boolean signatureMatch = ((mIvfFile.readByte() == (byte)'D') && in verifyHeader()
134 (mIvfFile.readByte() == (byte)'K') && in verifyHeader()
135 (mIvfFile.readByte() == (byte)'I') && in verifyHeader()
136 (mIvfFile.readByte() == (byte)'F')); in verifyHeader()
140 boolean fourccMatch = ((mIvfFile.readByte() == (byte)'V') && in verifyHeader()
141 (mIvfFile.readByte() == (byte)'P') && in verifyHeader()
142 (mIvfFile.readByte() == (byte)'8') && in verifyHeader()
143 (mIvfFile.readByte() == (byte)'0')); in verifyHeader()
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DPerAlignedUtils.java122 return (reader.readByte() & 0xFF); in decodeNormalizedSmallConstrainedWholeNumber()
124 return ((reader.readByte() & 0xFF) << 8) in decodeNormalizedSmallConstrainedWholeNumber()
125 + (reader.readByte() & 0xFF); in decodeNormalizedSmallConstrainedWholeNumber()
198 result[i] = reader.readByte(); in decodeConstrainedLengthOfBytes()
240 result[i] = reader.readByte(); in decodeSemiConstrainedLengthOfBytes()
302 return (reader.readLowBits(6) << 8) + (reader.readByte() & 0xFF); in decodeSemiConstrainedLength()
DPerUnalignedUtils.java156 result[i] = reader.readByte(); in decodeConstrainedLengthOfBytes()
187 result[i] = reader.readByte(); in decodeSemiConstrainedLengthOfBytes()
237 return (reader.readLowBits(6) << 8) + (reader.readByte() & 0xFF); in decodeSemiConstrainedLength()
DAsn1GeneralString.java143 value[i] = reader.readByte(); in decodePerImpl()
168 value[i] = reader.readByte(); in decodePerImpl()
DAsn1BMPString.java193 int codepoint = (reader.readByte() & 0xFF) << 8; in decodeCharactersPer()
194 codepoint += reader.readByte() & 0xFF; in decodeCharactersPer()
DBitStreamReader.java69 public byte readByte() { in readByte() method in BitStreamReader
DAsn1OctetString.java140 value[i] = reader.readByte(); in decodePerImpl()
DAsn1IA5String.java260 exploded.put(reader.readByte()); in decodeValueCharacters()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java131 int readByte = 0; in testInputOutputStream() local
132 while ((readByte != FILE_END) && (readLength < FILE_DATA.length)) { in testInputOutputStream()
133 readLength += readByte; in testInputOutputStream()
134 readByte = mInputStream.read(dataFromFile, in testInputOutputStream()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DReadElf.java379 st_info = readByte(); in readSymbolTable()
380 int st_other = readByte(); in readSymbolTable()
387 st_info = readByte(); in readSymbolTable()
388 int st_other = readByte(); in readSymbolTable()
468 private int readByte() throws IOException { in readByte() method in ReadElf
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DReadElf.java379 st_info = readByte(); in readSymbolTable()
380 int st_other = readByte(); in readSymbolTable()
387 st_info = readByte(); in readSymbolTable()
388 int st_other = readByte(); in readSymbolTable()
468 private int readByte() throws IOException { in readByte() method in ReadElf
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DTestPropertyReader.java53 public void readByte(int id, byte value) { in readByte() method in TestPropertyReader
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java539 assertEquals((byte) 0, p.readByte()); in testReadByte()
545 assertEquals((byte) 1, p.readByte()); in testReadByte()
551 assertEquals((byte) -1, p.readByte()); in testReadByte()
557 assertEquals(Byte.MAX_VALUE, p.readByte()); in testReadByte()
563 assertEquals(Byte.MIN_VALUE, p.readByte()); in testReadByte()
575 assertEquals(Byte.MAX_VALUE, p.readByte()); in testReadByte()
576 assertEquals((byte) 11, p.readByte()); in testReadByte()
577 assertEquals((byte) 1, p.readByte()); in testReadByte()
578 assertEquals((byte) 0, p.readByte()); in testReadByte()
579 assertEquals((byte) -1, p.readByte()); in testReadByte()
[all …]