Searched refs:getNameForNumber (Results 1 – 3 of 3) sorted by relevance
/external/libphonenumber/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 …]
|
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapper.java | 91 public String getNameForNumber(PhoneNumber number, Locale languageCode) { in getNameForNumber() method in PhoneNumberToCarrierMapper 113 return getNameForNumber(number, languageCode); in getSafeDisplayName()
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 286 PhoneNumberToCarrierMapper.getInstance().getNameForNumber( in getOutputForSingleNumber()
|