Home
last modified time | relevance | path

Searched refs:CountryCodeSource (Results 1 – 8 of 8) sorted by relevance

/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DPhonenumberTest.java20 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()
DPhoneNumberUtilTest.java24 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 …]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhonenumber.java31 public enum CountryCodeSource { enum in Phonenumber.PhoneNumber
39 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()
DPhoneNumberUtil.java24 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_IDD
2507 : CountryCodeSource.FROM_DEFAULT_COUNTRY;
DPhoneNumberMatcher.java24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;
608 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in isNationalPrefixPresentIfRequired()
/external/chromium_org/third_party/libphonenumber/src/resources/
Dphonenumber.proto72 enum CountryCodeSource { enum
93 optional CountryCodeSource country_code_source = 6;
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dphonenumberutil.h753 PhoneNumber::CountryCodeSource MaybeStripInternationalPrefixAndNormalize(
Dphonenumberutil.cc2322 PhoneNumber::CountryCodeSource
2528 PhoneNumber::CountryCodeSource country_code_source = in MaybeExtractCountryCode()