/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() 720 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 PhoneNumber number, in verify() 500 PhoneNumber number, in verify() 526 PhoneNumber number, in verify() 540 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 563 PhoneNumber number, in verify() 577 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 589 PhoneNumber number, 821 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()
|
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
D | Phonenumber.java | 36 public static class PhoneNumber implements Serializable { class in Phonenumber 54 public PhoneNumber() { in PhoneNumber() method in Phonenumber.PhoneNumber 65 public PhoneNumber setCountryCode(int value) { in setCountryCode() 71 public PhoneNumber clearCountryCode() { in clearCountryCode() 83 public PhoneNumber setNationalNumber(long value) { in setNationalNumber() 88 public PhoneNumber clearNationalNumber() { in clearNationalNumber() 101 public PhoneNumber setExtension(String value) { in setExtension() 109 public PhoneNumber clearExtension() { in clearExtension() 120 public PhoneNumber setItalianLeadingZero(boolean value) { in setItalianLeadingZero() 125 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; 517 PhoneNumber number, in verify() 533 PhoneNumber number, in verify() 559 PhoneNumber number, in verify() 573 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 596 PhoneNumber number, in verify() 610 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 622 PhoneNumber number, 854 public int getLengthOfGeographicalAreaCode(PhoneNumber number) { [all …]
|
D | ShortNumberInfo.java | 24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 108 private boolean regionDialingFromMatchesNumber(PhoneNumber number, in regionDialingFromMatchesNumber() 122 public boolean isPossibleShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isPossibleShortNumberForRegion() 144 public boolean isPossibleShortNumber(PhoneNumber number) { in isPossibleShortNumber() 168 public boolean isValidShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isValidShortNumberForRegion() 195 public boolean isValidShortNumber(PhoneNumber number) { in isValidShortNumber() 229 public ShortNumberCost getExpectedCostForRegion(PhoneNumber number, String regionDialingFrom) { in getExpectedCostForRegion() 288 public ShortNumberCost getExpectedCost(PhoneNumber number) { in getExpectedCost() 323 private String getRegionCodeForShortNumberFromRegionList(PhoneNumber number, in getRegionCodeForShortNumberFromRegionList() 470 public boolean isCarrierSpecific(PhoneNumber number) { in isCarrierSpecific() [all …]
|
D | PhoneNumberMatch.java | 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 62 private final PhoneNumber number; 71 PhoneNumberMatch(int start, String rawString, PhoneNumber number) { in PhoneNumberMatch() 85 public PhoneNumber number() { in number()
|
/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()
|
/external/libphonenumber/repackaged/internal/prefixmapper/test/com/android/i18n/phonenumbers/prefixmapper/ |
D | PrefixFileReaderTest.java | 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 34 private static final PhoneNumber KO_NUMBER = 35 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L); 36 private static final PhoneNumber US_NUMBER1 = 37 new PhoneNumber().setCountryCode(1).setNationalNumber(6502530000L); 38 private static final PhoneNumber US_NUMBER2 = 39 new PhoneNumber().setCountryCode(1).setNationalNumber(2128120000L); 40 private static final PhoneNumber US_NUMBER3 = 41 new PhoneNumber().setCountryCode(1).setNationalNumber(6174240000L); 42 private static final PhoneNumber SE_NUMBER = [all …]
|
D | PrefixTimeZonesMapTest.java | 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 94 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumberCountryLevel_US() 101 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_ValidNumber_Chicago() 108 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_LA() 115 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_NY() 122 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_CH() 129 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_RU()
|
/external/protobuf/csharp/src/AddressBook/ |
D | Addressbook.cs | 41 ….Examples.AddressBook.Person.Types.PhoneNumber), global::Google.Protobuf.Examples.AddressBook.Pers… in AddressbookReflection() 128 …::FieldCodec<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> _repeated_phon… 129 …Codec.ForMessage(34, global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber.Parser); 130 …sBook.Person.Types.PhoneNumber> phones_ = new pbc::RepeatedField<global::Google.Protobuf.Examples.… 132 …public pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> P… 302 public sealed partial class PhoneNumber : pb::IMessage<PhoneNumber> { class in Google.Protobuf.Examples.AddressBook.Person.Types 303 …te static readonly pb::MessageParser<PhoneNumber> _parser = new pb::MessageParser<PhoneNumber>(() … 306 public static pb::MessageParser<PhoneNumber> Parser { get { return _parser; } } 319 public PhoneNumber() { in PhoneNumber() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber 326 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/repackaged/geocoder/src/com/android/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoder.java | 23 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 69 private String getCountryNameForNumber(PhoneNumber number, Locale language) { in getCountryNameForNumber() 115 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForValidNumber() 128 PhoneNumber copiedNumber; in getDescriptionForValidNumber() 167 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, in getDescriptionForValidNumber() 192 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { in getDescriptionForNumber() 214 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode, in getDescriptionForNumber()
|
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/ |
D | PhoneNumberToTimeZonesMapper.java | 21 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 126 public List<String> getTimeZonesForGeographicalNumber(PhoneNumber number) { in getTimeZonesForGeographicalNumber() 138 public List<String> getTimeZonesForNumber(PhoneNumber number) { in getTimeZonesForNumber() 163 private List<String> getTimeZonesForGeocodableNumber(PhoneNumber number) { in getTimeZonesForGeocodableNumber() 176 private List<String> getCountryLevelTimeZonesforNumber(PhoneNumber number) { in getCountryLevelTimeZonesforNumber()
|