/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/languageswitcher/ |
InputLanguageSelection.java | 183 String country = locale.getCountry(); local 185 + (TextUtils.isEmpty(country) ? "" : "_" + country); 224 String country = ""; local 227 country = s.substring(3, 5); 231 Locale l = new Locale(language, country);
|
/frameworks/base/wifi/java/android/net/wifi/ |
IWifiManager.aidl | 62 void setCountryCode(String country, boolean persist);
|
/packages/apps/Mms/src/com/android/mms/ |
MmsApp.java | 38 import android.location.Country; 79 public synchronized void onCountryDetected(Country country) { 80 mCountryIso = country.getCountryIso();
|
/frameworks/base/include/utils/ |
ResourceTypes.h | 807 // Mobile country code (from SIM). 0 means "any". 821 char country[2]; member in struct:android::ResTable_config::__anon14470::__anon14471 [all...] |
/external/chromium/chrome/browser/autofill/ |
address.h | 45 // Returns the localized country name corresponding to |country_code_|. 46 string16 Country() const; 51 // Sets the |country_code_| based on |country|, which should be a localized 52 // country name. 53 void SetCountry(const string16& country);
|
autofill_country.cc | 39 // The maximum capacity needed to store a locale up to the country code. 43 // Maps country codes to localized label string identifiers. 288 // A singleton class that encapsulates a map from country codes to country data. 350 // A singleton class that encapsulates mappings from country names to their 351 // corresponding country codes. 356 // Returns the country code corresponding to |country|, which should be a 357 // country code or country name localized to |locale| [all...] |
/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
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_invitation.c | 48 p2p_buf_add_operating_channel(buf, p2p->cfg->country, 52 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); 92 p2p_buf_add_operating_channel(buf, p2p->cfg->country, 97 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); 190 if (p2p_freq_to_channel(p2p->cfg->country, op_freq, 213 op_freq = p2p_channel_to_freq(p2p->cfg->country, 219 "(country=%c%c reg_class=%u channel=%u)", 220 p2p->cfg->country[0], p2p->cfg->country[1], 249 freq = p2p_channel_to_freq(p2p->cfg->country, [all...] |
p2p_build.c | 93 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, 99 wpabuf_put_data(buf, country, 3); 107 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, 113 wpabuf_put_data(buf, country, 3); 121 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, 130 wpabuf_put_data(buf, country, 3); /* Country String */
|
p2p_go_neg.c | 55 os_memcpy(dev->country, pos, 3); 56 wpa_hexdump_ascii(MSG_DEBUG, "P2P: Peer country", pos, 3); 57 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { 59 "P2P: Mismatching country (ours=%c%c peer's=%c%c)", 60 p2p->cfg->country[0], p2p->cfg->country[1], 170 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, 176 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); 178 p2p_buf_add_operating_channel(buf, p2p->cfg->country, 263 p2p_buf_add_operating_channel(buf, p2p->cfg->country, [all...] |
/external/icu4c/i18n/ |
zonemeta.cpp | 32 // Country info vectors 286 ZoneMeta::getSingleCountry(const UnicodeString &tzid, UnicodeString &country) { 287 // Get canonical country for the zone 291 country.remove(); 292 return country; 325 country.remove(); 326 return country; 374 // no single country by default for any error cases 397 country.remove(); 399 country.setTo(region, -1) [all...] |
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
uloc.h | 37 * according to the customs/conventions of the user's native country, 62 * The second option includes an additonal <STRONG>ISO Country 106 * itself. Use <code>uloc_getCountry</code> to get the ISO Country Code and 109 * name of the country suitable for displaying to the user. Similarly, 114 * that takes a locale as an argument and displays the name or country in 161 * through these objects by language, country, or variant, 187 * "-" is recognized as a country/variant separator similarly to RFC1766. 219 /** Useful constant for this country/region. @stable ICU 2.0 */ 221 /** Useful constant for this country/region. @stable ICU 2.0 */ 223 /** Useful constant for this country/region. @stable ICU 2.0 * [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
uloc.h | 37 * according to the customs/conventions of the user's native country, 62 * The second option includes an additonal <STRONG>ISO Country 106 * itself. Use <code>uloc_getCountry</code> to get the ISO Country Code and 109 * name of the country suitable for displaying to the user. Similarly, 114 * that takes a locale as an argument and displays the name or country in 161 * through these objects by language, country, or variant, 187 * "-" is recognized as a country/variant separator similarly to RFC1766. 219 /** Useful constant for this country/region. @stable ICU 2.0 */ 221 /** Useful constant for this country/region. @stable ICU 2.0 */ 223 /** Useful constant for this country/region. @stable ICU 2.0 * [all...] |
/packages/apps/Browser/src/com/android/browser/ |
AutofillHandler.java | 106 String country = c.getString(c.getColumnIndex( local 107 AutoFillProfileDatabase.Profiles.COUNTRY)); 112 state, zip, country, phone);
|
/packages/apps/Settings/src/com/android/settings/ |
SettingsSafetyLegalActivity.java | 53 final String country = configuration.locale.getCountry(); local 55 String loc = String.format("locale=%s-%s", language, country);
|
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/ |
WebAutofill.h | 84 const string16& state, const string16& zipCode, const string16& country, const string16& phoneNumber);
|
/external/apache-xml/src/main/java/org/apache/xpath/res/ |
XPATHErrorResources.java | 991 String country = locale.getCountry(); local [all...] |
/external/svox/pico/tts/ |
com_svox_picottsengine.cpp | [all...] |
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 42 * and DST value at the specified moment in the specified country. 45 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { 46 if (country == null) { 74 if (country.equals(code)) { 78 // If the current time zone is from the right country 89 // country that has the correct current offset and DST.
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerService.java | 73 String country = locale.getCountry(); local 76 if (country != null) { 77 scanner.setLocale(language + "_" + country);
|
/external/chromium/chrome/browser/ui/webui/options/ |
autofill_options_handler.cc | 72 // Returns a dictionary that maps country codes to data for the country. 80 const AutofillCountry country(country_codes[i], app_locale); 83 details->SetString("name", country.name()); 84 details->SetString("postalCodeLabel", country.postal_code_label()); 85 details->SetString("stateLabel", country.state_label()); 87 country_data->Set(country.country_code(), details); 334 address.SetString("country", profile->CountryCode());
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
PhoneBase.java | 594 String country = ""; local 596 country = l.substring(3, 5); 598 setSystemLocale(language, country, false); 600 if (!country.isEmpty()) { 608 wM.setCountryCode(country, false); 619 * @param country Two character country code desired 627 public void setSystemLocale(String language, String country, boolean fromMcc) { 629 String c = SystemProperties.get("persist.sys.country"); 635 if (null == country) { [all...] |
MccTable.java | 35 * Mobile Country Code 90 * @param mcc Mobile Country Code 113 * Given a GSM Mobile Country Code, returns 114 * an ISO two-character country code if available. 132 * Given a GSM Mobile Country Code, returns 149 * Given a GSM Mobile Country Code, returns 210 * @param mcc Mobile Country Code of the SIM or SIM-like entity (build prop on CDMA) 230 * @param mcc Mobile Country Code of the SIM or SIM-like entity (build prop on CDMA) 234 String country = MccTable.countryCodeForMcc(mcc); local 236 Log.d(LOG_TAG, "locale set to "+language+"_"+country); 247 String country = MccTable.countryCodeForMcc(mcc); local [all...] |
/external/icu4c/common/ |
locid.cpp | 429 *p++ = '_'; /* No country found */ 489 /* Copy the language and country fields */ 492 uprv_strcpy(country, other.country); 544 language[0] = script[0] = country[0] = 0; 592 || (fieldLen[1] == 4 && fieldLen[2] >= (int32_t)(sizeof(country))) 593 || (fieldLen[1] != 4 && fieldLen[1] >= (int32_t)(sizeof(country)))) 610 /* We have a country */ 611 uprv_memcpy(country, field[2], fieldLen[2]); 612 country[fieldLen[2]] = 0 [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
View_UsingViewsTest.java | 45 * country of Argentina 50 * country of America 55 * country of China 713 private boolean showPicture(String country) { 714 if (ARGENTINA.equals(country)) { 717 } else if (AMERICA.equals(country)) { 720 } else if (CHINA.equals(country)) { 731 String country = mEditText.getText().toString(); local 732 if (!showPicture(country)) {
|