Searched refs:getPossibleLengthCount (Results 1 – 7 of 7) sorted by relevance
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXmlTest.java | 787 assertEquals(2, fixedLine.getPossibleLengthCount()); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly() 795 assertEquals(1, mobile.getPossibleLengthCount()); in testProcessPhoneNumberDescElement_PossibleLengthsSetCorrectly() 816 assertEquals(2, generalDesc.getPossibleLengthCount()); in testSetPossibleLengthsGeneralDesc_BuiltFromChildElements() 839 assertEquals(1, generalDesc.getPossibleLengthCount()); in testSetPossibleLengthsGeneralDesc_IgnoresNoIntlDialling() 866 assertEquals(2, generalDesc.getPossibleLengthCount()); in testSetPossibleLengthsGeneralDesc_ShortNumberMetadata() 967 assertEquals(0, phoneNumberDesc.getPossibleLengthCount()); in testProcessPhoneNumberDescElement_SameAsParent()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | Phonemetadata.java | 216 for (int i = 0; i < other.getPossibleLengthCount(); i++) { in mergeFrom() 254 public int getPossibleLengthCount() { return possibleLength_.size(); } in getPossibleLengthCount() method in Phonemetadata.PhoneNumberDesc 314 int possibleLengthSize = getPossibleLengthCount(); in writeExternal()
|
D | ShortNumberInfo.java | 563 if (numberDesc.getPossibleLengthCount() > 0 in matchesPossibleNumberAndNationalNumber()
|
D | PhoneNumberUtil.java | 1068 return desc.getPossibleLengthCount() != 1 || desc.getPossibleLength(0) != -1; 2620 possibleLengths.addAll(mobileDesc.getPossibleLengthCount() == 0
|
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/ |
D | BuildMetadataJsonFromXml.java | 268 int possibleLengthSize = desc.getPossibleLengthCount(); in toJsArray()
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 211 assertEquals(1, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadUSMetadata() 215 assertEquals(0, metadata.getTollFree().getPossibleLengthCount()); in testGetInstanceLoadUSMetadata() 234 assertEquals(8, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadDEMetadata() 237 assertEquals(0, metadata.getFixedLine().getPossibleLengthCount()); in testGetInstanceLoadDEMetadata() 238 assertEquals(2, metadata.getMobile().getPossibleLengthCount()); in testGetInstanceLoadDEMetadata() 269 assertEquals(1, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadInternationalTollFreeMetadata()
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXml.java | 407 if (possibleLengths.size() != desc.getPossibleLengthCount()) { in arePossibleLengthsEqual()
|