HomeSort by relevance Sort by last modified time
    Searched refs:countryCode (Results 1 - 25 of 27) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/
Locale.java 234 private transient String countryCode;
248 this.countryCode = upperCaseCountryCode;
276 countryCode = "";
292 countryCode = country.toUpperCase(Locale.US);
317 && countryCode.equals(o.countryCode)
346 return countryCode;
373 if (countryCode.isEmpty()) {
435 if (!countryCode.isEmpty()) {
440 buffer.append(displayCountry.isEmpty() ? countryCode : displayCountry)
    [all...]
  /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);
  /packages/apps/Contacts/src/com/android/contacts/util/
PhoneNumberFormatter.java 37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) {
38 mCountryCode = countryCode;
  /frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java 88 * The formatting is based on the given <code>countryCode</code>.
90 * @param countryCode the ISO 3166-1 two-letter country code that indicates the country/region
95 public PhoneNumberFormattingTextWatcher(String countryCode) {
96 if (countryCode == null) throw new IllegalArgumentException();
97 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode);
PhoneNumberUtils.java     [all...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java 426 String countryCode = mTelephonyManager.getNetworkCountryIso();
428 assertTrue("Country code '" + countryCode + "' did not match "
430 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
438 String countryCode = mTelephonyManager.getSimCountryIso();
440 assertTrue("Country code '" + countryCode + "' did not match "
442 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
  /libcore/luni/src/main/java/libcore/icu/
ICU.java 155 public static native String getCurrencyCode(String countryCode);
160 public static native String getDisplayCountryNative(String countryCode, String locale);
TimeZones.java 141 private static native String[] forCountryCode(String countryCode);
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
ReverseGeocoder.java 192 String countryCode = addr1CountryCode;
194 if (!countryCode.equals(currentCountry)) {
195 closestCommonLocation += ", " + adminArea + " " + countryCode;
244 String countryCode = addr1CountryCode;
245 if (!countryCode.equals(currentCountry)) {
246 if (countryCode != null && countryCode.length() > 0) {
247 closestCommonLocation += " " + countryCode;
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberUtil.java     [all...]
AsYouTypeFormatter.java 472 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode);
473 if (countryCode == 0) {
478 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode);
482 String countryCodeString = Integer.toString(countryCode);
  /frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
ICU_Delegate.java 112 /*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_TimeZones.cpp 34 static jobjectArray TimeZones_forCountryCode(JNIEnv* env, jclass, jstring countryCode) {
35 ScopedUtfChars countryChars(env, countryCode);
libcore_icu_ICU.cpp 130 ScopedUtfChars countryCode(env, javaCountryCode);
131 ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status));
648 jstring countryCode = env->NewStringUTF(Locale::createFromName(localeName.c_str()).getCountry());
649 jstring internationalCurrencySymbol = ICU_getCurrencyCode(env, NULL, countryCode);
650 env->DeleteLocalRef(countryCode);
651 countryCode = NULL;
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
AddressTest.java 111 String countryCode = "US";
112 address.setCountryCode(countryCode);
113 assertEquals(countryCode, address.getCountryCode());
427 "locality=null,thoroughfare=null,postalCode=95120,countryCode=null," +
  /frameworks/base/wifi/java/android/net/wifi/
WifiNative.java 188 public native static boolean setCountryCodeCommand(String countryCode);
WifiStateMachine.java     [all...]
  /external/icu4c/i18n/
zstrfmt.cpp 785 UnicodeString countryCode;
786 ZoneMeta::getCanonicalCountry(utzid, countryCode);
787 if (!countryCode.isEmpty()) {
800 getLocalizedCountry(countryCode, fLocale, country);
960 ZoneMeta::getZoneIdByMetazone(mzid, countryCode, preferredID);
    [all...]
zstrfmt.h 363 static UnicodeString& getLocalizedCountry(const UnicodeString &countryCode, const Locale &locale,
  /frameworks/base/services/java/com/android/server/
WifiService.java 781 * @param countryCode ISO 3166 country code.
788 public void setCountryCode(String countryCode, boolean persist) {
789 Slog.i(TAG, "WifiService trying to set country code to " + countryCode +
792 mWifiStateMachine.setCountryCode(countryCode, persist);
    [all...]
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 1316 milliseconds

1 2