/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()
|
D | PhoneNumberMatcherTest.java | 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 201 PhoneNumber expectedResult = phoneUtil.parse(number, RegionCode.US); in testMatchWithSurroundingZipcodes() 329 PhoneNumber number1 = new PhoneNumber(); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation() 334 PhoneNumber number2 = new PhoneNumber(); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation() 638 PhoneNumber number1 = new PhoneNumber(); in testSequences() 643 PhoneNumber number2 = new PhoneNumber(); in testSequences() 668 List<PhoneNumber> expected = new ArrayList<PhoneNumber>(100); in testMaxMatches() 669 PhoneNumber number = phoneUtil.parse("+14156667777", null); in testMaxMatches() 676 List<PhoneNumber> actual = new ArrayList<PhoneNumber>(100); in testMaxMatches() 706 List<PhoneNumber> expected = new ArrayList<PhoneNumber>(100); in testMaxMatchesMixed() [all …]
|
/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 …]
|
D | AreaCodeMapTest.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 38 private PhoneNumber number = new PhoneNumber();
|
/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);
|
D | home_phone_number.cc | 10 : PhoneNumber(phone) { in HomePhoneNumber() 16 PhoneNumber::operator=(phone); in operator =()
|
D | fax_number.cc | 9 FaxNumber::FaxNumber(const FaxNumber& fax) : PhoneNumber(fax) {} in FaxNumber() 14 PhoneNumber::operator=(fax); in operator =()
|
D | fax_number.h | 12 class FaxNumber : public PhoneNumber {
|
D | home_phone_number.h | 13 class HomePhoneNumber : public PhoneNumber {
|
D | autofill_manager.cc | 1014 static_cast<size_t>(PhoneNumber::kPrefixLength + 1015 PhoneNumber::kSuffixLength)); 1017 field->max_length == PhoneNumber::kPrefixLength) { 1018 number = number.substr(PhoneNumber::kPrefixOffset, 1019 PhoneNumber::kPrefixLength); 1022 field->max_length == PhoneNumber::kSuffixLength) { 1023 number = number.substr(PhoneNumber::kSuffixOffset, 1024 PhoneNumber::kSuffixLength);
|
D | personal_data_manager_mac.mm | 205 PhoneNumber::ParsePhoneNumber( 214 PhoneNumber::ParsePhoneNumber(homeFax, 223 PhoneNumber::ParsePhoneNumber(workPhone, 232 PhoneNumber::ParsePhoneNumber(workFax,
|
/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()
|
D | PhoneNumberMatcher.java | 24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 25 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 418 PhoneNumber number = phoneUtil.parseAndKeepRawInput(candidate, preferredRegion); in parseAndVerify() 450 boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in checkGroups() 455 PhoneNumber number, in allNumberGroupsRemainGrouped() 489 PhoneNumber number, in allNumberGroupsAreExactlyPresent() 525 private static String[] getNationalNumberGroups(PhoneNumberUtil util, PhoneNumber number, in getNationalNumberGroups() 548 PhoneNumber number, String candidate, PhoneNumberUtil util, NumberGroupingChecker checker) { in checkNumberGroupingIsValid() 577 PhoneNumber number, String candidate, PhoneNumberUtil util) { in containsOnlyValidXChars() 605 static boolean isNationalPrefixPresentIfRequired(PhoneNumber number, PhoneNumberUtil util) { in isNationalPrefixPresentIfRequired()
|
/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()
|
D | AreaCodeMap.java | 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 145 String lookup(PhoneNumber number) { in lookup()
|
/external/protobuf/examples/ |
D | addressbook.proto | 19 message PhoneNumber { message 24 repeated PhoneNumber phone = 4;
|
D | AddPerson.java | 38 Person.PhoneNumber.Builder phoneNumber = in PromptForAddress() 39 Person.PhoneNumber.newBuilder().setNumber(number); in PromptForAddress()
|
D | ListPeople.java | 19 for (Person.PhoneNumber phoneNumber : person.getPhoneList()) { in Print()
|