Searched refs:normalizedValue (Results 1 – 3 of 3) sorted by relevance
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1Integer.java | 62 BigInteger normalizedValue, BigInteger range) { in encodeNormalizedIntegerWithRangeAligned() argument 65 normalizedValue.intValue(), range.intValue()); in encodeNormalizedIntegerWithRangeAligned() 69 PerAlignedUtils.encodeBigNonNegativeWholeNumber(normalizedValue), in encodeNormalizedIntegerWithRangeAligned() 76 BigInteger normalizedValue, BigInteger range) { in encodeNormalizedIntegerWithRangeUnaligned() argument 78 normalizedValue.longValue(), range.longValue()); in encodeNormalizedIntegerWithRangeUnaligned() 117 BigInteger normalizedValue = value.subtract(minimumValue); in encodePerImpl() local 120 ? encodeNormalizedIntegerWithRangeAligned(normalizedValue, range) in encodePerImpl() 121 : encodeNormalizedIntegerWithRangeUnaligned(normalizedValue, range); in encodePerImpl() 186 BigInteger normalizedValue = aligned in decodePerImpl() local 189 value = minimumValue.add(normalizedValue); in decodePerImpl()
|
D | PerAlignedUtils.java | 42 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()
|
D | PerUnalignedUtils.java | 37 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()
|