Home
last modified time | relevance | path

Searched refs:getPossibleLength (Results 1 – 7 of 7) sorted by relevance

/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java788 assertEquals(4, fixedLine.getPossibleLength(0)); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly()
789 assertEquals(13, fixedLine.getPossibleLength(1)); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly()
796 assertEquals(-1, mobile.getPossibleLength(0)); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly()
817 assertEquals(13, generalDesc.getPossibleLength(0)); in testSetPossibleLengthsGeneralDesc_BuiltFromChildElements()
819 assertEquals(15, generalDesc.getPossibleLength(1)); in testSetPossibleLengthsGeneralDesc_BuiltFromChildElements()
840 assertEquals(13, generalDesc.getPossibleLength(0)); in testSetPossibleLengthsGeneralDesc_IgnoresNoIntlDialling()
867 assertEquals(6, generalDesc.getPossibleLength(0)); in testSetPossibleLengthsGeneralDesc_ShortNumberMetadata()
868 assertEquals(13, generalDesc.getPossibleLength(1)); in testSetPossibleLengthsGeneralDesc_ShortNumberMetadata()
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataJsonFromXml.java272 jsArrayBuilder.append(desc.getPossibleLength(i)); in toJsArray()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java217 addPossibleLength(other.getPossibleLength(i)); in mergeFrom()
255 public int getPossibleLength(int index) { in getPossibleLength() method in Phonemetadata.PhoneNumberDesc
DPhoneNumberUtil.java1068 return desc.getPossibleLengthCount() != 1 || desc.getPossibleLength(0) != -1;
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java413 if (length != desc.getPossibleLength(i)) { in arePossibleLengthsEqual()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonemetadata.pb.js462 i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLength = function(index) { method in i18n.phonenumbers.PhoneNumberDesc
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java212 assertEquals(10, metadata.getGeneralDesc().getPossibleLength(0)); in testGetInstanceLoadUSMetadata()
242 assertEquals(10, metadata.getTollFree().getPossibleLength(0)); in testGetInstanceLoadDEMetadata()