Home
last modified time | relevance | path

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

/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1IA5String.java119 int characterBitCount = calculateBitsPerCharacter(aligned); in encodePerImpl() local
122 boolean recodeValues = largestCanonicalValue >= (1 << characterBitCount); in encodePerImpl()
125 BitStream result = encodeValueCharacters(characterBitCount, recodeValues); in encodePerImpl()
126 if (aligned && (maximumSize == null || maximumSize * characterBitCount > 16)) { in encodePerImpl()
140 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
171 private BitStream encodeValueCharacters(int characterBitCount, in encodeValueCharacters() argument
179 if (characterBitCount == 8) { in encodeValueCharacters()
182 result.appendLowBits(characterBitCount, b); in encodeValueCharacters()
193 int characterBitCount = aligned ? 8 : 7; in calculateBitsPerCharacter() local
195 for (int i = 1; i < characterBitCount; i += aligned ? i : 1) { in calculateBitsPerCharacter()
[all …]
DAsn1GeneralString.java83 int characterBitCount = 8; in encodePerImpl() local
92 if (aligned && maximumSize * characterBitCount > 16) { in encodePerImpl()
106 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
132 int characterBitCount = 8; in decodePerImpl() local
139 if (aligned && maximumSize * characterBitCount > 16) { in decodePerImpl()
163 if (aligned && maximumSize * characterBitCount >= 16) { in decodePerImpl()
DAsn1BMPString.java85 int characterBitCount = 16; // Unless tight alphabet constraint. in encodePerImpl() local
91 if (aligned && maximumSize * characterBitCount > 16) { in encodePerImpl()
105 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
147 int characterBitCount = 16; // Unless tight alphabet constraint. in decodePerImpl() local
154 if (aligned && maximumSize * characterBitCount > 16) { in decodePerImpl()
175 if (aligned && maximumSize * characterBitCount >= 16) { in decodePerImpl()