Searched refs:generalDesc (Results 1 – 10 of 10) sorted by relevance
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXmlTest.java | 438 PhoneNumberDesc.Builder generalDesc = PhoneNumberDesc.newBuilder(); in testProcessPhoneNumberDescElementWithInvalidInput() local 443 generalDesc, territoryElement, "invalidType"); in testProcessPhoneNumberDescElementWithInvalidInput() 449 PhoneNumberDesc.Builder generalDesc = PhoneNumberDesc.newBuilder(); in testProcessPhoneNumberDescElementOverridesGeneralDesc() local 450 generalDesc.setNationalNumberPattern("\\d{8}"); in testProcessPhoneNumberDescElementOverridesGeneralDesc() 458 generalDesc, territoryElement, "fixedLine"); in testProcessPhoneNumberDescElementOverridesGeneralDesc() 603 PhoneNumberDesc.Builder generalDesc = PhoneNumberDesc.newBuilder(); in testProcessPhoneNumberDescOutputsExampleNumberByDefault() local 611 generalDesc, territoryElement, "fixedLine"); in testProcessPhoneNumberDescOutputsExampleNumberByDefault() 617 PhoneNumberDesc.Builder generalDesc = PhoneNumberDesc.newBuilder(); in testProcessPhoneNumberDescRemovesWhiteSpacesInPatterns() local 623 generalDesc, countryElement, "fixedLine"); in testProcessPhoneNumberDescRemovesWhiteSpacesInPatterns() 765 PhoneNumberDesc.Builder generalDesc = PhoneNumberDesc.newBuilder(); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly() local [all …]
|
D | MetadataFilterTest.java | 984 private static PhoneNumberDesc getFakeArmeniaPhoneNumberDesc(boolean generalDesc) { in getFakeArmeniaPhoneNumberDesc() argument 986 if (!generalDesc) { in getFakeArmeniaPhoneNumberDesc()
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXml.java | 487 PhoneNumberDesc.Builder generalDesc = processPhoneNumberDescElement(null, element, in setRelevantDescPatterns() local 491 setPossibleLengthsGeneralDesc(generalDesc, metadata.getId(), element, isShortNumberMetadata); in setRelevantDescPatterns() 492 metadata.setGeneralDesc(generalDesc); in setRelevantDescPatterns() 496 metadata.setFixedLine(processPhoneNumberDescElement(generalDesc, element, FIXED_LINE)); in setRelevantDescPatterns() 497 metadata.setMobile(processPhoneNumberDescElement(generalDesc, element, MOBILE)); in setRelevantDescPatterns() 498 metadata.setSharedCost(processPhoneNumberDescElement(generalDesc, element, SHARED_COST)); in setRelevantDescPatterns() 499 metadata.setVoip(processPhoneNumberDescElement(generalDesc, element, VOIP)); in setRelevantDescPatterns() 500 metadata.setPersonalNumber(processPhoneNumberDescElement(generalDesc, element, in setRelevantDescPatterns() 502 metadata.setPager(processPhoneNumberDescElement(generalDesc, element, PAGER)); in setRelevantDescPatterns() 503 metadata.setUan(processPhoneNumberDescElement(generalDesc, element, UAN)); in setRelevantDescPatterns() [all …]
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | shortnumberinfo.js | 189 var generalDesc = phoneMetadata.getGeneralDesc(); 190 if (!this.matchesPossibleNumberAndNationalNumber_(shortNumber, generalDesc)) {
|
D | phonenumberutil.js | 3784 var generalDesc = defaultRegionMetadata.getGeneralDesc(); 3787 new RegExp(generalDesc.getNationalNumberPatternOrDefault());
|
D | phonenumberutil_test.js | 2448 var generalDesc = new i18n.phonenumbers.PhoneNumberDesc(); 2449 generalDesc.setNationalNumberPattern('\\d{4,8}'); 2450 metadata.setGeneralDesc(generalDesc);
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | ShortNumberInfo.java | 195 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isValidShortNumberForRegion() local 196 if (!matchesPossibleNumberAndNationalNumber(shortNumber, generalDesc)) { in isValidShortNumberForRegion()
|
D | PhoneNumberUtil.java | 2896 PhoneNumberDesc generalDesc = defaultRegionMetadata.getGeneralDesc(); 2902 if ((!matcherApi.matchNationalNumber(fullNumber, generalDesc, false) 2903 && matcherApi.matchNationalNumber(potentialNationalNumber, generalDesc, false)) 2998 PhoneNumberDesc generalDesc = metadata.getGeneralDesc(); 3000 boolean isViableOriginalNumber = matcherApi.matchNationalNumber(number, generalDesc, false); 3011 number.substring(prefixMatcher.end()), generalDesc, false)) { 3025 && !matcherApi.matchNationalNumber(transformedNumber.toString(), generalDesc, false)) {
|
/third_party/libphonenumber/metadata/src/main/proto/ |
D | types.proto | 69 // generalDesc, which can just be the leading digits, this must be precise).
|
/third_party/libphonenumber/ |
D | release_notes.txt | 1438 example number has been moved from generalDesc to the relevant number types, 1444 There should no longer be an exampleNumber at the generalDesc level, but it 1455 number types, not just the generalDesc, for the example numbers; this is a 2772 "generalDesc" patterns do not encompass short-codes. No code-support for these has been
|