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;1544 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1551 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1556 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1563 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1570 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1577 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, in testMaybeStripInternationalPrefix()1587 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1594 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1613 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()
23 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;2589 CountryCodeSource countryCodeSource =2594 if (countryCodeSource != CountryCodeSource.FROM_DEFAULT_COUNTRY) {2633 phoneNumber.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN);2681 CountryCodeSource maybeStripInternationalPrefixAndNormalize(2685 return CountryCodeSource.FROM_DEFAULT_COUNTRY;2693 return CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN;2699 ? CountryCodeSource.FROM_NUMBER_WITH_IDD2700 : CountryCodeSource.FROM_DEFAULT_COUNTRY;