Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java190 public static class PhoneNumberDesc implements Externalizable { class in Phonemetadata
192 public PhoneNumberDesc() {} in PhoneNumberDesc() method in Phonemetadata.PhoneNumberDesc
199 public static final class Builder extends PhoneNumberDesc {
200 public PhoneNumberDesc build() { in build()
213 public PhoneNumberDesc setNationalNumberPattern(String value) { in setNationalNumberPattern()
224 public PhoneNumberDesc setPossibleNumberPattern(String value) { in setPossibleNumberPattern()
235 public PhoneNumberDesc setExampleNumber(String value) { in setExampleNumber()
241 public PhoneNumberDesc mergeFrom(PhoneNumberDesc other) { in mergeFrom()
254 public boolean exactlySameAs(PhoneNumberDesc other) { in exactlySameAs()
312 private PhoneNumberDesc generalDesc_ = null;
[all …]
DShortNumberInfo.java22 import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;
187 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isValidShortNumberForRegion()
191 PhoneNumberDesc shortNumberDesc = phoneMetadata.getShortCode(); in isValidShortNumberForRegion()
211 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isValidShortNumberForRegion()
215 PhoneNumberDesc shortNumberDesc = phoneMetadata.getShortCode(); in isValidShortNumberForRegion()
439 PhoneNumberDesc desc = phoneMetadata.getShortCode(); in getExampleShortNumber()
460 PhoneNumberDesc desc = null; in getExampleShortNumberForCost()
530 PhoneNumberDesc emergencyDesc = metadata.getEmergency(); in matchesEmergencyNumberHelper()
583 PhoneNumberDesc numberDesc) { in matchesPossibleNumberAndNationalNumber()
DPhoneNumberUtil.java22 import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;
1885 PhoneNumberDesc desc = getNumberDescByType(getMetadataForRegion(regionCode), type);
1907 PhoneNumberDesc desc = metadata.getGeneralDesc();
1942 PhoneNumberDesc getNumberDescByType(PhoneMetadata metadata, PhoneNumberType type) {
2065 boolean isNumberPossibleForDesc(String nationalNumber, PhoneNumberDesc numberDesc) {
2072 boolean isNumberMatchingDesc(String nationalNumber, PhoneNumberDesc numberDesc) {
2543 PhoneNumberDesc generalDesc = defaultRegionMetadata.getGeneralDesc();
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DMatcherApi.java19 import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;
30 boolean matchesNationalNumber(String nationalNumber, PhoneNumberDesc numberDesc, in matchesNationalNumber()
37 boolean matchesPossibleNumber(String nationalNumber, PhoneNumberDesc numberDesc); in matchesPossibleNumber()
DRegexBasedMatcher.java19 import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;
38 public boolean matchesNationalNumber(String nationalNumber, PhoneNumberDesc numberDesc, in matchesNationalNumber()
47 public boolean matchesPossibleNumber(String nationalNumber, PhoneNumberDesc numberDesc) { in matchesPossibleNumber()
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DExampleNumbersTest.java20 import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;
144 PhoneNumberDesc desc = in testCanBeInternationallyDialled()
218 PhoneNumberDesc desc = in testEmergency()
241 PhoneNumberDesc desc = in testCarrierSpecificShortNumbers()
DPhoneNumberUtilTest.java22 import com.google.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;
1455 metadata.setGeneralDesc(new PhoneNumberDesc().setNationalNumberPattern("\\d{4,8}")); in testMaybeStripNationalPrefix()