Home
last modified time | relevance | path

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

/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ber/
DBerDataValueReaderTestBase.java59 BerDataValue dataValue = readDataValue("1000"); in testSingleByteTagId() local
60 assertEquals(BerEncoding.TAG_CLASS_UNIVERSAL, dataValue.getTagClass()); in testSingleByteTagId()
61 assertFalse(dataValue.isConstructed()); in testSingleByteTagId()
62 assertEquals(0x10, dataValue.getTagNumber()); in testSingleByteTagId()
64 dataValue = readDataValue("3900"); in testSingleByteTagId()
65 assertEquals(BerEncoding.TAG_CLASS_UNIVERSAL, dataValue.getTagClass()); in testSingleByteTagId()
66 assertTrue(dataValue.isConstructed()); in testSingleByteTagId()
67 assertEquals(0x19, dataValue.getTagNumber()); in testSingleByteTagId()
69 dataValue = readDataValue("6700"); in testSingleByteTagId()
70 assertEquals(BerEncoding.TAG_CLASS_APPLICATION, dataValue.getTagClass()); in testSingleByteTagId()
[all …]
DBerDataValueTest.java111 BerDataValue dataValue = in testContentsReader() local
118 BerDataValueReader reader = dataValue.contentsReader(); in testContentsReader()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java146 private static <T> T parseChoice(BerDataValue dataValue, Class<T> containerClass) in parseChoice() argument
184 field.setValueFrom(dataValue, obj); in parseChoice()
232 BerDataValue dataValue; in parseSequence() local
237 dataValue = container; in parseSequence()
239 dataValue = elementsReader.readDataValue(); in parseSequence()
244 if (dataValue == null) { in parseSequence()
255 field.setValueFrom(dataValue, t); in parseSequence()
266 field.setValueFrom(dataValue, t); in parseSequence()
290 BerDataValue dataValue; in parseSetOf() local
292 dataValue = elementsReader.readDataValue(); in parseSetOf()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DInputStreamBerDataValueReader.java215 BerDataValue dataValue = readDataValue(in); in skipConstructedIndefiniteLengthContents() local
216 if (dataValue == null) { in skipConstructedIndefiniteLengthContents()
224 ByteBuffer encoded = dataValue.getEncoded(); in skipConstructedIndefiniteLengthContents()