Searched refs:CountryCodeSource (Results 1 – 6 of 6) sorted by relevance
20 import com.google.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.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;1505 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1512 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1517 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1524 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1531 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1538 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, in testMaybeStripInternationalPrefix()1548 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1555 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1574 CountryCodeSource.FROM_NUMBER_WITH_IDD, number.getCountryCodeSource()); in testMaybeExtractCountryCode()[all …]
21 import com.google.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.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;476 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in allNumberGroupsRemainGrouped()613 (number.getCountryCodeSource() == CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN || in containsMoreThanOneSlashInNationalNumber()614 number.getCountryCodeSource() == CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN); in containsMoreThanOneSlashInNationalNumber()656 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in isNationalPrefixPresentIfRequired()
24 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;2512 CountryCodeSource countryCodeSource =2517 if (countryCodeSource != CountryCodeSource.FROM_DEFAULT_COUNTRY) {2559 phoneNumber.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN);2607 CountryCodeSource maybeStripInternationalPrefixAndNormalize(2611 return CountryCodeSource.FROM_DEFAULT_COUNTRY;2619 return CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN;2625 ? CountryCodeSource.FROM_NUMBER_WITH_IDD2626 : CountryCodeSource.FROM_DEFAULT_COUNTRY;