/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhonenumberTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 20 import com.google.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.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 24 import com.google.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 | ShortNumberInfoTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 30 PhoneNumber possibleNumber = new PhoneNumber(); in testIsPossibleShortNumber() 36 PhoneNumber impossibleNumber = new PhoneNumber(); in testIsPossibleShortNumber() 43 new PhoneNumber().setCountryCode(44).setNationalNumber(11001L))); in testIsPossibleShortNumber() 48 new PhoneNumber().setCountryCode(33).setNationalNumber(1010L))); in testIsValidShortNumber() 51 new PhoneNumber().setCountryCode(33).setNationalNumber(123456L))); in testIsValidShortNumber() 57 new PhoneNumber().setCountryCode(44).setNationalNumber(18001L))); in testIsValidShortNumber() 65 PhoneNumber premiumRateNumber = new PhoneNumber(); in testGetExpectedCost() 74 PhoneNumber standardRateNumber = new PhoneNumber(); in testGetExpectedCost() 83 PhoneNumber tollFreeNumber = new PhoneNumber(); in testGetExpectedCost() [all …]
|
D | PhoneNumberMatchTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 33 PhoneNumber number = new PhoneNumber(); in testValueTypeSemantics() 51 new PhoneNumberMatch(-110, "1 800 234 45 67", new PhoneNumber()); in testIllegalArguments() 61 new PhoneNumberMatch(10, null, new PhoneNumber()); in testIllegalArguments()
|
D | ExampleNumbersTest.java | 21 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 41 private List<PhoneNumber> invalidCases = new ArrayList<PhoneNumber>(); 42 private List<PhoneNumber> wrongTypeCases = new ArrayList<PhoneNumber>(); 52 PhoneNumber exampleNumber = in checkNumbersValidAndCorrectType() 143 PhoneNumber exampleNumber = null; in testCanBeInternationallyDialled() 164 PhoneNumber exampleNumber = in testGlobalNetworkNumbers() 177 PhoneNumber exampleNumber = phoneNumberUtil.getExampleNumber(regionCode); in testEveryRegionHasAnExampleNumber() 193 PhoneNumber phoneNumber = phoneNumberUtil.parse(exampleShortNumber, regionCode); in testShortNumbersValidAndCorrectCost() 222 PhoneNumber phoneNumber = phoneNumberUtil.parse(exampleNumber, regionCode); in testEmergency() 245 PhoneNumber carrierSpecificNumber = phoneNumberUtil.parse(exampleNumber, regionCode); in testCarrierSpecificShortNumbers()
|
D | PhoneNumberMatcherTest.java | 20 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 21 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 38 PhoneNumber number = new PhoneNumber(); in testContainsMoreThanOneSlashInNationalNumber() 46 number = new PhoneNumber(); in testContainsMoreThanOneSlashInNationalNumber() 53 number = new PhoneNumber(); in testContainsMoreThanOneSlashInNationalNumber() 59 number = new PhoneNumber(); in testContainsMoreThanOneSlashInNationalNumber() 73 number = new PhoneNumber(); in testContainsMoreThanOneSlashInNationalNumber() 403 PhoneNumber number1 = new PhoneNumber(); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation() 408 PhoneNumber number2 = new PhoneNumber(); in testMatchesMultiplePhoneNumbersSeparatedByPhoneNumberPunctuation() 718 PhoneNumber number1 = new PhoneNumber(); in testSequences() [all …]
|
/external/libphonenumber/carrier/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapperTest.java | 18 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 35 private static final PhoneNumber AO_MOBILE1 = 36 new PhoneNumber().setCountryCode(244).setNationalNumber(917654321L); 37 private static final PhoneNumber AO_MOBILE2 = 38 new PhoneNumber().setCountryCode(244).setNationalNumber(927654321L); 39 private static final PhoneNumber AO_FIXED1 = 40 new PhoneNumber().setCountryCode(244).setNationalNumber(22254321L); 41 private static final PhoneNumber AO_FIXED2 = 42 new PhoneNumber().setCountryCode(244).setNationalNumber(26254321L); 43 private static final PhoneNumber AO_INVALID_NUMBER = [all …]
|
/external/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoderTest.java | 19 import com.google.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/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberToTimeZonesMapperTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 36 private static final PhoneNumber AU_NUMBER = 37 new PhoneNumber().setCountryCode(61).setNationalNumber(236618300L); 38 private static final PhoneNumber CA_NUMBER = 39 new PhoneNumber().setCountryCode(1).setNationalNumber(6048406565L); 40 private static final PhoneNumber KO_NUMBER = 41 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L); 42 private static final PhoneNumber KO_INVALID_NUMBER = 43 new PhoneNumber().setCountryCode(82).setNationalNumber(1234L); 44 private static final PhoneNumber US_NUMBER1 = [all …]
|
/external/libphonenumber/libphonenumber/src/com/google/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.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 24 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 448 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 460 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 482 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 492 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 514 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { in verify() 524 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 535 abstract boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util); 849 public int getLengthOfGeographicalAreaCode(PhoneNumber number) { [all …]
|
D | PhoneNumberMatch.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 60 private final PhoneNumber number; 69 PhoneNumberMatch(int start, String rawString, PhoneNumber number) { in PhoneNumberMatch() 82 public PhoneNumber number() { in number()
|
D | ShortNumberInfo.java | 23 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 135 public boolean isPossibleShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isPossibleShortNumberForRegion() 154 public boolean isPossibleShortNumber(PhoneNumber number) { in isPossibleShortNumber() 204 public boolean isValidShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isValidShortNumberForRegion() 228 public boolean isValidShortNumber(PhoneNumber number) { in isValidShortNumber() 316 public ShortNumberCost getExpectedCostForRegion(PhoneNumber number, String regionDialingFrom) { in getExpectedCostForRegion() 365 public ShortNumberCost getExpectedCost(PhoneNumber number) { in getExpectedCost() 400 private String getRegionCodeForShortNumberFromRegionList(PhoneNumber number, in getRegionCodeForShortNumberFromRegionList() 547 public boolean isCarrierSpecific(PhoneNumber number) { in isCarrierSpecific() 568 private static String getNationalSignificantNumber(PhoneNumber number) { in getNationalSignificantNumber()
|
D | PhoneNumberMatcher.java | 24 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 25 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 415 PhoneNumber number = phoneUtil.parseAndKeepRawInput(candidate, preferredRegion); in parseAndVerify() 467 boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in checkGroups() 472 PhoneNumber number, in allNumberGroupsRemainGrouped() 516 PhoneNumber number, in allNumberGroupsAreExactlyPresent() 552 private static String[] getNationalNumberGroups(PhoneNumberUtil util, PhoneNumber number, in getNationalNumberGroups() 575 PhoneNumber number, String candidate, PhoneNumberUtil util, NumberGroupingChecker checker) { in checkNumberGroupingIsValid() 598 static boolean containsMoreThanOneSlashInNationalNumber(PhoneNumber number, String candidate) { in containsMoreThanOneSlashInNationalNumber() 625 PhoneNumber number, String candidate, PhoneNumberUtil util) { in containsOnlyValidXChars() [all …]
|
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/ |
D | PrefixFileReaderTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 32 private static final PhoneNumber KO_NUMBER = 33 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L); 34 private static final PhoneNumber US_NUMBER1 = 35 new PhoneNumber().setCountryCode(1).setNationalNumber(6502530000L); 36 private static final PhoneNumber US_NUMBER2 = 37 new PhoneNumber().setCountryCode(1).setNationalNumber(2128120000L); 38 private static final PhoneNumber US_NUMBER3 = 39 new PhoneNumber().setCountryCode(1).setNationalNumber(6174240000L); 40 private static final PhoneNumber SE_NUMBER = [all …]
|
D | PrefixTimeZonesMapTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 92 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumberCountryLevel_US() 99 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_ValidNumber_Chicago() 106 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_LA() 113 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_NY() 120 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_CH() 127 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_RU()
|
D | PhonePrefixMapTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 38 private PhoneNumber number = new PhoneNumber();
|
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 22 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 66 private String getCountryNameForNumber(PhoneNumber number, Locale language) { in getCountryNameForNumber() 110 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForValidNumber() 123 PhoneNumber copiedNumber; in getDescriptionForValidNumber() 161 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, in getDescriptionForValidNumber() 185 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() 207 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode, in getDescriptionForNumber()
|
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapper.java | 21 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 73 public String getNameForValidNumber(PhoneNumber number, Locale languageCode) { in getNameForValidNumber() 91 public String getNameForNumber(PhoneNumber number, Locale languageCode) { in getNameForNumber() 109 public String getSafeDisplayName(PhoneNumber number, Locale languageCode) { in getSafeDisplayName()
|
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberToTimeZonesMapper.java | 20 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 124 public List<String> getTimeZonesForGeographicalNumber(PhoneNumber number) { in getTimeZonesForGeographicalNumber() 136 public List<String> getTimeZonesForNumber(PhoneNumber number) { in getTimeZonesForNumber() 173 private List<String> getTimeZonesForGeocodableNumber(PhoneNumber number) { in getTimeZonesForGeocodableNumber() 186 private List<String> getCountryLevelTimeZonesforNumber(PhoneNumber number) { in getCountryLevelTimeZonesforNumber()
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
D | PrefixTimeZonesMap.java | 20 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 90 public List<String> lookupTimeZonesForNumber(PhoneNumber number) { in lookupTimeZonesForNumber() 102 public List<String> lookupCountryLevelTimeZonesForNumber(PhoneNumber number) { in lookupCountryLevelTimeZonesForNumber()
|
D | PrefixFileReader.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 115 PhoneNumber number, String lang, String script, String region) { in getDescriptionForNumber()
|
/external/nanopb-c/tests/common/ |
D | person.proto | 14 message PhoneNumber { message 19 repeated PhoneNumber phone = 4 [(nanopb).max_count = 5];
|
/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()
|