Home
last modified time | relevance | path

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

/external/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoderTest.java73 geocoder.getDescriptionForNumber(US_NUMBER1, Locale.SIMPLIFIED_CHINESE)); in testGetDescriptionForNumberWithNoDataFile()
75 geocoder.getDescriptionForNumber(BS_NUMBER1, new Locale("en", "US"))); in testGetDescriptionForNumberWithNoDataFile()
77 geocoder.getDescriptionForNumber(AU_NUMBER, new Locale("en", "US"))); in testGetDescriptionForNumberWithNoDataFile()
78 assertEquals("", geocoder.getDescriptionForNumber(NUMBER_WITH_INVALID_COUNTRY_CODE, in testGetDescriptionForNumberWithNoDataFile()
80 assertEquals("", geocoder.getDescriptionForNumber(INTERNATIONAL_TOLL_FREE, in testGetDescriptionForNumberWithNoDataFile()
88 geocoder.getDescriptionForNumber(US_NUMBER4, new Locale("en", "US"))); in testGetDescriptionForNumberWithMissingPrefix()
95 geocoder.getDescriptionForNumber(NANPA_TOLL_FREE, new Locale("en", "US"))); in testGetDescriptionForNumberBelongingToMultipleCountriesIsEmpty()
100 geocoder.getDescriptionForNumber(US_NUMBER1, new Locale("en", "US"))); in testGetDescriptionForNumber_en_US()
102 geocoder.getDescriptionForNumber(US_NUMBER2, new Locale("en", "US"))); in testGetDescriptionForNumber_en_US()
104 geocoder.getDescriptionForNumber(US_NUMBER3, new Locale("en", "US"))); in testGetDescriptionForNumber_en_US()
[all …]
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/
DPrefixFileReaderTest.java45 reader.getDescriptionForNumber(US_NUMBER1, "de", "", "CH")); in testGetDescriptionForNumberWithMapping()
47 reader.getDescriptionForNumber(US_NUMBER1, "en", "", "AU")); in testGetDescriptionForNumberWithMapping()
49 reader.getDescriptionForNumber(KO_NUMBER, "ko", "", "")); in testGetDescriptionForNumberWithMapping()
51 reader.getDescriptionForNumber(KO_NUMBER, "en", "", "")); in testGetDescriptionForNumberWithMapping()
55 assertEquals("", reader.getDescriptionForNumber(US_NUMBER3, "en", "", "")); in testGetDescriptionForNumberWithMissingMapping()
61 reader.getDescriptionForNumber(US_NUMBER2, "de", "", "CH")); in testGetDescriptionUsingFallbackLanguage()
64 reader.getDescriptionForNumber(US_NUMBER2, "sv", "", "")); in testGetDescriptionUsingFallbackLanguage()
68 assertEquals("", reader.getDescriptionForNumber(US_NUMBER2, "ko", "", "")); in testGetDescriptionForNonFallbackLanguage()
72 assertEquals("", reader.getDescriptionForNumber(SE_NUMBER, "sv", "", "")); in testGetDescriptionForNumberWithoutMappingFile()
73 assertEquals("", reader.getDescriptionForNumber(SE_NUMBER, "en", "", "")); in testGetDescriptionForNumberWithoutMappingFile()
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java132 areaDescription = prefixFileReader.getDescriptionForNumber(copiedNumber, langStr, scriptStr, in getDescriptionForValidNumber()
135 areaDescription = prefixFileReader.getDescriptionForNumber(number, langStr, scriptStr, in getDescriptionForValidNumber()
188 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() method in PhoneNumberOfflineGeocoder
210 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode, in getDescriptionForNumber() method in PhoneNumberOfflineGeocoder
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapper.java78 return prefixFileReader.getDescriptionForNumber(number, langStr, scriptStr, regionStr); in getNameForValidNumber()
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPrefixFileReader.java114 public String getDescriptionForNumber( in getDescriptionForNumber() method in PrefixFileReader
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java390 PhoneNumberOfflineGeocoder.getInstance().getDescriptionForNumber( in getOutputForSingleNumber()