Searched refs:CountryCodeSource (Results 1 – 4 of 4) 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;1337 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1344 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1349 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1356 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD, in testMaybeStripInternationalPrefix()1363 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1370 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, in testMaybeStripInternationalPrefix()1380 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1387 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY, in testMaybeStripInternationalPrefix()1406 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;628 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in isNationalPrefixPresentIfRequired()2407 CountryCodeSource countryCodeSource = in maybeExtractCountryCode()2412 if (countryCodeSource != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in maybeExtractCountryCode()2454 phoneNumber.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN); in maybeExtractCountryCode()2502 CountryCodeSource maybeStripInternationalPrefixAndNormalize( in maybeStripInternationalPrefixAndNormalize()2506 return CountryCodeSource.FROM_DEFAULT_COUNTRY; in maybeStripInternationalPrefixAndNormalize()2514 return CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN; in maybeStripInternationalPrefixAndNormalize()2520 ? CountryCodeSource.FROM_NUMBER_WITH_IDD in maybeStripInternationalPrefixAndNormalize()2521 : CountryCodeSource.FROM_DEFAULT_COUNTRY; in maybeStripInternationalPrefixAndNormalize()