Home
last modified time | relevance | path

Searched refs:phonePrefix (Results 1 – 6 of 6) sorted by relevance

/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java154 long phonePrefix = number; in lookup() local
159 String phonePrefixStr = String.valueOf(phonePrefix); in lookup()
161 phonePrefix = Long.parseLong(phonePrefixStr.substring(0, possibleLength)); in lookup()
163 currentIndex = binarySearch(0, currentIndex, phonePrefix); in lookup()
168 if (phonePrefix == currentPrefix) { in lookup()
183 long phonePrefix = in lookup() local
185 return lookup(phonePrefix); in lookup()
DPrefixFileReader.java124 int phonePrefix = (countryCallingCode != 1) in getDescriptionForNumber() local
127 getPhonePrefixDescriptions(phonePrefix, language, script, region); in getDescriptionForNumber()
132 PhonePrefixMap defaultMap = getPhonePrefixDescriptions(phonePrefix, "en", "", ""); in getDescriptionForNumber()
DPrefixTimeZonesMap.java93 long phonePrefix = Long.parseLong(number.getCountryCode() in lookupTimeZonesForNumber() local
95 return lookupTimeZonesForNumber(phonePrefix); in lookupTimeZonesForNumber()
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java152 long phonePrefix = number; in lookup() local
157 String phonePrefixStr = String.valueOf(phonePrefix); in lookup()
159 phonePrefix = Long.parseLong(phonePrefixStr.substring(0, possibleLength)); in lookup()
161 currentIndex = binarySearch(0, currentIndex, phonePrefix); in lookup()
166 if (phonePrefix == currentPrefix) { in lookup()
181 long phonePrefix = in lookup() local
183 return lookup(phonePrefix); in lookup()
DPrefixFileReader.java122 int phonePrefix = (countryCallingCode != 1) in getDescriptionForNumber() local
125 getPhonePrefixDescriptions(phonePrefix, language, script, region); in getDescriptionForNumber()
130 PhonePrefixMap defaultMap = getPhonePrefixDescriptions(phonePrefix, "en", "", ""); in getDescriptionForNumber()
DPrefixTimeZonesMap.java91 long phonePrefix = Long.parseLong(number.getCountryCode() in lookupTimeZonesForNumber() local
93 return lookupTimeZonesForNumber(phonePrefix); in lookupTimeZonesForNumber()