/external/icu4c/i18n/ |
zonemeta.h | 21 const UChar *country; // const because it's a reference to a resource bundle string. member in struct:CanonicalMapEntry 46 * Return the canonical country code for this tzid. If we have none, or if the time zone 47 * is not associated with a country, return null. 52 * Return the country code if this is a 'single' time zone that can fallback to just 53 * the country, otherwise return empty string. (Note, one must also check the locale data 54 * to see that there is a localization for the country in order to implement 57 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
|
/external/svox/pico/src/com/svox/pico/ |
GetSampleText.java | 41 String country = i.getExtras().getString("country"); local 45 if (country.equals("GBR")){
|
/external/icu4c/common/unicode/ |
locid.h | 50 * according to the customs/conventions of the user's native country, 61 * const char* country, 73 * The second argument to the constructors is a valid <STRONG>ISO Country 114 * itself. Use <code>getCountry</code> to get the ISO Country Code and 117 * name of the country suitable for displaying to the user. Similarly, 122 * that takes a locale as an argument and displays the name or country in 161 * through these objects by language, country, or variant, 202 /** Useful constant for this country/region. @stable ICU 2.0 */ 204 /** Useful constant for this country/region. @stable ICU 2.0 */ 206 /** Useful constant for this country/region. @stable ICU 2.0 * 702 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
TimeUtilsTest.java | 389 String country = world[i]; local 397 guess = guess(c, country); 401 guess = guess(c, country); 413 String country = world[i]; local 421 guess = guess(c, country); 426 private static TimeZone guess(Calendar c, String country) { 430 country);
|
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 427 String country = world[i]; local 435 guess = guessTimeZone(c, country); 441 guess = guessTimeZone(c, country); 463 String country = world[i]; local 471 guess = guessTimeZone(c, country); 490 private static TimeZone guessTimeZone(Calendar c, String country) { 494 country);
|
/dalvik/libcore/luni/src/main/java/java/util/ |
Currency.java | 92 * Returns the {@code Currency} instance for this {@code Locale}'s country. 95 * the {@code Locale} of a country. 96 * @return the {@code Currency} used in the country defined by the locale parameter. 99 * if the locale's country is not a supported ISO 3166 Country. 107 String country = locale.getCountry(); local 111 country = country + "_" + variant; 114 String currencyCode = Resources.getCurrencyCodeNative(country);
|
ResourceBundle.java | 47 * the same language. Only the differences between a country and the country of 48 * the language bundle need to be handled by a country-specific {@code ResourceBundle}. 52 * currency of come countries changed. The country bundle would return the 72 * done by just skipping the country or language abbreviation: 74 * circumvent both language and country: BaseName___VARIANT is illegal. 447 String language = "", country = "", variant = ""; //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ local 460 country = name.substring(index + 1, nextIndex); 466 locale = new Locale(language, country, variant);
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/utils/ |
Messages.java | 359 String country = locale.getCountry(); local 361 if (country.equals("TW")) 362 suffix += "_" + country;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSearch.java | 75 String country = l.getCountry().toLowerCase(); local 78 if ("cn".equals(country)) { 80 } else if ("tw".equals(country)) { 84 if ("br".equals(country)) { 86 } else if ("pt".equals(country)) { 91 R.string.google_search_base, language, country);
|
GoogleSuggestionProvider.java | 125 // parameter (%1$s) and the country code is the second (%2$s). This code *must* 133 String country = l.getCountry().toLowerCase(); local 136 if ("cn".equals(country)) { 138 } else if ("tw".equals(country)) { 142 if ("br".equals(country)) { 144 } else if ("pt".equals(country)) { 150 country)
|
/packages/apps/Settings/src/com/android/settings/ |
SettingsSafetyLegalActivity.java | 51 final String country = configuration.locale.getCountry(); local 53 String loc = String.format("locale=%s-%s", language, country);
|
LocalePicker.java | 90 String country = s.substring(3, 5); local 91 Locale l = new Locale(language, country); 101 // same lang and a country -> upgrade to full name and
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/res/ |
XResourceBundle.java | 103 String country = locale.getCountry(); local 108 suffix += "_" + country; 110 if (country.equals("JP")) 111 suffix += "_" + country + "_" + variant;
|
/external/bluetooth/bluez/include/bluetooth/ |
hidp.h | 51 uint8_t country; member in struct:hidp_connadd_req
|
/external/wpa_supplicant_6/wpa_supplicant/ |
config.h | 309 * country - Country code 311 * This is the ISO/IEC alpha2 country code for which we are operating 314 char country[2]; member in struct:wpa_config
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
LanguageSwitcher.java | 93 String country = mDefaultInputLocale.getCountry(); local 95 (TextUtils.isEmpty(country) ? "" : "_" + country);
|
InputLanguageSelection.java | 115 String country = locale.getCountry(); local 117 + (TextUtils.isEmpty(country) ? "" : "_" + country); 159 String country = s.substring(3, 5); local 160 Locale l = new Locale(language, country); 170 // same lang and a country -> upgrade to full name and
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PostalSplitter.java | 39 public String country; field in class:PostalSplitter.Postal 48 country = values.getAsString(StructuredPostal.COUNTRY); 58 values.put(StructuredPostal.COUNTRY, country); 87 postal.region, postal.postcode, postal.country 106 final boolean hasCountry = !TextUtils.isEmpty(postal.country); 108 // First block: [country][ ][postcode] 120 builder.append(postal.country); 172 final boolean hasCountry = !TextUtils.isEmpty(postal.country); [all...] |
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/util/ |
Resources.java | 45 * Cache for ISO country names. 78 String country = locale.getCountry(); local 83 result.overrideWithDataFrom(getLocaleData(new Locale(language, country, ""))); 84 } else if (country.length() > 0) { 109 * Returns an array of ISO country names (two-letter codes), fetched either
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 138 String country = loc.getCountry(); local 139 if (!TextUtils.isEmpty(country)) { 140 localeString += "_" + country; 147 * "ll" is the language code and "cc" is the country code. 162 String country = data.length > 4 ? new String(data, 3, 2) : ""; local 166 loc = new Locale(language, country);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
MccTable.java | 40 * 2) The ISO 3166 country codes list, available here: 336 ' iso country code 16 bits', 368 * Mobile Country Code 441 * iso country code 16 bits 493 * Given a Mobile Country Code, returns a default time zone ID 511 * Given a Mobile Country Code, returns an ISO two-character 512 * country code if available. Returns "" if unavailable. 525 * Given a GSM Mobile Country Code, returns an ISO 2-3 character 543 * Given a GSM Mobile Country Code, returns the corresponding 557 * Given a GSM Mobile Country Code, returns the number of wif 637 String country = MccTable.countryCodeForMcc(mcc); local [all...] |
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/inc/ |
mlmeApi.h | 114 dot11_COUNTRY_t country; member in struct:__anon13578
|
/external/bluetooth/bluez/compat/ |
sdp.c | 114 req->subclass, req->country, req->parser, desc, 132 unsigned int vendor, product, version, subclass, country, parser, pos; local 152 &vendor, &product, &version, &subclass, &country, 161 req->country = country; 276 req->country = pdlist ? pdlist->val.uint8 : 0;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
HttpUtils.java | 300 String country = locale.getCountry(); local 302 if (country != null) { 304 builder.append(country);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerService.java | 80 String country = locale.getCountry(); local 83 if (country != null) { 84 scanner.setLocale(language + "_" + country);
|