/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
MccTable.java | 43 * Mobile Country Code 86 * @param mcc Mobile Country Code 101 * Given a GSM Mobile Country Code, returns 102 * an ISO two-character country code if available. 116 * Given a GSM Mobile Country Code, returns 123 Slog.d(LOG_TAG, "defaultLanguageForMcc(" + mcc + "): no country for mcc"); 127 final String country = entry.mIso; local 130 if ("in".equals(country)) { 134 // Ask CLDR for the language this country uses... 135 Locale likelyLocale = ICU.addLikelySubtags(new Locale("und", country)); 363 String country = MccTable.countryCodeForMcc(mcc); local 387 String country = MccTable.countryCodeForMcc(mcc); local [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Locale.java | 72 * according to the customs and conventions of the user's native country, 117 * <dt><a name="def_region"></a><b>country (region)</b></dt> 119 * <dd>ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code. 120 * You can find a full list of valid country and region codes in the 122 * country (region) field is case insensitive, but 125 * <dd>Well-formed country/region values have 246 * {@link #Locale(String language, String country)} 247 * {@link #Locale(String language, String country, String variant)} 251 * with language, country and variant, but you cannot specify 274 * about itself. Use <code>getCountry</code> to get the country (or region 873 String language, region, script, country, variant; local 2156 String country = (String)fields.get("country", ""); local [all...] |
/external/svox/pico/compat/jni/ |
com_android_tts_compat_SynthProxy.cpp | 406 jstring language, jstring country, jstring variant) 419 const char *countryNativeString = env->GetStringUTFChars(country, 0); 426 env->ReleaseStringUTFChars(country, countryNativeString); 434 jstring language, jstring country, jstring variant) 449 const char *countryNativeString = env->GetStringUTFChars(country, 0); 456 env->ReleaseStringUTFChars(country, countryNativeString); 465 jstring language, jstring country, jstring variant) 478 const char *countryNativeString = env->GetStringUTFChars(country, 0); 485 env->ReleaseStringUTFChars(country, countryNativeString); 598 char country[bufSize] local [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ |
ICULocaleServiceProvider.java | 85 String country = result.getCountry(); local 90 if (country.length() > 0 || variantNoSuffix.length() > 0) { 92 id.append(country); 143 // ICU's available locales do not contain language+country 171 String country = loc.getCountry(); local 179 locales.add(new Locale(language, country, var.toString()));
|
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 169 * @param country ISO-3 country code. May be empty or null. 178 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); 181 * Returns the language, country and variant currently being used by the TTS engine. 189 * country (ISO 3-letter code) and variant used by the engine. 190 * The country and variant may be {@code ""}. If country is empty, then variant must 209 * @param country ISO-3 country code. May be empty or null. 218 protected abstract int onLoadLanguage(String lang, String country, String variant) [all...] |
/external/icu/icu4c/source/common/unicode/ |
locid.h | 55 * according to the customs/conventions of the user's native country, 66 * const char* country, 78 * The second argument to the constructors is a valid <STRONG>ISO Country 119 * itself. Use <code>getCountry</code> to get the ISO Country Code and 122 * name of the country suitable for displaying to the user. Similarly, 127 * that takes a locale as an argument and displays the name or country in 166 * through these objects by language, country, or variant, 208 /** Useful constant for this country/region. @stable ICU 2.0 */ 210 /** Useful constant for this country/region. @stable ICU 2.0 */ 212 /** Useful constant for this country/region. @stable ICU 2.0 * 745 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 21 import android.location.Country; 37 * This class detects which country the user currently is in through the enabled 42 * the user country through the GeoCoder. The IllegalStateException will be 59 * The thread to query the country from the GeoCoder. 73 * @return the ISO 3166-1 two letters country code from the location 76 String country = null; local 82 country = addresses.get(0).getCountryCode(); 85 Slog.w(TAG, "Exception occurs when getting country from location"); 87 return country; 158 * Start detecting the country [all...] |
/frameworks/base/tools/aapt/ |
ResourceFilter.cpp | 64 // language and country. If we could not compute it, we assume it's either a 80 localeDataComputeScript(scriptBuffer, config.language, config.country); 87 scriptBuffer, entry.language, entry.country); 125 config.country[0] == '\0' &&
|
/frameworks/base/core/java/com/android/internal/app/ |
LocaleStore.java | 212 * in a different country, without restarting the Settings application or the phone.</p> 229 * Show all the languages supported for a country in the suggested list. 236 final String country = locale.getCountry(); local 237 if (country.isEmpty()) { 242 if (country.equals(li.getLocale().getCountry())) { 291 final String country = li.getLocale().getCountry(); local 292 // All this is to figure out if we should suggest a country 293 if (!country.isEmpty()) { 298 final String langScriptCtry = li.getLangScriptKey() + "-" + country;
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneFilterTypeAdapter.java | 211 // Search by country 214 for (String country : mTimeZoneData.mTimeZonesByCountry.keySet()) { 216 if (!TextUtils.isEmpty(country)) { 217 final String lowerCaseCountry = country.toLowerCase(); 224 // We should also search other words in the country name, so that 234 countries.add(country); 241 for (String country : countries) { 242 filtered.add(new FilterTypeResult(FILTER_TYPE_COUNTRY, country, 0));
|
TimeZoneInfo.java | 56 public TimeZoneInfo(TimeZone tz, String country) { 59 mCountry = country; 197 final String country = this.mCountry; local 218 sb.append(country); 257 // By country
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsHttpClient.java | 75 // The phone number without country code 294 final String country = locale.getCountry(); local 295 if (country != null) { 297 builder.append(country); 409 * Get the country ISO code from SIM or system locale 411 * @return the country ISO code 414 String country = null; local 420 country = info.getCountryIso(); 423 country = mTelephonyManager.getSimCountryIso(); 425 if (!TextUtils.isEmpty(country)) { [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ZoneMeta.java | 33 * for a given country (as defined by the Olson database), and 449 * Return the canonical country code for this tzid. If we have none, or if the time zone 450 * is not associated with a country or unknown, return null. 453 String country = getRegion(tzid); local 454 if (country != null && country.equals(kWorld)) { 455 country = null; 457 return country; 461 * Return the canonical country code for this tzid. If we have none, or if the time zone 462 * is not associated with a country or unknown, return null. When the given zone is th 468 String country = getRegion(tzid); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ZoneMeta.java | 32 * for a given country (as defined by the Olson database), and 448 * Return the canonical country code for this tzid. If we have none, or if the time zone 449 * is not associated with a country or unknown, return null. 452 String country = getRegion(tzid); local 453 if (country != null && country.equals(kWorld)) { 454 country = null; 456 return country; 460 * Return the canonical country code for this tzid. If we have none, or if the time zone 461 * is not associated with a country or unknown, return null. When the given zone is th 467 String country = getRegion(tzid); local [all...] |
/development/ndk/platforms/android-21/include/linux/ |
uhid.h | 52 __u32 country; member in struct:uhid_create_req
|
/external/icu/icu4c/source/common/ |
ulocimp.h | 59 char *country, int32_t countryCapacity,
|
/external/icu/icu4c/source/i18n/ |
zonemeta.h | 52 * Return the canonical country code for this tzid. If we have none, or if the time zone 53 * is not associated with a country, return bogus string. 55 * @param country [output] Country code 56 * @param isPrimary [output] TRUE if the zone is the primary zone for the country 57 * @return A reference to the result country 59 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary = NULL);
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
LocaleNameTest.java | 51 String country = forLocale.getCountry(); local 53 if (country.length() != 0) { 55 icuid.append(country); 58 if (country.length() == 0) { 169 // ULocale#forLocale preserves country always 180 errln("FAIL: Country name by ICU is " + icuname + ", but got " + name 186 logln("INFO: Country name by JDK is " + name + ", but " + icuname + 192 errln("FAIL: Country name by ICU is " + icuname + ", but got " + name
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wnm_sta.h | 33 char country[2]; /* valid if country_present=1 */ member in struct:neighbor_report
|
/frameworks/base/tools/aapt2/filter/ |
ConfigFilter.cpp | 61 if (config.country[0] == 0) {
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
uhid.h | 52 __u32 country; member in struct:uhid_create_req
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
uhid.h | 52 __u32 country; member in struct:uhid_create_req
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
uhid.h | 52 __u32 country; member in struct:uhid_create_req
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
uhid.h | 52 __u32 country; member in struct:uhid_create_req
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
uhid.h | 52 __u32 country; member in struct:uhid_create_req
|