Searched refs:CountryCodeSource (Results 1 – 8 of 8) sorted by relevance
20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;57 setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN); in testEqualWithCountryCodeSourceSet()60 setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN); in testEqualWithCountryCodeSourceSet()79 setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN); in testNonEqualWithDifferingRawInput()85 setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN); in testNonEqualWithDifferingRawInput()
24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;1449 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1456 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1461 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1468 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1475 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1482 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, in testMaybeStripInternationalPrefix()1492 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1499 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1518 CountryCodeSource.FROM_NUMBER_WITH_IDD, number.getCountryCodeSource()); in testMaybeExtractCountryCode()[all …]
31 public enum CountryCodeSource { enum in Phonenumber.PhoneNumber39 countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN; in PhoneNumber()130 private CountryCodeSource countryCodeSource_;132 public CountryCodeSource getCountryCodeSource() { return countryCodeSource_; } in getCountryCodeSource()133 public PhoneNumber setCountryCodeSource(CountryCodeSource value) { in setCountryCodeSource()143 countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN; in clearCountryCodeSource()
24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;2393 CountryCodeSource countryCodeSource =2398 if (countryCodeSource != CountryCodeSource.FROM_DEFAULT_COUNTRY) {2440 phoneNumber.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN);2488 CountryCodeSource maybeStripInternationalPrefixAndNormalize(2492 return CountryCodeSource.FROM_DEFAULT_COUNTRY;2500 return CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN;2506 ? CountryCodeSource.FROM_NUMBER_WITH_IDD2507 : CountryCodeSource.FROM_DEFAULT_COUNTRY;
24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;608 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in isNationalPrefixPresentIfRequired()
72 enum CountryCodeSource { enum93 optional CountryCodeSource country_code_source = 6;
753 PhoneNumber::CountryCodeSource MaybeStripInternationalPrefixAndNormalize(
2322 PhoneNumber::CountryCodeSource2528 PhoneNumber::CountryCodeSource country_code_source = in MaybeExtractCountryCode()