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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsUsageMonitorShortCodeTest.java36 final String countryIso; field in class:SmsUsageMonitorShortCodeTest.ShortCodeTest
40 ShortCodeTest(String countryIso, String destAddress, int category) { argument
41 this.countryIso = countryIso;
470 assertEquals("country: " + test.countryIso + " number: " + test.address,
471 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/base/telephony/java/android/telephony/
H A DSubscriptionInfo.java117 Bitmap icon, int mcc, int mnc, String countryIso) {
130 this.mCountryIso = countryIso;
301 String countryIso = source.readString();
305 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso);
115 SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, CharSequence carrierName, int nameSource, int iconTint, String number, int roaming, Bitmap icon, int mcc, int mnc, String countryIso) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsUsageMonitor.java392 public int checkDestination(String destAddress, String countryIso) { argument
395 if (PhoneNumberUtils.isEmergencyNumber(destAddress, countryIso)) {
405 if (countryIso != null) {
406 if (mCurrentCountry == null || !countryIso.equals(mCurrentCountry) ||
410 mCurrentPatternMatcher = getPatternMatcherFromFile(countryIso);
413 mCurrentPatternMatcher = getPatternMatcherFromResource(countryIso);
415 mCurrentCountry = countryIso;
423 Rlog.e(TAG, "No patterns for \"" + countryIso + "\": using generic short code rule");

Completed in 138 milliseconds