Home
last modified time | relevance | path

Searched refs:exampleNumber (Results 1 – 5 of 5) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DExampleNumbersTest.java57 PhoneNumber exampleNumber = in checkNumbersValidAndCorrectType() local
59 if (exampleNumber != null) { in checkNumbersValidAndCorrectType()
60 if (!phoneNumberUtil.isValidNumber(exampleNumber)) { in checkNumbersValidAndCorrectType()
61 invalidCases.add(exampleNumber); in checkNumbersValidAndCorrectType()
62 logger.log(Level.SEVERE, "Failed validation for " + exampleNumber); in checkNumbersValidAndCorrectType()
65 PhoneNumberType exampleNumberType = phoneNumberUtil.getNumberType(exampleNumber); in checkNumbersValidAndCorrectType()
67 wrongTypeCases.add(exampleNumber); in checkNumbersValidAndCorrectType()
69 + exampleNumber in checkNumbersValidAndCorrectType()
148 PhoneNumber exampleNumber = null; in testCanBeInternationallyDialled() local
153 exampleNumber = phoneNumberUtil.parse(desc.getExampleNumber(), regionCode); in testCanBeInternationallyDialled()
[all …]
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java476 NodeList exampleNumber = element.getElementsByTagName(EXAMPLE_NUMBER); in processPhoneNumberDescElement() local
477 if (exampleNumber.getLength() > 0) { in processPhoneNumberDescElement()
478 numberDesc.setExampleNumber(exampleNumber.item(0).getFirstChild().getNodeValue()); in processPhoneNumberDescElement()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
DNumberingScheme.java548 DigitSequence exampleNumber = regionExamples.get(t); in checkExampleNumbers() local
561 checkMetadata(ranges.contains(exampleNumber), in checkExampleNumbers()
562 "invalid example number '%s' of type %s in region %s", exampleNumber, t, r); in checkExampleNumbers() local
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java2051 String exampleNumber = desc.getExampleNumber();
2063 for (int phoneNumberLength = exampleNumber.length() - 1;
2066 String numberToTry = exampleNumber.substring(0, phoneNumberLength);
2118 PhoneNumber exampleNumber = getExampleNumberForType(regionCode, type);
2119 if (exampleNumber != null) {
2120 return exampleNumber;
/third_party/libphonenumber/
Drelease_notes.txt1444 There should no longer be an exampleNumber at the generalDesc level, but it