Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Integer.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
63 BitStream result = PerAlignedUtils.encodeNormalizedSmallConstrainedWholeNumber( in encodeNormalizedIntegerWithRangeAligned()
67 return PerAlignedUtils.encodeConstrainedLengthOfBytes( in encodeNormalizedIntegerWithRangeAligned()
68 PerAlignedUtils.encodeBigNonNegativeWholeNumber(normalizedValue), in encodeNormalizedIntegerWithRangeAligned()
70 PerAlignedUtils.encodeBigNonNegativeWholeNumber(range).length); in encodeNormalizedIntegerWithRangeAligned()
124 ? PerAlignedUtils.encodeSemiConstrainedLengthOfBytes( in encodePerImpl()
125 PerAlignedUtils.encodeBigNonNegativeWholeNumber(value.subtract(minimumValue))) in encodePerImpl()
131 ? PerAlignedUtils.encodeUnconstrainedLengthOfBytes(value.toByteArray()) in encodePerImpl()
162 int normalizedIntValue = PerAlignedUtils.decodeNormalizedSmallConstrainedWholeNumber( in decodeNormalizedIntegerWithRangeAligned()
166 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;
86 return PerAlignedUtils.encodeSemiConstrainedLengthOfBytes(value); in encodePerImpl()
106 return PerAlignedUtils.encodeConstrainedLengthOfBytes( in encodePerImpl()
125 value = PerAlignedUtils.decodeSemiConstrainedLengthOfBytes(reader); in decodePerImpl()
146 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;
113 count = PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
155 count = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1IA5String.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
148 ? PerAlignedUtils.encodeSemiConstrainedLength(value.length()) in encodePerImpl()
152 count = PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
227 ? PerAlignedUtils.decodeSemiConstrainedLength(reader) in decodePerImpl()
231 count = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1BMPString.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
112 count = PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
167 count = PerAlignedUtils.decodeSmallConstrainedWholeNumber( in decodePerImpl()
DAsn1Utf8String.java90 return PerAlignedUtils.encodeSemiConstrainedLengthOfBytes(bytes); in encodePerImpl()
106 setValueBytes(PerAlignedUtils.decodeSemiConstrainedLengthOfBytes(reader)); in decodePerImpl()
DAsn1BitString.java19 import static android.location.cts.asn1.base.PerAlignedUtils.SIXTYFOUR_K;
133 count = PerAlignedUtils.encodeSmallConstrainedWholeNumber( in encodePerImpl()
185 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