Home
last modified time | relevance | path

Searched refs:possibleLengths (Results 1 – 5 of 5) sorted by relevance

/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DDefaultMapStorage.java56 possibleLengths.add((int) Math.log10(prefix) + 1); in readFromSortedMap()
75 possibleLengths.clear(); in readExternal()
77 possibleLengths.add(objectInput.readInt()); in readExternal()
88 int sizeOfLengths = possibleLengths.size(); in writeExternal()
90 for (Integer length : possibleLengths) { in writeExternal()
DFlyweightMapStorage.java82 possibleLengths.add((int) Math.log10(prefix) + 1); in readFromSortedMap()
118 possibleLengths.clear(); in readExternal()
120 possibleLengths.add(objectInput.readInt()); in readExternal()
161 int sizeOfLengths = possibleLengths.size(); in writeExternal()
163 for (Integer length : possibleLengths) { in writeExternal()
DPhonePrefixMapStorageStrategy.java34 protected final TreeSet<Integer> possibleLengths = new TreeSet<Integer>(); field in PhonePrefixMapStorageStrategy
92 return possibleLengths; in getPossibleLengths()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java2142 List<Integer> possibleLengths = numberDesc.getPossibleLengthList();
2143 if (possibleLengths.size() > 0 && !possibleLengths.contains(actualLength)) {
2396 List<Integer> possibleLengths = phoneNumberDesc.getPossibleLengthList();
2404 int minimumLength = possibleLengths.get(0);
2409 } else if (possibleLengths.get(possibleLengths.size() - 1) < actualLength) {
2417 return possibleLengths.subList(1, possibleLengths.size()).contains(actualLength)
/external/libphonenumber/
Drelease_notes.txt101 to use the new possibleLengths metadata. This affects a lot of countries,