Lines Matching refs:CountryCodeSource
24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource;
1449 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD,
1456 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY,
1461 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD,
1468 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_IDD,
1475 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY,
1482 assertEquals(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN,
1492 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY,
1499 assertEquals(CountryCodeSource.FROM_DEFAULT_COUNTRY,
1517 assertEquals("Did not figure out CountryCodeSource correctly",
1518 CountryCodeSource.FROM_NUMBER_WITH_IDD, number.getCountryCodeSource());
1535 assertEquals("Did not figure out CountryCodeSource correctly",
1536 CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, number.getCountryCodeSource());
1549 assertEquals("Did not figure out CountryCodeSource correctly",
1550 CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN, number.getCountryCodeSource());
1562 assertEquals("Did not figure out CountryCodeSource correctly",
1563 CountryCodeSource.FROM_DEFAULT_COUNTRY, number.getCountryCodeSource());
1588 assertEquals("Did not figure out CountryCodeSource correctly",
1589 CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN,
1603 assertFalse("Should not contain CountryCodeSource.", number.hasCountryCodeSource());
1616 assertFalse("Should not contain CountryCodeSource.", number.hasCountryCodeSource());
1629 assertEquals("Did not figure out CountryCodeSource correctly",
1630 CountryCodeSource.FROM_DEFAULT_COUNTRY, number.getCountryCodeSource());
2115 setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN).
2199 setCountryCodeSource(CountryCodeSource.FROM_DEFAULT_COUNTRY).
2207 setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN).
2213 setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN);
2218 setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITH_IDD);
2235 setCountryCodeSource(CountryCodeSource.FROM_DEFAULT_COUNTRY).
2307 .setCountryCodeSource(PhoneNumber.CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN)
2310 .setCountryCodeSource(PhoneNumber.CountryCodeSource.FROM_DEFAULT_COUNTRY)