Searched refs:getPossibleLength (Results 1 – 7 of 7) sorted by relevance
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXmlTest.java | 788 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/ |
D | BuildMetadataJsonFromXml.java | 272 jsArrayBuilder.append(desc.getPossibleLength(i)); in toJsArray()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | Phonemetadata.java | 217 addPossibleLength(other.getPossibleLength(i)); in mergeFrom() 255 public int getPossibleLength(int index) { in getPossibleLength() method in Phonemetadata.PhoneNumberDesc
|
D | PhoneNumberUtil.java | 1068 return desc.getPossibleLengthCount() != 1 || desc.getPossibleLength(0) != -1;
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXml.java | 413 if (length != desc.getPossibleLength(i)) { in arePossibleLengthsEqual()
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonemetadata.pb.js | 462 i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleLength = function(index) { method in i18n.phonenumbers.PhoneNumberDesc
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 212 assertEquals(10, metadata.getGeneralDesc().getPossibleLength(0)); in testGetInstanceLoadUSMetadata() 242 assertEquals(10, metadata.getTollFree().getPossibleLength(0)); in testGetInstanceLoadDEMetadata()
|