Home
last modified time | relevance | path

Searched refs:alphabet (Results 1 – 4 of 4) sorted by relevance

/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1IA5String.java47 private String alphabet = null; field in Asn1IA5String
75 protected void setAlphabet(String alphabet) { in setAlphabet() argument
76 Objects.requireNonNull(alphabet); in setAlphabet()
77 Preconditions.checkArgument(alphabet.length() > 0, "Empty alphabet"); in setAlphabet()
79 ByteBuffer buffer = StandardCharsets.US_ASCII.newEncoder().encode(CharBuffer.wrap(alphabet)); in setAlphabet()
83 this.alphabet = new String(canonicalValues, StandardCharsets.US_ASCII); in setAlphabet()
85 throw new IllegalArgumentException("Invalid alphabet " + alphabet, e); in setAlphabet()
108 Charset charset = (alphabet != null) ? new RestrictedCharset() : StandardCharsets.US_ASCII; in setValue()
194 if (alphabet != null) { in calculateBitsPerCharacter()
196 if (1 << i >= alphabet.length()) { in calculateBitsPerCharacter()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DAlphabetIndexerTest.java138 public MyAlphabetIndexer(Cursor cursor, int sortedColumnIndex, CharSequence alphabet) {
139 super(cursor, sortedColumnIndex, alphabet);
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DEnrollmentSpecificIdTest.java202 final char[] alphabet = ENCODE; in encodeBase32() local
228 encoded[--index] = alphabet[group]; in encodeBase32()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java815 final String alphabet = "abcdefghijklmnopqrstuvwxyz"; in randomLetter() local
816 return alphabet.charAt(random.nextInt(alphabet.length())); in randomLetter()