Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java236 final int nameLength = displayName.length(); in matchesCombination() local
239 if (nameLength < queryLength) { in matchesCombination()
265 while (nameStart < nameLength && queryStart < queryLength) { in matchesCombination()
296 while (nameStart < nameLength in matchesCombination()
327 for (j = nameStart; j < nameLength; j++) { in matchesCombination()
335 if (j < nameLength - 1) { in matchesCombination()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvertiseHelper.java58 int nameLength = nameBytes.length; in advertiseDataToBytes() local
62 if (nameLength > DEVICE_NAME_MAX) { in advertiseDataToBytes()
63 nameLength = DEVICE_NAME_MAX; in advertiseDataToBytes()
69 ret.write(nameLength + 1); in advertiseDataToBytes()
71 ret.write(nameBytes, 0, nameLength); in advertiseDataToBytes()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java143 final int nameLength = name.length(); in replaceFileNameDangerousCharacters() local
144 for (int i = 0; i < nameLength; i = name.offsetByCodePoints(i, 1)) { in replaceFileNameDangerousCharacters()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java380 int nameLength = payload.get(); in parseNokia() local
381 byte[] nameBytes = new byte[nameLength]; in parseNokia()