Searched defs:countryIso (Results 1 - 3 of 3) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsUsageMonitorShortCodeTest.java34 final String countryIso; field in class:SmsUsageMonitorShortCodeTest.ShortCodeTest
38 ShortCodeTest(String countryIso, String destAddress, int category) { argument
39 this.countryIso = countryIso;
462 assertEquals("country: " + test.countryIso + " number: " + test.address,
463 test.category, monitor.checkDestination(test.address, test.countryIso));
/frameworks/base/location/java/android/location/
H A DCountry.java70 * @param countryIso the ISO 3166-1 two letters country code.
71 * @param source where the countryIso came from, could be one of below
81 public Country(final String countryIso, final int source) { argument
82 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK
86 mCountryIso = countryIso.toUpperCase(Locale.US);
91 private Country(final String countryIso, final int source, long timestamp) { argument
92 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK
96 mCountryIso = countryIso.toUpperCase(Locale.US);
158 * the timestamp value and just checks for equivalence of countryIso and source values.
188 * and timestamp fields, return true if the countryIso field
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsUsageMonitor.java391 public int checkDestination(String destAddress, String countryIso) { argument
394 if (PhoneNumberUtils.isEmergencyNumber(destAddress, countryIso)) {
404 if (countryIso != null) {
405 if (mCurrentCountry == null || !countryIso.equals(mCurrentCountry) ||
409 mCurrentPatternMatcher = getPatternMatcherFromFile(countryIso);
412 mCurrentPatternMatcher = getPatternMatcherFromResource(countryIso);
414 mCurrentCountry = countryIso;
422 Rlog.e(TAG, "No patterns for \"" + countryIso + "\": using generic short code rule");

Completed in 164 milliseconds