Home
last modified time | relevance | path

Searched refs:PerAlignedUtils (Results 1 – 14 of 14) sorted by relevance

/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Integer.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
64 BitStream result = PerAlignedUtils.encodeNormalizedSmallConstrainedWholeNumber( in encodeNormalizedIntegerWithRangeAligned()
68 return PerAlignedUtils.encodeConstrainedLengthOfBytes( in encodeNormalizedIntegerWithRangeAligned()
69 PerAlignedUtils.encodeBigNonNegativeWholeNumber(normalizedValue), in encodeNormalizedIntegerWithRangeAligned()
71 PerAlignedUtils.encodeBigNonNegativeWholeNumber(range).length); in encodeNormalizedIntegerWithRangeAligned()
125 ? PerAlignedUtils.encodeSemiConstrainedLengthOfBytes( in encodePerImpl()
126 PerAlignedUtils.encodeBigNonNegativeWholeNumber(value.subtract(minimumValue))) in encodePerImpl()
132 ? PerAlignedUtils.encodeUnconstrainedLengthOfBytes(value.toByteArray()) in encodePerImpl()
163 int normalizedIntValue = PerAlignedUtils.decodeNormalizedSmallConstrainedWholeNumber( in decodeNormalizedIntegerWithRangeAligned()
167 return PerAlignedUtils.decodeBigNonNegativeWholeNumber( in decodeNormalizedIntegerWithRangeAligned()
[all …]
DAsn1SequenceOf.java113 if (maximumSize == null || maximumSize >= PerAlignedUtils.SIXTYFOUR_K) { in encodePerImpl()
115 listBuilder.add(PerAlignedUtils.encodeSemiConstrainedLength(sequence.size())); in encodePerImpl()
122 PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
150 if (maximumSize == null || maximumSize >= PerAlignedUtils.SIXTYFOUR_K) { in decodePerImpl()
152 size = PerAlignedUtils.decodeSemiConstrainedLength(reader); in decodePerImpl()
158 size = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1OctetString.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
87 return PerAlignedUtils.encodeSemiConstrainedLengthOfBytes(value); in encodePerImpl()
107 return PerAlignedUtils.encodeConstrainedLengthOfBytes( in encodePerImpl()
126 value = PerAlignedUtils.decodeSemiConstrainedLengthOfBytes(reader); in decodePerImpl()
147 value = PerAlignedUtils.decodeConstrainedLengthOfBytes( in decodePerImpl()
DAsn1Choice.java207 PerAlignedUtils.encodeNormallySmallWholeNumber(selectionOrdinal)); in encodePerImpl()
216 PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
229 listBuilder.addAll(PerAlignedUtils.encodeOpenTypeField(value)); in encodePerImpl()
261 selectionOrdinal = PerAlignedUtils.decodeNormallySmallWholeNumber(reader); in decodePerImpl()
267 selectionOrdinal = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
277 PerAlignedUtils.decodeOpenTypeField(reader, element); in decodePerImpl()
DAsn1Enumerated.java104 PerAlignedUtils.encodeNormallySmallWholeNumber(value.ordinal())); in encodePerImpl()
114 PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
136 value = lookupExtensionValue(PerAlignedUtils.decodeNormallySmallWholeNumber(reader)); in decodePerImpl()
143 PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1Sequence.java163 if (bitFieldSize >= PerAlignedUtils.SIXTYFOUR_K) { in encodePerImpl()
222 PerAlignedUtils.encodeSemiConstrainedLength(extensionBitFieldSize); in encodePerImpl()
235 extensionValues = PerAlignedUtils. in encodePerImpl()
275 if (bitFieldSize >= PerAlignedUtils.SIXTYFOUR_K) { in decodePerImpl()
306 PerAlignedUtils.decodeSemiConstrainedLength(reader); in decodePerImpl()
332 PerAlignedUtils.decodeSemiConstrainedLengthOfBytes(reader); in decodePerImpl()
344 PerAlignedUtils.decodeSemiConstrainedLengthOfBytes(reader); in decodePerImpl()
DAsn1GeneralString.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
114 count = PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
156 count = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1BMPString.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
113 count = PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
168 count = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1IA5String.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
149 ? PerAlignedUtils.encodeSemiConstrainedLength(value.length()) in encodePerImpl()
153 count = PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
228 ? PerAlignedUtils.decodeSemiConstrainedLength(reader) in decodePerImpl()
232 count = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1Utf8String.java91 return PerAlignedUtils.encodeSemiConstrainedLengthOfBytes(bytes); in encodePerImpl()
107 setValueBytes(PerAlignedUtils.decodeSemiConstrainedLengthOfBytes(reader)); in decodePerImpl()
DAsn1BitString.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
134 count = PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
186 length = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1ObjectIdentifier.java92 return PerAlignedUtils.encodeSemiConstrainedLengthOfBytes(encodeBerInternal()); in encodePerAligned()
111 byte[] basicEncoding = PerAlignedUtils.decodeSemiConstrainedLengthOfBytes(reader); in decodePerAligned()
DPerUnalignedUtils.java20 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTEEN_K;
21 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
DPerAlignedUtils.java29 public class PerAlignedUtils { class