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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsUsageMonitorShortCodeTest.java39 final String countryIso; field in class:SmsUsageMonitorShortCodeTest.ShortCodeTest
43 ShortCodeTest(String countryIso, String destAddress, int category) { argument
44 this.countryIso = countryIso;
472 assertEquals("country: " + test.countryIso + " number: " + test.address,
473 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/core/java/android/util/
H A DTimeUtils.java137 * @param countryIso is a two character country code.
141 private static List<android.icu.util.TimeZone> getIcuTimeZones(String countryIso) { argument
142 if (countryIso == null) {
147 TimeZoneFinder.getInstance().lookupTimeZonesByCountry(countryIso);
150 Log.d(TAG, "getIcuTimeZones(" + countryIso
/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionInfo.java133 Bitmap icon, int mcc, int mnc, String countryIso) {
135 roaming, icon, mcc, mnc, countryIso, false /* isEmbedded */,
144 Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded,
158 this.mCountryIso = countryIso;
404 String countryIso = source.readString();
410 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso,
131 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
142 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, boolean isEmbedded, @Nullable UiccAccessRule[] accessRules) 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 229 milliseconds