/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 | 25 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 26 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 44 private static final PhoneNumber ALPHA_NUMERIC_NUMBER = 45 new PhoneNumber().setCountryCode(1).setNationalNumber(80074935247L); 46 private static final PhoneNumber AE_UAN = 47 new PhoneNumber().setCountryCode(971).setNationalNumber(600123456L); 48 private static final PhoneNumber AR_MOBILE = 49 new PhoneNumber().setCountryCode(54).setNationalNumber(91187654321L); 50 private static final PhoneNumber AR_NUMBER = 51 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() 61 PhoneNumber carrierSpecificNumber = new PhoneNumber(); in testIsCarrierSpecific() 67 PhoneNumber notCarrierSpecificNumber = new PhoneNumber(); in testIsCarrierSpecific() 73 PhoneNumber carrierSpecificNumberForSomeRegion = new PhoneNumber(); in testIsCarrierSpecific() [all …]
|
D | ExampleNumbersTest.java | 21 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 42 private List<PhoneNumber> invalidCases = new ArrayList<PhoneNumber>(); 43 private List<PhoneNumber> wrongTypeCases = new ArrayList<PhoneNumber>(); 53 PhoneNumber exampleNumber = in checkNumbersValidAndCorrectType() 144 PhoneNumber exampleNumber = null; in testCanBeInternationallyDialled() 165 PhoneNumber exampleNumber = in testGlobalNetworkNumbers() 178 PhoneNumber exampleNumber = phoneNumberUtil.getExampleNumber(regionCode); in testEveryRegionHasAnExampleNumber() 185 PhoneNumber exampleNumber = phoneNumberUtil.getInvalidExampleNumber(regionCode); in testEveryRegionHasAnInvalidExampleNumber() 195 PhoneNumber exampleNumber = phoneNumberUtil.getExampleNumberForType(type); in testEveryTypeHasAnExampleNumber() 211 PhoneNumber phoneNumber = phoneNumberUtil.parse(exampleShortNumber, regionCode); in testShortNumbersValidAndCorrectCost() [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 | 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/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 KO_MOBILE = [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/ |
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 39 public PhoneNumber() { in PhoneNumber() method in Phonenumber.PhoneNumber 48 public PhoneNumber setCountryCode(int value) { in setCountryCode() 53 public PhoneNumber clearCountryCode() { in clearCountryCode() 64 public PhoneNumber setNationalNumber(long value) { in setNationalNumber() 69 public PhoneNumber clearNationalNumber() { in clearNationalNumber() 80 public PhoneNumber setExtension(String value) { in setExtension() 88 public PhoneNumber clearExtension() { in clearExtension() 99 public PhoneNumber setItalianLeadingZero(boolean value) { in setItalianLeadingZero() 104 public PhoneNumber clearItalianLeadingZero() { in clearItalianLeadingZero() [all …]
|
D | PhoneNumberUtil.java | 22 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 23 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 484 boolean verify(PhoneNumber number, CharSequence candidate, PhoneNumberUtil util) { in verify() 496 boolean verify(PhoneNumber number, CharSequence candidate, PhoneNumberUtil util) { in verify() 518 boolean verify(PhoneNumber number, CharSequence candidate, PhoneNumberUtil util) { in verify() 529 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 551 boolean verify(PhoneNumber number, CharSequence candidate, PhoneNumberUtil util) { in verify() 562 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 573 abstract boolean verify(PhoneNumber number, CharSequence candidate, PhoneNumberUtil util); 802 public int getLengthOfGeographicalAreaCode(PhoneNumber number) { [all …]
|
D | ShortNumberInfo.java | 23 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 105 private boolean regionDialingFromMatchesNumber(PhoneNumber number, in regionDialingFromMatchesNumber() 119 public boolean isPossibleShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isPossibleShortNumberForRegion() 141 public boolean isPossibleShortNumber(PhoneNumber number) { in isPossibleShortNumber() 165 public boolean isValidShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isValidShortNumberForRegion() 192 public boolean isValidShortNumber(PhoneNumber number) { in isValidShortNumber() 226 public ShortNumberCost getExpectedCostForRegion(PhoneNumber number, String regionDialingFrom) { in getExpectedCostForRegion() 285 public ShortNumberCost getExpectedCost(PhoneNumber number) { in getExpectedCost() 320 private String getRegionCodeForShortNumberFromRegionList(PhoneNumber number, in getRegionCodeForShortNumberFromRegionList() 467 public boolean isCarrierSpecific(PhoneNumber number) { in isCarrierSpecific() [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 | PhoneNumberMatcher.java | 24 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 25 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 414 PhoneNumber number = phoneUtil.parseAndKeepRawInput(candidate, preferredRegion); in parseAndVerify() 466 boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in checkGroups() 471 PhoneNumber number, in allNumberGroupsRemainGrouped() 515 PhoneNumber number, in allNumberGroupsAreExactlyPresent() 551 private static String[] getNationalNumberGroups(PhoneNumberUtil util, PhoneNumber number, in getNationalNumberGroups() 574 PhoneNumber number, CharSequence candidate, PhoneNumberUtil util, 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/protobuf/csharp/src/AddressBook/ |
D | Addressbook.cs | 38 ….Examples.AddressBook.Person.Types.PhoneNumber), global::Google.Protobuf.Examples.AddressBook.Pers… in AddressbookReflection() 114 …::FieldCodec<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> _repeated_phon… 115 …Codec.ForMessage(34, global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber.Parser); 116 …sBook.Person.Types.PhoneNumber> phones_ = new pbc::RepeatedField<global::Google.Protobuf.Examples.… 117 …public pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> P… 237 public sealed partial class PhoneNumber : pb::IMessage<PhoneNumber> { class in Google.Protobuf.Examples.AddressBook.Person.Types 238 …te static readonly pb::MessageParser<PhoneNumber> _parser = new pb::MessageParser<PhoneNumber>(() … 239 public static pb::MessageParser<PhoneNumber> Parser { get { return _parser; } } 249 public PhoneNumber() { in PhoneNumber() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber 255 public PhoneNumber(PhoneNumber other) : this() { in PhoneNumber() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber [all …]
|
/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() 112 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForValidNumber() 125 PhoneNumber copiedNumber; in getDescriptionForValidNumber() 164 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, in getDescriptionForValidNumber() 188 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() 210 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode, in getDescriptionForNumber()
|
/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() 161 private List<String> getTimeZonesForGeocodableNumber(PhoneNumber number) { in getTimeZonesForGeocodableNumber() 174 private List<String> getCountryLevelTimeZonesforNumber(PhoneNumber number) { in getCountryLevelTimeZonesforNumber()
|
/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/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()
|
/external/nanopb-c/tests/common/ |
D | person.proto | 14 message PhoneNumber { message 19 repeated PhoneNumber phone = 4 [(nanopb).max_count = 5];
|
/external/robolectric-shadows/integration_tests/libphonenumber/src/test/java/org/robolectric/integration_tests/libphonenumber/ |
D | ClassloadingTest.java | 21 Phonenumber.PhoneNumber phoneNumber = new Phonenumber.PhoneNumber(); in getResourceAsStream()
|
/external/protobuf/examples/ |
D | addressbook.proto | 35 message PhoneNumber { message 40 repeated PhoneNumber phones = 4;
|