/external/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoderTest.java | 73 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/repackaged/internal/prefixmapper/test/com/android/i18n/phonenumbers/prefixmapper/ |
D | PrefixFileReaderTest.java | 47 reader.getDescriptionForNumber(US_NUMBER1, "de", "", "CH")); in testGetDescriptionForNumberWithMapping() 49 reader.getDescriptionForNumber(US_NUMBER1, "en", "", "AU")); in testGetDescriptionForNumberWithMapping() 51 reader.getDescriptionForNumber(KO_NUMBER, "ko", "", "")); in testGetDescriptionForNumberWithMapping() 53 reader.getDescriptionForNumber(KO_NUMBER, "en", "", "")); in testGetDescriptionForNumberWithMapping() 57 assertEquals("", reader.getDescriptionForNumber(US_NUMBER3, "en", "", "")); in testGetDescriptionForNumberWithMissingMapping() 63 reader.getDescriptionForNumber(US_NUMBER2, "de", "", "CH")); in testGetDescriptionUsingFallbackLanguage() 66 reader.getDescriptionForNumber(US_NUMBER2, "sv", "", "")); in testGetDescriptionUsingFallbackLanguage() 70 assertEquals("", reader.getDescriptionForNumber(US_NUMBER2, "ko", "", "")); in testGetDescriptionForNonFallbackLanguage() 74 assertEquals("", reader.getDescriptionForNumber(SE_NUMBER, "sv", "", "")); in testGetDescriptionForNumberWithoutMappingFile() 75 assertEquals("", reader.getDescriptionForNumber(SE_NUMBER, "en", "", "")); in testGetDescriptionForNumberWithoutMappingFile()
|
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/ |
D | PrefixFileReaderTest.java | 45 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/repackaged/geocoder/src/com/android/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 135 areaDescription = prefixFileReader.getDescriptionForNumber(copiedNumber, langStr, scriptStr, in getDescriptionForValidNumber() 138 areaDescription = prefixFileReader.getDescriptionForNumber(number, langStr, scriptStr, in getDescriptionForValidNumber() 192 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() method in PhoneNumberOfflineGeocoder 214 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode, in getDescriptionForNumber() method in PhoneNumberOfflineGeocoder
|
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 132 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/ |
D | PhoneNumberToCarrierMapper.java | 78 return prefixFileReader.getDescriptionForNumber(number, langStr, scriptStr, regionStr); in getNameForValidNumber()
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
D | PrefixFileReader.java | 116 public String getDescriptionForNumber( in getDescriptionForNumber() method in PrefixFileReader
|
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/ |
D | PrefixFileReader.java | 118 public String getDescriptionForNumber( in getDescriptionForNumber() method in PrefixFileReader
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 372 PhoneNumberOfflineGeocoder.getInstance().getDescriptionForNumber( in getOutputForSingleNumber()
|