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/location/location_gnss/src/android/location/cts/gnss/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.java144 value[i] = reader.readByte(); in decodePerImpl()
169 value[i] = reader.readByte(); in decodePerImpl()
DAsn1BMPString.java194 int codepoint = (reader.readByte() & 0xFF) << 8; in decodeCharactersPer()
195 codepoint += reader.readByte() & 0xFF; in decodeCharactersPer()
DBitStreamReader.java69 public byte readByte() { in readByte() method in BitStreamReader
DAsn1OctetString.java141 value[i] = reader.readByte(); in decodePerImpl()
DAsn1IA5String.java261 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/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.java540 assertEquals((byte) 0, p.readByte()); in testReadByte()
546 assertEquals((byte) 1, p.readByte()); in testReadByte()
552 assertEquals((byte) -1, p.readByte()); in testReadByte()
558 assertEquals(Byte.MAX_VALUE, p.readByte()); in testReadByte()
564 assertEquals(Byte.MIN_VALUE, p.readByte()); in testReadByte()
576 assertEquals(Byte.MAX_VALUE, p.readByte()); in testReadByte()
577 assertEquals((byte) 11, p.readByte()); in testReadByte()
578 assertEquals((byte) 1, p.readByte()); in testReadByte()
579 assertEquals((byte) 0, p.readByte()); in testReadByte()
580 assertEquals((byte) -1, p.readByte()); in testReadByte()
[all …]
/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/
DIncrementalInstallTest.java168 raf.writeByte((byte) (~raf.readByte())); in testBaseApkInvalidSignatureAdbInstall()