Searched refs:CountryCodeSource (Results 1 – 9 of 9) 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;1506 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1513 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1518 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1525 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1532 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1539 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, in testMaybeStripInternationalPrefix()1549 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1556 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1575 CountryCodeSource.FROM_NUMBER_WITH_IDD, number.getCountryCodeSource()); in testMaybeExtractCountryCode()[all …]
21 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;40 number.setCountryCodeSource(CountryCodeSource.FROM_DEFAULT_COUNTRY); in testContainsMoreThanOneSlashInNationalNumber()48 number.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN); in testContainsMoreThanOneSlashInNationalNumber()55 number.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN); in testContainsMoreThanOneSlashInNationalNumber()61 number.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN); in testContainsMoreThanOneSlashInNationalNumber()75 number.setCountryCodeSource(CountryCodeSource.FROM_DEFAULT_COUNTRY); in testContainsMoreThanOneSlashInNationalNumber()
31 public enum CountryCodeSource { enum in Phonenumber.PhoneNumber39 countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN; in PhoneNumber()146 private CountryCodeSource countryCodeSource_;148 public CountryCodeSource getCountryCodeSource() { return countryCodeSource_; } in getCountryCodeSource()149 public PhoneNumber setCountryCodeSource(CountryCodeSource value) { in setCountryCodeSource()159 countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN; in clearCountryCodeSource()
24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;477 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in allNumberGroupsRemainGrouped()614 (number.getCountryCodeSource() == CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN || in containsMoreThanOneSlashInNationalNumber()615 number.getCountryCodeSource() == CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN); in containsMoreThanOneSlashInNationalNumber()657 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in isNationalPrefixPresentIfRequired()
24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;2521 CountryCodeSource countryCodeSource =2526 if (countryCodeSource != CountryCodeSource.FROM_DEFAULT_COUNTRY) {2568 phoneNumber.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN);2616 CountryCodeSource maybeStripInternationalPrefixAndNormalize(2620 return CountryCodeSource.FROM_DEFAULT_COUNTRY;2628 return CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN;2634 ? CountryCodeSource.FROM_NUMBER_WITH_IDD2635 : CountryCodeSource.FROM_DEFAULT_COUNTRY;
72 enum CountryCodeSource { enum93 optional CountryCodeSource country_code_source = 6;
753 PhoneNumber::CountryCodeSource MaybeStripInternationalPrefixAndNormalize(
2322 PhoneNumber::CountryCodeSource2528 PhoneNumber::CountryCodeSource country_code_source = in MaybeExtractCountryCode()