Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.java102 final char[] chars = seq.toCharArray(); in tokenize() local
107 while (pos < len && (chars[pos] == ' ' || chars[pos] == '\t')) { in tokenize()
111 while (pos < len && !(chars[pos] == ' ' || chars[pos] == '\t')) { in tokenize()
116 tokens[tokenCount++] = new Token(chars, start, end); in tokenize()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/io/read/
DTypedInputStream.java74 char[] chars = new char[arraySize]; in readTinyVarCharArray() local
75 for (int i = 0; i < chars.length; i++) { in readTinyVarCharArray()
76 chars[i] = dis.readChar(); in readTinyVarCharArray()
78 return chars; in readTinyVarCharArray()
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/io/write/
DTypedOutputStream.java113 public void writeTinyCharArray(char[] chars) throws IOException { in writeTinyCharArray() argument
114 writeUnsignedByte(chars.length); in writeTinyCharArray()
115 for (int i = 0; i < chars.length; i++) { in writeTinyCharArray()
116 dos.writeChar(chars[i]); in writeTinyCharArray()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadCharMappings.java197 String chars = keyToChars[keyIndex]; in getCharToKeyMap() local
199 for (int j = 0; j < chars.length(); j++) { in getCharToKeyMap()
200 char c = chars.charAt(j); in getCharToKeyMap()
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java258 final int chars = (TextUtils.isEmpty(format) ? 0 : format.length());
259 dos.writeInt(chars);
260 if (chars > 0) {
295 final int chars = dis.readInt();
296 if (chars > 0) {
/packages/apps/Car/libs/car-ui-lib/tests/tools/
Dquick_rro.py34 chars = []
38 chars.append(chr(ord(char) - ord('0') + ord('a')))
40 chars.append(char)
41 return ''.join(chars)
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java161 char[] chars = new char[BUFFER_SIZE]; in getResponseFrom() local
163 while ((bytes = reader.read(chars)) != -1) { in getResponseFrom()
164 string.append(chars, 0, bytes); in getResponseFrom()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostNfcFEmulationManager.java342 char[] chars = new char[length * 2]; in bytesToString() local
346 chars[j * 2] = hexChars[byteValue >>> 4]; in bytesToString()
347 chars[j * 2 + 1] = hexChars[byteValue & 0x0F]; in bytesToString()
349 return new String(chars); in bytesToString()
DHostEmulationManager.java547 char[] chars = new char[length * 2]; in bytesToString() local
551 chars[j * 2] = hexChars[byteValue >>> 4]; in bytesToString()
552 chars[j * 2 + 1] = hexChars[byteValue & 0x0F]; in bytesToString()
554 return new String(chars); in bytesToString()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/
DCarUiText.java179 public Builder setMaxChars(int chars) { in setMaxChars() argument
180 mMaxChars = chars; in setMaxChars()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/
DTestUtils.java63 char[] chars = s.toCharArray(); in stringToHexString() local
64 for (char c : chars) { in stringToHexString()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java279 char[] chars = allowedSymbols.toCharArray(); in generateRandomString() local
281 sb.append(chars[r.nextInt(chars.length)]); in generateRandomString()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java102 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams, in PtNode() argument
105 mChars = chars; in PtNode()
114 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams, in PtNode() argument
117 mChars = chars; in PtNode()
DBinaryDictDecoderUtils.java161 static int getCharArraySize(final int[] chars, in getCharArraySize() argument
164 for (int character : chars) size += getCharSize(character, codePointToOneByteCodeMap); in getCharArraySize()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceRequest.java176 char[] chars = query.toCharArray(); in validateQuery() local
177 for (char c: chars) { in validateQuery()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DUtils.java28 string.chars().forEach(arrayList::add); in stringsToIntArray()
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java281 String chars = getDevice().getProperty("ro.build.characteristics"); in testPerfetto() local
282 if (chars.contains("watch")) { in testPerfetto()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DDumpOnFailureRule.java89 final String shortenedClassName = className.chars() in getShortenedTestName()
/packages/services/Car/service/src/com/android/car/telemetry/proto/
Dtelemetry.proto33 // Only alphanumeric and _ characters are allowed. Minimum length is 3 chars.
/packages/apps/Dialer/java/com/android/incallui/
DInCallPresenter.java1299 public void onPostDialCharWait(String callId, String chars) { in onPostDialCharWait() argument
1308 inCallActivity.showDialogForPostCharWait(callId, chars); in onPostDialCharWait()
1314 intent.putExtra(PostCharDialogActivity.EXTRA_POST_DIAL_STRING, chars); in onPostDialCharWait()
DInCallActivity.java971 public void showDialogForPostCharWait(String callId, String chars) { in showDialogForPostCharWait() argument
972 PostCharDialogFragment fragment = new PostCharDialogFragment(callId, chars); in showDialogForPostCharWait()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java199 && countryCode.chars().allMatch(Character::isLetterOrDigit); in isValid()
/packages/modules/adb/
DSERVICES.TXT135 <hex4>: The length of the payload, as 4 hexadecimal chars.
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java3151 List<BluetoothGattCharacteristic> chars = svc.getCharacteristics(); in onServiceAdded() local
3152 chars.get(chars.size() - 1) in onServiceAdded()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt796 Landroid/icu/impl/number/NumberStringBuilder;->chars:[C
2658 Landroid/icu/text/DateTimePatternGenerator$SkeletonFields;->chars:[B
3705 Landroid/icu/text/Normalizer$CharsAppendable;->chars:[C
5923 Landroid/icu/util/CharsTrie$Entry;->chars:Ljava/lang/CharSequence;
5940 Landroid/icu/util/CharsTrie$State;->chars:Ljava/lang/CharSequence;
6001 Landroid/icu/util/CharsTrieBuilder;->chars:[C
6806 Landroid/icu/util/StringTrieBuilder$DynamicBranchNode;->chars:Ljava/lang/StringBuilder;

12