Home
last modified time | relevance | path

Searched refs:getExampleNumber (Results 1 – 15 of 15) sorted by relevance

/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java499 assertEquals("", metadata.getGeneralDesc().getExampleNumber()); in testBuildPhoneMetadataCollection_liteBuild()
502 assertEquals("", metadata.getFixedLine().getExampleNumber()); in testBuildPhoneMetadataCollection_liteBuild()
505 assertEquals("", metadata.getMobile().getExampleNumber()); in testBuildPhoneMetadataCollection_liteBuild()
545 assertEquals("", metadata.getGeneralDesc().getExampleNumber()); in testBuildPhoneMetadataCollection_specialBuild()
549 assertEquals("", metadata.getFixedLine().getExampleNumber()); in testBuildPhoneMetadataCollection_specialBuild()
552 assertEquals("10123456", metadata.getMobile().getExampleNumber()); in testBuildPhoneMetadataCollection_specialBuild()
592 assertEquals("", metadata.getGeneralDesc().getExampleNumber()); in testBuildPhoneMetadataCollection_fullBuild()
595 assertEquals("10123456", metadata.getFixedLine().getExampleNumber()); in testBuildPhoneMetadataCollection_fullBuild()
598 assertEquals("10123456", metadata.getMobile().getExampleNumber()); in testBuildPhoneMetadataCollection_fullBuild()
612 assertEquals("01 01 01 01", phoneNumberDesc.getExampleNumber()); in testProcessPhoneNumberDescOutputsExampleNumberByDefault()
DMetadataFilterTest.java910 assertEquals(metadata.getMobile().getExampleNumber(), EXAMPLE_NUMBER); in testFilterMetadata_specialBuild()
944 assertEquals(metadata.getFixedLine().getExampleNumber(), EXAMPLE_NUMBER); in testFilterMetadata_emptyFilter()
945 assertEquals(metadata.getMobile().getExampleNumber(), EXAMPLE_NUMBER); in testFilterMetadata_emptyFilter()
946 assertEquals(metadata.getTollFree().getExampleNumber(), EXAMPLE_NUMBER); in testFilterMetadata_emptyFilter()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DExampleNumbersTest.java153 exampleNumber = phoneNumberUtil.parse(desc.getExampleNumber(), regionCode); in testCanBeInternationallyDialled()
182 PhoneNumber exampleNumber = phoneNumberUtil.getExampleNumber(regionCode); in testEveryRegionHasAnExampleNumber()
246 String exampleNumber = desc.getExampleNumber(); in testEmergency()
267 String exampleNumber = desc.getExampleNumber(); in testCarrierSpecificShortNumbers()
284 String exampleNumber = desc.getExampleNumber(); in testSmsServiceShortNumbers()
DPhoneNumberUtilTest.java241 assertEquals("30123456", metadata.getFixedLine().getExampleNumber()); in testGetInstanceLoadDEMetadata()
270 assertEquals("12345678", metadata.getTollFree().getExampleNumber()); in testGetInstanceLoadInternationalTollFreeMetadata()
400 assertEquals(DE_NUMBER, phoneUtil.getExampleNumber(RegionCode.DE)); in testGetExampleNumber()
416 assertNull(phoneUtil.getExampleNumber(RegionCode.UN001)); in testGetExampleNumber()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dshortnumberinfo.js415 return desc.getExampleNumber() || '';
455 return desc.getExampleNumber() || '';
Dphonenumberutil.js2735 i18n.phonenumbers.PhoneNumberUtil.prototype.getExampleNumber = method in i18n.phonenumbers.PhoneNumberUtil
2767 return this.parse(desc.getExampleNumber(), regionCode);
2803 numberTypeWithExampleNumber.getExampleNumber(), 'ZZ');
Dphonenumberutil_test.js305 assertEquals('30123456', metadata.getFixedLine().getExampleNumber());
339 assertEquals('12345678', metadata.getTollFree().getExampleNumber());
555 assertTrue(DE_NUMBER.equals(phoneUtil.getExampleNumber(RegionCode.DE)));
573 assertNull(phoneUtil.getExampleNumber(RegionCode.UN001));
Dphonemetadata.pb.js585 i18n.phonenumbers.PhoneNumberDesc.prototype.getExampleNumber = function() { method in i18n.phonenumbers.PhoneNumberDesc
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java373 return desc.getExampleNumber(); in getExampleShortNumber()
408 return desc.getExampleNumber(); in getExampleShortNumberForCost()
DPhoneNumberUtil.java2021 public PhoneNumber getExampleNumber(String regionCode) {
2051 String exampleNumber = desc.getExampleNumber();
2100 return parse(desc.getExampleNumber(), regionCode);
2129 return parse("+" + countryCallingCode + desc.getExampleNumber(), UNKNOWN_REGION);
2159 return parse("+" + countryCallingCode + desc.getExampleNumber(), UNKNOWN_REGION);
DPhonemetadata.java223 setExampleNumber(other.getExampleNumber()); in mergeFrom()
289 public String getExampleNumber() { return exampleNumber_; } in getExampleNumber() method in Phonemetadata.PhoneNumberDesc
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataJsonFromXml.java259 jsArrayBuilder.append(desc.getExampleNumber()); in toJsArray()
/third_party/libphonenumber/
DREADME.md33 * `getExampleNumber` and `getExampleNumberForType` - provide valid example
DFAQ.md447 - `getExampleNumber`, `getInvalidExampleNumber`, `getExampleNumberForType`,
Drelease_notes.txt2656 - Fixed potential for a null-ptr exception in getExampleNumber