/packages/apps/Dialer/java/com/android/dialer/telecom/ |
TelecomCallUtil.java | 110 Optional<String> countryCode = getCountryCode(appContext, call); 111 if (!countryCode.isPresent()) { 115 return Optional.fromNullable(PhoneNumberUtils.formatNumberToE164(rawNumber, countryCode.get()));
|
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
TopRow.java | 181 String countryCode = 185 countryCode,
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
WifiTetherApBandPreferenceController.java | 100 final String countryCode = mWifiManager.getCountryCode(); 101 if (!mWifiManager.isDualBandSupported() || countryCode == null) {
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/ |
AssistedDialingSettingFragment.java | 52 CharSequence countryDisplayName, CharSequence countryCode) { 54 countryDisplayName, countryCode); 61 abstract CharSequence countryCode(); 135 if (countryCodeProvider.isSupportedCountryCode(tuple.countryCode().toString())) { 137 newValues.add(tuple.countryCode());
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAddress.java | 15 private String countryCode; 83 return countryCode; 87 public void setCountryCode(String countryCode) { 88 this.countryCode = countryCode;
|
ShadowGeocoder.java | 25 private String countryCode; 51 address.setCountryCode(countryCode); 85 * @param countryCode the country code for the response 87 public void setSimulatedResponse(String address, String city, String state, String zip, String countryCode) { 92 this.countryCode = countryCode;
|
/libcore/luni/src/main/java/libcore/icu/ |
TimeZoneNames.java | 163 String countryCode = locale.getCountry(); 166 if (line.startsWith(countryCode)) {
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/ |
SmartDialPrefix.java | 233 String countryCode = ""; 245 countryCode = number.substring(1, i); 246 if (isValidCountryCode(countryCode)) { 259 countryCode = "1"; 270 if (countryCode.equals("") && normalizedNumber.length() == 10) { 276 } else if (countryCode.equals("1") && normalizedNumber.length() == 11) { 290 return new PhoneNumberTokens(countryCode, countryCodeOffset, nanpNumberOffset); 294 private static boolean isValidCountryCode(String countryCode) { 298 return countryCodes.contains(countryCode); 588 final String countryCode; [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 65 String countryCode = "US"; 66 address.setCountryCode(countryCode); 67 assertEquals(countryCode, address.getCountryCode()); 209 "locality=null,thoroughfare=null,postalCode=95120,countryCode=null," +
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
AsYouTypeFormatter.java | 604 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode); 605 if (countryCode == 0) { 610 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode); 612 currentMetadata = phoneUtil.getMetadataForNonGeographicalRegion(countryCode); 616 String countryCodeString = Integer.toString(countryCode);
|
PhoneNumberMatcher.java | 477 String countryCode = Integer.toString(number.getCountryCode()); 478 fromIndex = normalizedCandidate.indexOf(countryCode) + countryCode.length(); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsNumberUtils.java | 109 public int countryCode; 200 int countryCode = numberEntry.countryCode; 203 && networkPortionNumber.length() >= 11 && countryCode != NANP_CC) { 380 int countryCode = -1; 388 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { 389 numberEntry.countryCode = countryCode; 392 } else if ((countryCode = getCountryCode(context, numberNoNBPCD)) > 0) { 393 numberEntry.countryCode = countryCode [all...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneData.java | 386 final String countryCode = fields[0]; 399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) { 406 String country = mCountryCodeToNameMap.get(countryCode); 408 country = getCountryNames(lang, countryCode); 409 mCountryCodeToNameMap.put(countryCode, country); 482 private String getCountryNames(String lang, String countryCode) { 485 if (PALESTINE_COUNTRY_CODE.equalsIgnoreCase(countryCode)) { 488 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); 491 if (!countryCode.equals(countryDisplayName)) { 506 if (mBackupCountryCodes[i].equals(countryCode)) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ReverseGeocoder.java | 193 String countryCode = addr1CountryCode; 195 if (!countryCode.equals(currentCountry)) { 196 closestCommonLocation += ", " + adminArea + " " + countryCode; 245 String countryCode = addr1CountryCode; 246 if (!countryCode.equals(currentCountry)) { 247 if (countryCode != null && countryCode.length() > 0) { 248 closestCommonLocation += " " + countryCode;
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 447 String countryCode = mTelephonyManager.getNetworkCountryIso(); 449 assertTrue("Country code '" + countryCode + "' did not match " 451 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); 459 String countryCode = mTelephonyManager.getSimCountryIso(); 461 assertTrue("Country code '" + countryCode + "' did not match " 463 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneGenericNames.java | 241 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary); 242 if (countryCode != null) { 245 String country = getLocaleDisplayNames().regionDisplayName(countryCode); 551 String countryCode = ZoneMeta.getCanonicalCountry(tzID); 552 if (countryCode != null) { 554 String regionalGolden = _tznames.getReferenceZoneID(mzID, countryCode); 557 location = getLocaleDisplayNames().regionDisplayName(countryCode); [all...] |
/external/icu/icu4c/source/i18n/ |
tzgnames.cpp | 539 char countryCode[ULOC_COUNTRY_CAPACITY]; 541 int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_INV); 542 countryCode[ccLen] = 0; 545 fLocaleDisplayNames->regionDisplayName(countryCode, country); 782 char countryCode[ULOC_COUNTRY_CAPACITY]; 784 int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_INV); 785 countryCode[ccLen] = 0; 788 fTimeZoneNames->getReferenceZoneID(mzID, countryCode, regionalGolden) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneGenericNames.java | 239 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary); 240 if (countryCode != null) { 243 String country = getLocaleDisplayNames().regionDisplayName(countryCode); 549 String countryCode = ZoneMeta.getCanonicalCountry(tzID); 550 if (countryCode != null) { 552 String regionalGolden = _tznames.getReferenceZoneID(mzID, countryCode); 555 location = getLocaleDisplayNames().regionDisplayName(countryCode); [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 150 ScopedUtfChars countryCode(env, javaCountryCode); 151 ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status)); 679 jstring countryCode = env->NewStringUTF(icuLocale.locale().getCountry()); 680 jstring internationalCurrencySymbol = ICU_getCurrencyCode(env, NULL, countryCode); 681 env->DeleteLocalRef(countryCode); 682 countryCode = NULL; [all...] |
/prebuilts/misc/common/robolectric/3.4.2/lib/ |
maps-3.4.2.jar | |
/libcore/ojluni/src/main/java/java/util/ |
Locale.java | [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
UiccProfile.java | 595 String countryCode = operator.substring(0, 3); 596 if (countryCode != null) { 598 MccTable.countryCodeForMcc(Integer.parseInt(countryCode))); [all...] |
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
DialpadFragment.java | 458 public static void setCurrentCountryIsoForTesting(String countryCode) { 459 currentCountryIsoForTesting = Optional.of(countryCode); [all...] |
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/ |
SectionParser.java | [all...] |
/prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-route53/1.11.18/ |
aws-java-sdk-route53-1.11.18.jar | |