Home
last modified time | relevance | path

Searched refs:hasExampleNumber (Results 1 – 10 of 10) sorted by relevance

/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java495 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testBuildPhoneMetadataCollection_liteBuild()
501 assertFalse(metadata.getFixedLine().hasExampleNumber()); in testBuildPhoneMetadataCollection_liteBuild()
504 assertFalse(metadata.getMobile().hasExampleNumber()); in testBuildPhoneMetadataCollection_liteBuild()
541 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testBuildPhoneMetadataCollection_specialBuild()
548 assertFalse(metadata.getFixedLine().hasExampleNumber()); in testBuildPhoneMetadataCollection_specialBuild()
551 assertTrue(metadata.getMobile().hasExampleNumber()); in testBuildPhoneMetadataCollection_specialBuild()
588 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testBuildPhoneMetadataCollection_fullBuild()
594 assertTrue(metadata.getFixedLine().hasExampleNumber()); in testBuildPhoneMetadataCollection_fullBuild()
597 assertTrue(metadata.getMobile().hasExampleNumber()); in testBuildPhoneMetadataCollection_fullBuild()
DMetadataFilterTest.java881 assertFalse(desc.hasExampleNumber()); in testFilterMetadata_liteBuild()
909 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testFilterMetadata_specialBuild()
919 assertFalse(desc.hasExampleNumber()); in testFilterMetadata_specialBuild()
943 assertFalse(metadata.getGeneralDesc().hasExampleNumber()); in testFilterMetadata_emptyFilter()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DExampleNumbersTest.java152 if (desc.hasExampleNumber()) { in testCanBeInternationallyDialled()
245 if (desc.hasExampleNumber()) { in testEmergency()
266 if (desc.hasExampleNumber()) { in testCarrierSpecificShortNumbers()
283 if (desc.hasExampleNumber()) { in testSmsServiceShortNumbers()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java222 if (other.hasExampleNumber()) { in mergeFrom()
286 private boolean hasExampleNumber; field in Phonemetadata.PhoneNumberDesc
288 public boolean hasExampleNumber() { return hasExampleNumber; } in hasExampleNumber() method in Phonemetadata.PhoneNumberDesc
291 hasExampleNumber = true; in setExampleNumber()
296 hasExampleNumber = false; in clearExampleNumber()
326 objectOutput.writeBoolean(hasExampleNumber); in writeExternal()
327 if (hasExampleNumber) { in writeExternal()
DShortNumberInfo.java372 if (desc.hasExampleNumber()) { in getExampleShortNumber()
407 if (desc != null && desc.hasExampleNumber()) { in getExampleShortNumberForCost()
DPhoneNumberUtil.java1083 return desc.hasExampleNumber()
2047 if (!desc.hasExampleNumber()) {
2099 if (desc.hasExampleNumber()) {
2128 if (desc.hasExampleNumber()) {
2158 if (desc != null && desc.hasExampleNumber()) {
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dshortnumberinfo.js414 if (desc.hasExampleNumber()) {
454 if (desc && desc.hasExampleNumber()) {
Dphonenumberutil.js1485 return desc != null && (desc.hasExampleNumber() ||
2766 if (desc.hasExampleNumber()) {
2798 return desc.hasExampleNumber();
Dphonemetadata.pb.js611 i18n.phonenumbers.PhoneNumberDesc.prototype.hasExampleNumber = function() { method in i18n.phonenumbers.PhoneNumberDesc
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataJsonFromXml.java258 if (desc.hasExampleNumber()) { in toJsArray()