/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | PhonenumberTest.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 32 PhoneNumber numberA = new PhoneNumber(); in testEqualSimpleNumber() 35 PhoneNumber numberB = new PhoneNumber(); in testEqualSimpleNumber() 43 PhoneNumber numberA = new PhoneNumber(); in testEqualWithItalianLeadingZeroSetToDefault() 46 PhoneNumber numberB = new PhoneNumber(); in testEqualWithItalianLeadingZeroSetToDefault() 55 PhoneNumber numberA = new PhoneNumber(); in testEqualWithCountryCodeSourceSet() 58 PhoneNumber numberB = new PhoneNumber(); in testEqualWithCountryCodeSourceSet() 66 PhoneNumber numberA = new PhoneNumber(); in testNonEqualWithItalianLeadingZeroSetToTrue() 69 PhoneNumber numberB = new PhoneNumber(); in testNonEqualWithItalianLeadingZeroSetToTrue() [all …]
|
D | PhoneNumberUtilTest.java | 23 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 42 private static final PhoneNumber ALPHA_NUMERIC_NUMBER = 43 new PhoneNumber().setCountryCode(1).setNationalNumber(80074935247L); 44 private static final PhoneNumber AE_UAN = 45 new PhoneNumber().setCountryCode(971).setNationalNumber(600123456L); 46 private static final PhoneNumber AR_MOBILE = 47 new PhoneNumber().setCountryCode(54).setNationalNumber(91187654321L); 48 private static final PhoneNumber AR_NUMBER = 49 new PhoneNumber().setCountryCode(54).setNationalNumber(1187654321); [all …]
|
D | PhoneNumberMatchTest.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 35 PhoneNumber number = new PhoneNumber(); in testValueTypeSemantics() 53 new PhoneNumberMatch(-110, "1 800 234 45 67", new PhoneNumber()); in testIllegalArguments() 63 new PhoneNumberMatch(10, null, new PhoneNumber()); in testIllegalArguments()
|
D | ExampleNumbersTest.java | 21 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 41 private List<PhoneNumber> invalidCases = new ArrayList<PhoneNumber>(); 42 private List<PhoneNumber> wrongTypeCases = new ArrayList<PhoneNumber>(); 69 PhoneNumber exampleNumber = in checkNumbersValidAndCorrectType() 160 PhoneNumber exampleNumber = null; in testCanBeInternationallyDialled() 199 PhoneNumber exampleNumber = in testGlobalNetworkNumbers() 211 PhoneNumber exampleNumber = phoneNumberUtil.getExampleNumber(regionCode); in testEveryRegionHasAnExampleNumber()
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoderTest.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 36 private static final PhoneNumber KO_NUMBER1 = 37 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L); 38 private static final PhoneNumber KO_NUMBER2 = 39 new PhoneNumber().setCountryCode(82).setNationalNumber(322123456L); 40 private static final PhoneNumber KO_NUMBER3 = 41 new PhoneNumber().setCountryCode(82).setNationalNumber(6421234567L); 42 private static final PhoneNumber KO_INVALID_NUMBER = 43 new PhoneNumber().setCountryCode(82).setNationalNumber(1234L); 44 private static final PhoneNumber US_NUMBER1 = [all …]
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
D | phonenumberutil.h | 198 void GetNationalSignificantNumber(const PhoneNumber& number, 240 int GetLengthOfGeographicalAreaCode(const PhoneNumber& number) const; 273 int GetLengthOfNationalDestinationCode(const PhoneNumber& number) const; 288 void Format(const PhoneNumber& number, 295 const PhoneNumber& number, 305 void FormatNationalNumberWithCarrierCode(const PhoneNumber& number, 320 const PhoneNumber& number, 329 const PhoneNumber& number, 342 const PhoneNumber& number, 352 void FormatInOriginalFormat(const PhoneNumber& number, [all …]
|
D | phonenumbermatcher.h | 44 class PhoneNumber; variable 113 bool IsNationalPrefixPresentIfRequired(const PhoneNumber& number) const; 133 const PhoneNumber& phone_number, 135 ResultCallback4<bool, const PhoneNumberUtil&, const PhoneNumber&, 139 const PhoneNumber& number, 145 const PhoneNumber& phone_number, 149 bool VerifyAccordingToLeniency(Leniency leniency, const PhoneNumber& number, 154 const PhoneNumber& number,
|
D | phonenumbermatch.h | 72 const PhoneNumber& number); 80 const PhoneNumber& number() const; 103 void set_number(const PhoneNumber& number); 117 PhoneNumber number_;
|
D | phonenumberutil.cc | 177 bool IsNationalNumberSuffixOfTheOther(const PhoneNumber& first_number, in IsNationalNumberSuffixOfTheOther() 178 const PhoneNumber& second_number) { in IsNationalNumberSuffixOfTheOther() 867 void PhoneNumberUtil::Format(const PhoneNumber& number, in Format() 919 const PhoneNumber& number, in FormatByPattern() 979 const PhoneNumber& number, in FormatNationalNumberWithCarrierCode() 1014 const PhoneNumber& number, in FormatNationalNumberWithPreferredCarrierCode() 1026 const PhoneNumber& number, in FormatNumberForMobileDialing() 1039 PhoneNumber number_no_extension(number); in FormatNumberForMobileDialing() 1112 const PhoneNumber& number, in FormatOutOfCountryCallingNumber() 1186 void PhoneNumberUtil::FormatInOriginalFormat(const PhoneNumber& number, in FormatInOriginalFormat() [all …]
|
D | phonenumber.h | 25 class PhoneNumber; variable 29 bool ExactlySameAs(const PhoneNumber& first_number, 30 const PhoneNumber& second_number);
|
D | phonenumbermatch.cc | 33 const PhoneNumber& number) in PhoneNumberMatch() 38 : start_(-1), raw_string_(""), number_(PhoneNumber::default_instance()) { in PhoneNumberMatch() 41 const PhoneNumber& PhoneNumberMatch::number() const { in number() 69 void PhoneNumberMatch::set_number(const PhoneNumber& number) { in set_number()
|
D | phonenumbermatcher.cc | 80 bool ContainsOnlyValidXChars(const PhoneNumber& number, const string& candidate, in ContainsOnlyValidXChars() 119 const PhoneNumber& phone_number, in AllNumberGroupsRemainGrouped() 450 PhoneNumber number; in ParseAndVerify() 474 Leniency leniency, const PhoneNumber& number, in VerifyAccordingToLeniency() 493 ResultCallback4<bool, const PhoneNumberUtil&, const PhoneNumber&, in VerifyAccordingToLeniency() 508 ResultCallback4<bool, const PhoneNumberUtil&, const PhoneNumber&, in VerifyAccordingToLeniency() 658 const PhoneNumber& phone_number, in CheckNumberGroupingIsValid() argument 660 ResultCallback4<bool, const PhoneNumberUtil&, const PhoneNumber&, in CheckNumberGroupingIsValid() 698 const PhoneNumber& number, in GetNationalNumberGroups() 731 const PhoneNumber& number) const { in IsNationalPrefixPresentIfRequired() [all …]
|
/external/chromium/chrome/browser/autofill/ |
D | phone_number.cc | 35 PhoneNumber::PhoneNumber() {} in PhoneNumber() function in PhoneNumber 37 PhoneNumber::PhoneNumber(const PhoneNumber& number) : FormGroup() { in PhoneNumber() function in PhoneNumber 41 PhoneNumber::~PhoneNumber() {} in ~PhoneNumber() 43 PhoneNumber& PhoneNumber::operator=(const PhoneNumber& number) { in operator =() 53 void PhoneNumber::GetPossibleFieldTypes(const string16& text, in GetPossibleFieldTypes() 76 void PhoneNumber::GetAvailableFieldTypes(FieldTypeSet* available_types) const { in GetAvailableFieldTypes() 95 string16 PhoneNumber::GetInfo(AutofillFieldType type) const { in GetInfo() 114 void PhoneNumber::SetInfo(AutofillFieldType type, const string16& value) { in SetInfo() 135 bool PhoneNumber::ParsePhoneNumber(const string16& value, in ParsePhoneNumber() 175 string16 PhoneNumber::WholeNumber() const { in WholeNumber() [all …]
|
D | phone_number_unittest.cc | 18 PhoneNumber::ParsePhoneNumber(phone0, &number, &city_code, &country_code); in TEST() 25 PhoneNumber::ParsePhoneNumber(phone1, &number, &city_code, &country_code); in TEST() 32 PhoneNumber::ParsePhoneNumber(phone2, &number, &city_code, &country_code); in TEST() 40 PhoneNumber::ParsePhoneNumber(phone_separator2, in TEST() 49 PhoneNumber::ParsePhoneNumber(phone3, &number, &city_code, &country_code); in TEST() 58 PhoneNumber::ParsePhoneNumber(phone3, &number, &city_code, &country_code); in TEST() 66 PhoneNumber::ParsePhoneNumber(phone4, &number, &city_code, &country_code); in TEST() 74 PhoneNumber::ParsePhoneNumber(phone_separator4, in TEST() 83 PhoneNumber::ParsePhoneNumber(phone5, &number, &city_code, &country_code); in TEST() 91 PhoneNumber::ParsePhoneNumber(phone6, &number, &city_code, &country_code); in TEST()
|
D | phone_number.h | 17 class PhoneNumber : public FormGroup { 19 PhoneNumber(); 20 explicit PhoneNumber(const PhoneNumber& number); 21 virtual ~PhoneNumber(); 23 PhoneNumber& operator=(const PhoneNumber& number);
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | Phonenumber.java | 29 public static class PhoneNumber implements Serializable { class in Phonenumber 38 public PhoneNumber() { in PhoneNumber() method in Phonenumber.PhoneNumber 47 public PhoneNumber setCountryCode(int value) { in setCountryCode() 52 public PhoneNumber clearCountryCode() { in clearCountryCode() 63 public PhoneNumber setNationalNumber(long value) { in setNationalNumber() 68 public PhoneNumber clearNationalNumber() { in clearNationalNumber() 79 public PhoneNumber setExtension(String value) { in setExtension() 87 public PhoneNumber clearExtension() { in clearExtension() 98 public PhoneNumber setItalianLeadingZero(boolean value) { in setItalianLeadingZero() 103 public PhoneNumber clearItalianLeadingZero() { in clearItalianLeadingZero() [all …]
|
D | PhoneNumberUtil.java | 23 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 463 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 475 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 496 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 505 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 527 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 536 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 547 abstract boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util); 791 public int getLengthOfGeographicalAreaCode(PhoneNumber number) { [all …]
|
D | PhoneNumberMatch.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 62 private final PhoneNumber number; 71 PhoneNumberMatch(int start, String rawString, PhoneNumber number) { in PhoneNumberMatch() 84 public PhoneNumber number() { in number()
|
/external/chromium_org/components/autofill/core/browser/ |
D | phone_number.cc | 41 PhoneNumber::PhoneNumber(AutofillProfile* profile) in PhoneNumber() function in autofill::PhoneNumber 45 PhoneNumber::PhoneNumber(const PhoneNumber& number) in PhoneNumber() function in autofill::PhoneNumber 50 PhoneNumber::~PhoneNumber() {} in ~PhoneNumber() 52 PhoneNumber& PhoneNumber::operator=(const PhoneNumber& number) { in operator =() 62 void PhoneNumber::GetSupportedTypes(ServerFieldTypeSet* supported_types) const { in GetSupportedTypes() 70 base::string16 PhoneNumber::GetRawInfo(ServerFieldType type) const { in GetRawInfo() 81 void PhoneNumber::SetRawInfo(ServerFieldType type, in SetRawInfo() 100 base::string16 PhoneNumber::GetInfo(const AutofillType& type, in GetInfo() 135 bool PhoneNumber::SetInfo(const AutofillType& type, in SetInfo() 149 void PhoneNumber::GetMatchingTypes(const base::string16& text, in GetMatchingTypes() [all …]
|
D | phone_number.h | 21 class PhoneNumber : public FormGroup { 23 explicit PhoneNumber(AutofillProfile* profile); 24 PhoneNumber(const PhoneNumber& number); 25 virtual ~PhoneNumber(); 27 PhoneNumber& operator=(const PhoneNumber& number);
|
D | phone_number_i18n.cc | 16 using i18n::phonenumbers::PhoneNumber; 32 bool IsValidPhoneNumber(const PhoneNumber& phone_number) { in IsValidPhoneNumber() 55 void FormatValidatedNumber(const PhoneNumber& number, in FormatValidatedNumber() 89 PhoneNumber* i18n_number) { in ParsePhoneNumber() 93 *i18n_number = PhoneNumber(); in ParsePhoneNumber() 159 PhoneNumber phone_number; in NormalizePhoneNumber() 181 PhoneNumber phone_number; in ConstructPhoneNumber() 202 PhoneNumber i18n_number1; in PhoneNumbersMatch() 208 PhoneNumber i18n_number2; in PhoneNumbersMatch() 239 scoped_ptr<PhoneNumber> i18n_number(new PhoneNumber); in PhoneObject() [all …]
|
D | phone_number_unittest.cc | 21 PhoneNumber phone_number(&profile); in TEST() 91 PhoneNumber phone(&profile); in TEST() 124 PhoneNumber phone(&profile); in TEST() 152 PhoneNumber::PhoneCombineHelper number1; in TEST() 166 PhoneNumber::PhoneCombineHelper number3; in TEST() 175 PhoneNumber::PhoneCombineHelper number4; in TEST() 183 PhoneNumber::PhoneCombineHelper number5; in TEST() 189 PhoneNumber::PhoneCombineHelper number6; in TEST() 201 PhoneNumber::PhoneCombineHelper number7; in TEST()
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/ |
D | phonenumber_offline_geocoder.h | 36 class PhoneNumber; variable 72 string GetDescriptionForValidNumber(const PhoneNumber& number, 93 string GetDescriptionForValidNumber(const PhoneNumber& number, 98 string GetDescriptionForNumber(const PhoneNumber& number, 102 string GetDescriptionForNumber(const PhoneNumber& number, 126 string GetCountryNameForNumber(const PhoneNumber& number, 137 const char* GetAreaDescription(const PhoneNumber& number, const string& lang,
|
D | phonenumber_offline_geocoder.cc | 122 const PhoneNumber& number, const Locale& language) const { in GetCountryNameForNumber() 144 const PhoneNumber& number, const Locale& language) const { in GetDescriptionForValidNumber() 153 const PhoneNumber& number, const Locale& language, in GetDescriptionForValidNumber() 168 const PhoneNumber& number, const Locale& locale) const { in GetDescriptionForNumber() 176 const PhoneNumber& number, const Locale& language, in GetDescriptionForNumber() 185 const PhoneNumber& number, const string& lang, const string& script, in GetAreaDescription()
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 21 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 132 private String getCountryNameForNumber(PhoneNumber number, Locale language) { in getCountryNameForNumber() 160 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForValidNumber() 192 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, in getDescriptionForValidNumber() 216 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() 238 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode, in getDescriptionForNumber() 272 PhoneNumber number, String lang, String script, String region) { in getAreaDescriptionForNumber()
|