Home
last modified time | relevance | path

Searched refs:encodedValue (Results 1 – 3 of 3) sorted by relevance

/cts/tools/release-parser/src/com/android/cts/releaseparser/
DDexParser.java217 private String getEncodedValueString(EncodedValue encodedValue) { in getEncodedValueString() argument
218 switch (encodedValue.getValueType()) { in getEncodedValueString()
220 return String.format("0x%X", ((ByteEncodedValue) encodedValue).getValue()); in getEncodedValueString()
222 return String.format("%d", ((ShortEncodedValue) encodedValue).getValue()); in getEncodedValueString()
224 return String.format("%c", ((CharEncodedValue) encodedValue).getValue()); in getEncodedValueString()
226 return String.format("%d", ((IntEncodedValue) encodedValue).getValue()); in getEncodedValueString()
228 return String.format("%d", ((LongEncodedValue) encodedValue).getValue()); in getEncodedValueString()
230 return String.format("%f", ((FloatEncodedValue) encodedValue).getValue()); in getEncodedValueString()
232 return String.format("%f", ((DoubleEncodedValue) encodedValue).getValue()); in getEncodedValueString()
234 return ((StringEncodedValue) encodedValue).getValue(); in getEncodedValueString()
[all …]
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Sequence.java180 Iterable<BitStream> encodedValue = null; in encodePerImpl() local
182 encodedValue = value.encodePerAligned(); in encodePerImpl()
184 encodedValue = value.encodePerUnaligned(); in encodePerImpl()
186 listBuilder.addAll(encodedValue); in encodePerImpl()
DAsn1IA5String.java306 int encodedValue = alphabet.indexOf(c); in encodeLoop() local
307 if (encodedValue < 0) { in encodeLoop()
310 out.put((byte) encodedValue); in encodeLoop()