Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java214 for (int i = 0; i < other.getPossibleLengthCount(); i++) { in mergeFrom()
252 public int getPossibleLengthCount() { return possibleLength_.size(); } in getPossibleLengthCount() method in Phonemetadata.PhoneNumberDesc
312 int possibleLengthSize = getPossibleLengthCount(); in writeExternal()
DShortNumberInfo.java553 if (numberDesc.getPossibleLengthCount() > 0 in matchesPossibleNumberAndNationalNumber()
DPhoneNumberUtil.java996 return desc.getPossibleLengthCount() != 1 || desc.getPossibleLength(0) != -1;
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhonemetadata.java232 for (int i = 0; i < other.getPossibleLengthCount(); i++) { in mergeFrom()
271 public int getPossibleLengthCount() { return possibleLength_.size(); } in getPossibleLengthCount() method in Phonemetadata.PhoneNumberDesc
331 int possibleLengthSize = getPossibleLengthCount(); in writeExternal()
DShortNumberInfo.java556 if (numberDesc.getPossibleLengthCount() > 0 in matchesPossibleNumberAndNationalNumber()
DPhoneNumberUtil.java1029 return desc.getPossibleLengthCount() != 1 || desc.getPossibleLength(0) != -1;
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java200 assertEquals(1, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadUSMetadata()
204 assertEquals(0, metadata.getTollFree().getPossibleLengthCount()); in testGetInstanceLoadUSMetadata()
223 assertEquals(8, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadDEMetadata()
226 assertEquals(0, metadata.getFixedLine().getPossibleLengthCount()); in testGetInstanceLoadDEMetadata()
227 assertEquals(2, metadata.getMobile().getPossibleLengthCount()); in testGetInstanceLoadDEMetadata()
258 assertEquals(1, metadata.getGeneralDesc().getPossibleLengthCount()); in testGetInstanceLoadInternationalTollFreeMetadata()