Home
last modified time | relevance | path

Searched refs:hasNationalPrefix (Results 1 – 4 of 4) sorted by relevance

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java672 private boolean hasNationalPrefix; field in Phonemetadata.PhoneMetadata
674 public boolean hasNationalPrefix() { return hasNationalPrefix; } in hasNationalPrefix() method in Phonemetadata.PhoneMetadata
677 hasNationalPrefix = true; in setNationalPrefix()
682 hasNationalPrefix = false; in clearNationalPrefix()
923 objectOutput.writeBoolean(hasNationalPrefix); in writeExternal()
924 if (hasNationalPrefix) { in writeExternal()
DAsYouTypeFormatter.java180 boolean nationalPrefixIsUsedByCountry = currentMetadata.hasNationalPrefix(); in getAvailableFormats()
DPhoneNumberUtil.java807 if (!metadata.hasNationalPrefix() && !number.isItalianLeadingZero()) {
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java140 assertTrue(metadata.hasNationalPrefix()); in testGetInstanceLoadUSMetadata()