/external/robolectric/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/java/util/spi/ |
LocaleNameProvider.java | 53 * @param countryCode an ISO 3166 language code
61 public abstract String getDisplayCountry(String countryCode, Locale locale);
|
/libcore/luni/src/main/java/java/util/ |
Locale.java | 236 private transient String countryCode; 250 this.countryCode = upperCaseCountryCode; 280 countryCode = ""; 296 countryCode = country.toUpperCase(Locale.US); 321 && countryCode.equals(o.countryCode) 350 return countryCode; 377 if (countryCode.isEmpty()) { 408 localeString = toNewString("fil", countryCode, variantCode); 448 if (!countryCode.isEmpty()) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
PhoneNumberFormatter.java | 37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) { 38 mCountryCode = countryCode;
|
/packages/apps/Mms/src/com/android/mms/util/ |
PhoneNumberFormatter.java | 37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) { 38 mCountryCode = countryCode;
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberFormattingTextWatcher.java | 64 * The formatting is based on the given <code>countryCode</code>. 66 * @param countryCode the ISO 3166-1 two-letter country code that indicates the country/region 71 public PhoneNumberFormattingTextWatcher(String countryCode) { 72 if (countryCode == null) throw new IllegalArgumentException(); 73 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode);
|
PhoneNumberUtils.java | [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); 483 private String getCountryNames(String lang, String countryCode) { 486 if (PALESTINE_COUNTRY_CODE.equalsIgnoreCase(countryCode)) { 489 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); 492 if (!countryCode.equals(countryDisplayName)) { 507 if (mBackupCountryCodes[i].equals(countryCode)) { [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 314 String countryCode = mTelephonyManager.getNetworkCountryIso(); 316 assertTrue("Country code '" + countryCode + "' did not match " 318 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); 326 String countryCode = mTelephonyManager.getSimCountryIso(); 328 assertTrue("Country code '" + countryCode + "' did not match " 330 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
|
/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;
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialTrie.java | 58 final String countryCode; 61 public CountryCodeWithOffset(int offset, String countryCode) { 62 this.countryCode = countryCode; 161 if ((code.countryCode.equals("1") || code.offset == 0) && mFormatNanp) { 195 final String countryCode = number.substring(1, i); 196 if (isValidCountryCode(countryCode)) { 197 return new CountryCodeWithOffset(i, countryCode); 451 private static boolean isValidCountryCode(String countryCode) { 455 return sCountryCodes.contains(countryCode); [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
ICU.java | 175 public static native String getCurrencyCode(String countryCode); 180 public static native String getDisplayCountryNative(String countryCode, String locale);
|
TimeZoneNames.java | 150 String countryCode = locale.getCountry(); 153 if (line.startsWith(countryCode)) {
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
AsYouTypeFormatter.java | 581 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode); 582 if (countryCode == 0) { 587 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode); 589 currentMetaData = phoneUtil.getMetadataForNonGeographicalRegion(countryCode); 593 String countryCodeString = Integer.toString(countryCode);
|
PhoneNumberUtil.java | [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/icu4c/i18n/ |
tzgnames.cpp | 559 char countryCode[ULOC_COUNTRY_CAPACITY]; 561 int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_INV); 562 countryCode[ccLen] = 0; 565 fLocaleDisplayNames->regionDisplayName(countryCode, country); 810 char countryCode[ULOC_COUNTRY_CAPACITY]; 812 int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_INV); 813 countryCode[ccLen] = 0; 816 fTimeZoneNames->getReferenceZoneID(mzID, countryCode, regionalGolden) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
ICU_Delegate.java | 122 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) {
|
/frameworks/base/location/java/android/location/ |
Address.java | 267 public void setCountryCode(String countryCode) { 268 mCountryCode = countryCode; 453 sb.append(",countryCode=");
|
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 142 ScopedUtfChars countryCode(env, javaCountryCode); 143 ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status)); 609 jstring countryCode = env->NewStringUTF(Locale::createFromName(localeName.c_str()).getCountry()); 610 jstring internationalCurrencySymbol = ICU_getCurrencyCode(env, NULL, countryCode); 611 env->DeleteLocalRef(countryCode); 612 countryCode = NULL; [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiStateMachine.java | [all...] |
WifiNative.java | 357 public boolean setCountryCode(String countryCode) { 358 return doBooleanCommand("DRIVER COUNTRY " + countryCode);
|
/frameworks/base/services/java/com/android/server/wifi/ |
WifiService.java | 589 * @param countryCode ISO 3166 country code. 596 public void setCountryCode(String countryCode, boolean persist) { 597 Slog.i(TAG, "WifiService trying to set country code to " + countryCode + 602 mWifiStateMachine.setCountryCode(countryCode, persist); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.artifact.repository_1.1.1.R36x_v20100901.jar | |