Searched refs:getNameForNumber (Results 1 – 4 of 4) sorted by relevance
/third_party/libphonenumber/java/carrier/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapperTest.java | 66 carrierMapper.getNameForNumber(UK_MOBILE1, Locale.ENGLISH)); in testGetNameForMobilePortableRegion() 68 carrierMapper.getNameForNumber(UK_MOBILE1, new Locale("sv", "SE"))); in testGetNameForMobilePortableRegion() 70 carrierMapper.getNameForNumber(UK_MOBILE1, Locale.FRENCH)); in testGetNameForMobilePortableRegion() 77 carrierMapper.getNameForNumber(AO_MOBILE1, Locale.ENGLISH)); in testGetNameForNonMobilePortableRegion() 83 assertEquals("", carrierMapper.getNameForNumber(AO_FIXED1, Locale.ENGLISH)); in testGetNameForFixedLineNumber() 84 assertEquals("", carrierMapper.getNameForNumber(UK_FIXED1, Locale.ENGLISH)); in testGetNameForFixedLineNumber() 93 assertEquals("US carrier", carrierMapper.getNameForNumber(US_FIXED_OR_MOBILE, in testGetNameForFixedOrMobileNumber() 98 assertEquals("British pager", carrierMapper.getNameForNumber(UK_PAGER, Locale.ENGLISH)); in testGetNameForPagerNumber() 102 assertEquals("", carrierMapper.getNameForNumber(NUMBER_WITH_INVALID_COUNTRY_CODE, in testGetNameForNumberWithNoDataFile() 104 assertEquals("", carrierMapper.getNameForNumber(INTERNATIONAL_TOLL_FREE, in testGetNameForNumberWithNoDataFile() [all …]
|
/third_party/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapper.java | 89 public String getNameForNumber(PhoneNumber number, Locale languageCode) { in getNameForNumber() method in PhoneNumberToCarrierMapper 111 return getNameForNumber(number, languageCode); in getSafeDisplayName()
|
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 417 PhoneNumberToCarrierMapper.getInstance().getNameForNumber(number, geocodingLocale), in getOutputForSingleNumber()
|
/third_party/libphonenumber/ |
D | README.md | 205 System.out.println(carrierMapper.getNameForNumber(swissMobileNumber, Locale.ENGLISH));
|