/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, 204 /** Useful constant for this country/region. @stable ICU 2.0 */ 206 /** Useful constant for this country/region. @stable ICU 2.0 */ 208 /** Useful constant for this country/region. @stable ICU 2.0 * 719 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale [all...] |
/frameworks/base/services/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 21 import android.location.Country; 36 * This class detects which country the user currently is in through the enabled 41 * the user country through the GeoCoder. The IllegalStateException will be 58 * The thread to query the country from the GeoCoder. 72 * @return the ISO 3166-1 two letters country code from the location 75 String country = null; local 81 country = addresses.get(0).getCountryCode(); 84 Slog.w(TAG, "Exception occurs when getting country from location"); 86 return country; 140 * Start detecting the country [all...] |
/external/wpa_supplicant_8/src/p2p/ |
p2p_go_neg.c | 49 os_memcpy(dev->country, pos, 3); 50 wpa_hexdump_ascii(MSG_DEBUG, "P2P: Peer country", pos, 3); 51 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { 53 "P2P: Mismatching country (ours=%c%c peer's=%c%c)", 54 p2p->cfg->country[0], p2p->cfg->country[1], 163 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, 169 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); 171 p2p_buf_add_operating_channel(buf, p2p->cfg->country, 263 p2p_buf_add_operating_channel(buf, p2p->cfg->country, [all...] |
p2p_invitation.c | 42 p2p_buf_add_operating_channel(buf, p2p->cfg->country, 46 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); 82 p2p_buf_add_operating_channel(buf, p2p->cfg->country, 87 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); 180 if (p2p_freq_to_channel(p2p->cfg->country, op_freq, 203 op_freq = p2p_channel_to_freq(p2p->cfg->country, 209 "(country=%c%c reg_class=%u channel=%u)", 210 p2p->cfg->country[0], p2p->cfg->country[1], 239 freq = p2p_channel_to_freq(p2p->cfg->country, [all...] |
p2p_build.c | 87 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, 93 wpabuf_put_data(buf, country, 3); 101 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, 107 wpabuf_put_data(buf, country, 3); 115 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, 124 wpabuf_put_data(buf, country, 3); /* Country String */
|
p2p_i.h | 57 char country[3]; member in struct:p2p_device 309 * numbering of the clases depends on the configured country code. 528 int p2p_channel_to_freq(const char *country, int reg_class, int channel); 529 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class, 573 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, 575 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, 577 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country,
|
/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/icu4c/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 null. 58 * Return the country code if this is a 'single' time zone that can fallback to just 59 * the country, otherwise return empty string. (Note, one must also check the locale data 60 * to see that there is a localization for the country in order to implement 63 static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country);
|
/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
|
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 133 * @param country ISO-3 country code. May be empty or null. 142 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); 145 * Returns the language, country and variant currently being used by the TTS engine. 150 * country (ISO 3-letter code) and variant used by the engine. 151 * The country and variant may be {@code ""}. If country is empty, then variant must 168 * @param country ISO-3 country code. May be empty or null. 177 protected abstract int onLoadLanguage(String lang, String country, String variant) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
View_UsingViewsTest.java | 40 * country of Argentina 45 * country of America 50 * country of China 455 private boolean showPicture(String country) { 456 if (ARGENTINA.equals(country)) { 459 } else if (AMERICA.equals(country)) { 462 } else if (CHINA.equals(country)) { 473 String country = mEditText.getText().toString(); local 474 if (!showPicture(country)) {
|
/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...] |
/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 | 24 import android.location.Country; 74 // Figure out the country *before* loading contacts and formatting numbers 78 public synchronized void onCountryDetected(Country country) { 79 mCountryIso = country.getCountryIso();
|
/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...] |
/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());
|
/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...] |
/frameworks/base/location/java/android/location/ |
Address.java | 256 * Returns the country code of the address, for example "US", 264 * Sets the country code of the address to the given String, which may 272 * Returns the localized country name of the address, for example "Iceland", 280 * Sets the country name of the address to the given String, which may 479 String country = in.readString(); 480 Locale locale = country.length() > 0 ? 481 new Locale(language, country) :
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
HttpUtils.java | 369 String country = locale.getCountry(); local 370 if (country != null) { 372 builder.append(country);
|