Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Integer.java61 BigInteger normalizedValue, BigInteger range) { in encodeNormalizedIntegerWithRangeAligned() argument
64 normalizedValue.intValue(), range.intValue()); in encodeNormalizedIntegerWithRangeAligned()
68 PerAlignedUtils.encodeBigNonNegativeWholeNumber(normalizedValue), in encodeNormalizedIntegerWithRangeAligned()
75 BigInteger normalizedValue, BigInteger range) { in encodeNormalizedIntegerWithRangeUnaligned() argument
77 normalizedValue.longValue(), range.longValue()); in encodeNormalizedIntegerWithRangeUnaligned()
116 BigInteger normalizedValue = value.subtract(minimumValue); in encodePerImpl() local
119 ? encodeNormalizedIntegerWithRangeAligned(normalizedValue, range) in encodePerImpl()
120 : encodeNormalizedIntegerWithRangeUnaligned(normalizedValue, range); in encodePerImpl()
185 BigInteger normalizedValue = aligned in decodePerImpl() local
188 value = minimumValue.add(normalizedValue); in decodePerImpl()
DPerAlignedUtils.java42 int normalizedValue = value - minimumValue; in encodeSmallConstrainedWholeNumber() local
45 return encodeNormalizedSmallConstrainedWholeNumber(normalizedValue, range); in encodeSmallConstrainedWholeNumber()
58 int normalizedValue, int range) { in encodeNormalizedSmallConstrainedWholeNumber() argument
60 Preconditions.checkArgument(normalizedValue >= 0, in encodeNormalizedSmallConstrainedWholeNumber()
68 (byte) normalizedValue); in encodeNormalizedSmallConstrainedWholeNumber()
75 result.appendByte((byte) (normalizedValue)); in encodeNormalizedSmallConstrainedWholeNumber()
78 result.appendByte((byte) ((normalizedValue & 0xFF00) >>> 8)); in encodeNormalizedSmallConstrainedWholeNumber()
79 result.appendByte((byte) (normalizedValue & 0x00FF)); in encodeNormalizedSmallConstrainedWholeNumber()
DPerUnalignedUtils.java37 int normalizedValue = value - minimumValue; in encodeConstrainedWholeNumber() local
40 return encodeNormalizedConstrainedWholeNumber(normalizedValue, range); in encodeConstrainedWholeNumber()
53 long normalizedValue, long range) { in encodeNormalizedConstrainedWholeNumber() argument
57 result.appendBit((normalizedValue >> i & 1) != 0); in encodeNormalizedConstrainedWholeNumber()