Home
last modified time | relevance | path

Searched refs:getCountryCodeSource (Results 1 – 9 of 9) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonenumber.java149 public CountryCodeSource getCountryCodeSource() { return countryCodeSource_; } in getCountryCodeSource() method in Phonenumber.PhoneNumber
215 setCountryCodeSource(other.getCountryCodeSource()); in mergeFrom()
256 hash = (53 * hash) + getCountryCodeSource().hashCode(); in hashCode()
DPhoneNumberMatcher.java463 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in allNumberGroupsRemainGrouped()
618 (number.getCountryCodeSource() == CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN in containsMoreThanOneSlashInNationalNumber()
619 || number.getCountryCodeSource() == CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN); in containsMoreThanOneSlashInNationalNumber()
661 if (number.getCountryCodeSource() != CountryCodeSource.FROM_DEFAULT_COUNTRY) { in isNationalPrefixPresentIfRequired()
DPhoneNumberUtil.java1642 switch (number.getCountryCodeSource()) {
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumber.pb.js370 i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeSource = function() { method in i18n.phonenumbers.PhoneNumber
Dphonenumberutil_test.js2616 CCS.FROM_NUMBER_WITH_IDD, number.getCountryCodeSource());
2637 CCS.FROM_NUMBER_WITH_PLUS_SIGN, number.getCountryCodeSource());
2654 CCS.FROM_NUMBER_WITH_PLUS_SIGN, number.getCountryCodeSource());
2670 CCS.FROM_DEFAULT_COUNTRY, number.getCountryCodeSource());
2702 CCS.FROM_NUMBER_WITHOUT_PLUS_SIGN, number.getCountryCodeSource());
2750 CCS.FROM_DEFAULT_COUNTRY, number.getCountryCodeSource());
2761 assertNull(NZ_NUMBER.getCountryCodeSource());
Dphonenumberutil.js2205 switch (number.getCountryCodeSource()) {
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1961 CountryCodeSource.FROM_NUMBER_WITH_IDD, number.getCountryCodeSource()); in testMaybeExtractCountryCode()
1979 CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, number.getCountryCodeSource()); in testMaybeExtractCountryCode()
1993 CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, number.getCountryCodeSource()); in testMaybeExtractCountryCode()
2006 CountryCodeSource.FROM_DEFAULT_COUNTRY, number.getCountryCodeSource()); in testMaybeExtractCountryCode()
2033 number.getCountryCodeSource()); in testMaybeExtractCountryCode()
2071 CountryCodeSource.FROM_DEFAULT_COUNTRY, number.getCountryCodeSource()); in testMaybeExtractCountryCode()
2082 assertEquals(CountryCodeSource.UNSPECIFIED, NZ_NUMBER.getCountryCodeSource()); in testParseNationalNumber()
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java270 appendLine("country_code_source", number.getCountryCodeSource().toString(), output); in getOutputForSingleNumber()
/third_party/libphonenumber/
Drelease_notes.txt1175 getCountryCodeSource() on the result. If users want an actual value for this