Lines Matching defs:country

520          *  - a '0' on one and a (+,00)<country code> on the other
1099 /** The current locale is unknown, look for a country code or don't format */
1106 /** List of country codes for countries that use the NANP */
1136 * for the country the number is from.
1173 String country = locale.getCountry();
1175 return getFormatTypeFromCountryCode(country);
1368 * The given phone number must have an area code and could have a country
1372 * the E.164 phone number if the given number doesn't have a country code.
1377 * the ISO 3166-1 two letters country code
1399 * If the given number doesn't have the country code, the phone will be
1400 * formatted to the default country's convention.
1405 * the ISO 3166-1 two letters country code whose convention will
1406 * be used if the given number doesn't have the country code.
1436 * the E164 format number whose country code is used if the given
1437 * phoneNumber doesn't have the country code.
1439 * the ISO 3166-1 two letters country code whose convention will
1456 // Get the country code from phoneNumberE164
1609 * Checks if a given number is an emergency number for a specific country.
1612 * @param defaultCountryIso the specific country which the number should be checked against
1613 * @return if the number is an emergency number for the specific country, then return true,
1626 * emergency service, for a specific country.
1629 * is an emergency number in the specified country, *or* if the number
1631 * country.
1638 * @param defaultCountryIso the specific country which the number should be checked against
1640 * country, *or* if the number starts with the same digits as
1656 * @param defaultCountryIso the specific country which the number should be checked against
1663 * @return true if the number is an emergency number for the specified country.
1735 * Checks if a given number is an emergency number for the country that the user is in. The
1736 * current country is determined using the CountryDetector.
1740 * @return true if the specified number is an emergency number for a local country, based on the
1754 * emergency service, for the country that the user is in. The current
1755 * country is determined using the CountryDetector.
1758 * is an emergency number in the current country, *or* if the number
1760 * current country.
1768 * @return true if the specified number is an emergency number for a local country, based on the
1793 * local country, based on the CountryDetector.
1973 * @param currFormat the numbering system of the current country that the phone is camped on
1974 * @param defaultFormat the numbering system of the country that the phone is activated on
1988 // Format the string based on the rules for the country the number is from,
1989 // and the current country the phone is camped on.
2071 private static int getFormatTypeFromCountryCode (String country) {
2075 if (NANP_COUNTRIES[i].compareToIgnoreCase(country) == 0) {
2079 if ("jp".compareToIgnoreCase(country) == 0) {
2279 /** all of 'a' up to len must be a (+|00|011)country code)
2280 * We're fast and loose with the country code. Any \d{1,3} matches */
2354 * If true, the number is country calling code.
2401 * Note that this function does not strictly care the country calling code with
2492 * trunk prefix. Actually trunk prefix is different in each country.