Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1IA5String.java46 private String alphabet = null; field in Asn1IA5String
74 protected void setAlphabet(String alphabet) { in setAlphabet() argument
75 Preconditions.checkNotNull(alphabet); in setAlphabet()
76 Preconditions.checkArgument(alphabet.length() > 0, "Empty alphabet"); in setAlphabet()
78 ByteBuffer buffer = StandardCharsets.US_ASCII.newEncoder().encode(CharBuffer.wrap(alphabet)); in setAlphabet()
82 this.alphabet = new String(canonicalValues, StandardCharsets.US_ASCII); in setAlphabet()
84 throw new IllegalArgumentException("Invalid alphabet " + alphabet, e); in setAlphabet()
107 Charset charset = (alphabet != null) ? new RestrictedCharset() : StandardCharsets.US_ASCII; in setValue()
193 if (alphabet != null) { in calculateBitsPerCharacter()
195 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/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()