Searched refs:PhoneNumberDesc (Results 1 – 9 of 9) sorted by relevance
190 public static class PhoneNumberDesc implements Externalizable { class in Phonemetadata192 public PhoneNumberDesc() {} in PhoneNumberDesc() method in Phonemetadata.PhoneNumberDesc199 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 …]
20 import com.android.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;90 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isPossibleShortNumberForRegion()130 PhoneNumberDesc generalDesc = phoneMetadata.getGeneralDesc(); in isValidShortNumberForRegion()135 PhoneNumberDesc shortNumberDesc = phoneMetadata.getShortCode(); in isValidShortNumberForRegion()309 PhoneNumberDesc desc = phoneMetadata.getShortCode(); in getExampleShortNumber()330 PhoneNumberDesc desc = null; in getExampleShortNumberForCost()
22 import com.android.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;1882 PhoneNumberDesc desc = getNumberDescByType(getMetadataForRegion(regionCode), type);1904 PhoneNumberDesc desc = metadata.getGeneralDesc();1939 PhoneNumberDesc getNumberDescByType(PhoneMetadata metadata, PhoneNumberType type) {1984 PhoneNumberDesc generalNumberDesc = metadata.getGeneralDesc();2064 boolean isNumberPossibleForDesc(String nationalNumber, PhoneNumberDesc numberDesc) {2071 boolean isNumberMatchingDesc(String nationalNumber, PhoneNumberDesc numberDesc) {2117 PhoneNumberDesc generalNumDesc = metadata.getGeneralDesc();2384 PhoneNumberDesc generalNumDesc = metadata.getGeneralDesc();2564 PhoneNumberDesc generalDesc = defaultRegionMetadata.getGeneralDesc();
26 class PhoneNumberDesc; variable34 bool ExactlySameAs(const PhoneNumberDesc& first_number_desc,35 const PhoneNumberDesc& second_number_desc);
63 bool ExactlySameAs(const PhoneNumberDesc& first_number_desc, in ExactlySameAs()64 const PhoneNumberDesc& second_number_desc) { in ExactlySameAs()
122 const PhoneNumberDesc* GetNumberDescByType( in GetNumberDescByType()191 const PhoneNumberDesc& number_desc, in IsNumberMatchingDesc()202 const PhoneNumberDesc& general_desc = metadata.general_desc(); in GetNumberTypeHelper()1716 const PhoneNumberDesc* desc = GetNumberDescByType(*region_metadata, type); in GetExampleNumberForType()1735 const PhoneNumberDesc& desc = metadata->general_desc(); in GetExampleNumberForNonGeoEntity()2026 const PhoneNumberDesc& general_num_desc = metadata->general_desc(); in IsPossibleNumberWithReason()2096 const PhoneNumberDesc& general_desc = metadata->general_desc(); in IsValidNumberForRegion()2559 const PhoneNumberDesc& general_num_desc = in MaybeExtractCountryCode()
96 message PhoneNumberDesc { message127 optional PhoneNumberDesc general_desc = 1;128 optional PhoneNumberDesc fixed_line = 2;129 optional PhoneNumberDesc mobile = 3;130 optional PhoneNumberDesc toll_free = 4;131 optional PhoneNumberDesc premium_rate = 5;132 optional PhoneNumberDesc shared_cost = 6;133 optional PhoneNumberDesc personal_number = 7;134 optional PhoneNumberDesc voip = 8;135 optional PhoneNumberDesc pager = 21;[all …]
20 import com.android.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;144 PhoneNumberDesc desc = in testCanBeInternationallyDialled()216 PhoneNumberDesc desc = in testEmergency()238 PhoneNumberDesc desc = in testCarrierSpecificShortNumbers()
22 import com.android.i18n.phonenumbers.Phonemetadata.PhoneNumberDesc;1456 metadata.setGeneralDesc(new PhoneNumberDesc().setNationalNumberPattern("\\d{4,8}")); in testMaybeStripNationalPrefix()