HomeSort by relevance Sort by last modified time
    Searched defs:country (Results 1 - 25 of 339) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libmojo/base/android/java/src/org/chromium/base/
LocaleUtils.java 28 String country = locale.getCountry(); local
41 return country.isEmpty() ? language : language + "-" + country;
54 * Get the default country code set during install.
55 * @return country code.
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
LocaleUtility.java 29 String country = ""; local
40 country = name.substring(i1);
42 country = name.substring(i1, i2);
47 return new Locale(language, country, variant);
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
LocaleUtility.java 27 String country = ""; local
38 country = name.substring(i1);
40 country = name.substring(i1, i2);
45 return new Locale(language, country, variant);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
LocaleUtility.java 27 String country = ""; local
38 country = name.substring(i1);
40 country = name.substring(i1, i2);
45 return new Locale(language, country, variant);
  /external/svox/pico/src/com/svox/pico/
GetSampleText.java 41 String country = i.getExtras().getString("country"); local
45 if (country.equals("GBR")){
  /frameworks/support/compat/java/android/support/v4/os/
LocaleHelper.java 64 final String country = locale.getCountry(); local
65 if (country != null && !country.equals("")) {
  /packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
Utils.java 21 import android.location.Country;
35 * @return The current country code.
41 final Country country = detector.detectCountry(); local
42 if (country != null) {
43 return country.getCountryIso();
51 * Converts a phone number to an E164 number, assuming the current country. If {@code
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java 20 import android.location.Country;
28 * This class monitors the change of country.
30 * {@link #getCountryIso()} is used to get the ISO 3166-1 two letters country
31 * code of current country.
42 * Get the current country code
44 * @return the ISO 3166-1 two letters country code of current country.
50 Country country = null; local
51 if (countryDetector != null) country = countryDetector.detectCountry()
    [all...]
  /packages/services/Mms/src/com/android/mms/service/
PhoneUtils.java 44 final String country = getSimOrDefaultLocaleCountry(telephonyManager, subId); local
46 final Phonenumber.PhoneNumber parsed = getParsedNumber(phoneNumberUtil, phoneText, country);
57 String phoneText, String country) {
59 final Phonenumber.PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country);
64 + " for country " + country);
73 // Get the country/region either from the SIM ID or from locale
76 String country = getSimCountry(telephonyManager, subId); local
77 if (TextUtils.isEmpty(country)) {
78 country = Locale.getDefault().getCountry()
86 final String country = telephonyManager.getSimCountryIso(subId); local
    [all...]
  /external/icu/icu4c/source/common/unicode/
locid.h 57 * according to the customs/conventions of the user's native country,
68 * const char* country,
80 * The second argument to the constructors is a valid <STRONG>ISO Country
121 * itself. Use <code>getCountry</code> to get the ISO Country Code and
124 * name of the country suitable for displaying to the user. Similarly,
129 * that takes a locale as an argument and displays the name or country in
168 * through these objects by language, country, or variant,
210 /** Useful constant for this country/region. @stable ICU 2.0 */
212 /** Useful constant for this country/region. @stable ICU 2.0 */
214 /** Useful constant for this country/region. @stable ICU 2.0 *
747 char country[ULOC_COUNTRY_CAPACITY]; member in class:Locale
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue56/
CodeBean.java 19 private String country; field in class:CodeBean
29 return country;
32 public void setCountry(String country) {
33 this.country = country;
  /cts/tests/tests/util/src/android/util/cts/
TimeUtilsTest.java 102 String country = world[i]; local
110 guess = guessTimeZone(c, country);
115 private static TimeZone guessTimeZone(Calendar c, String country) {
119 country);
  /external/apache-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;
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiCountryCode.java 23 * Provide functions for making changes to WiFi country code.
24 * This Country Code is from MCC or phone default setting. This class sends Country Code
34 /** config option that indicate whether or not to reset country code to default when
35 * cellular radio indicates country code loss
55 + "but there is no default country code.");
62 Log.d(TAG, "Country code will be reverted to " + mDefaultCountryCode
80 * In this case we should invalid all other country codes except the
85 // SIM card is removed, we need to reset the country code to phone default.
96 * In this case we should invalidate all other country code except th
175 String country = pickCountryCode(); local
    [all...]
  /hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
driver_cmd_wext.c 193 char *country = "US"; /* WEXT_NUMBER_SCAN_CHANNELS_FCC */ local
196 country = "EU";
198 country = "JP";
199 return country;
301 os_snprintf(cmd, MAX_DRV_CMD_SIZE, "COUNTRY %s",
  /libcore/ojluni/src/main/java/java/util/
Currency.java 107 * Returns the <code>Currency</code> instance for the country of the
118 * @param locale the locale for whose country a <code>Currency</code>
120 * @return the <code>Currency</code> instance for the country of the given
122 * @exception NullPointerException if <code>locale</code> or its country
124 * @exception IllegalArgumentException if the country of the given {@code locale}
125 * is not a supported ISO 3166 country code.
132 String country = locale.getCountry(); local
135 country = country + "_" + variant;
137 String currencyCode = ICU.getCurrencyCode(country);
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
PhoneNumberTestService.java 39 [-e c OPTIONAL COUNTRY CODE] \
60 final String country = intent.getStringExtra(EXTRA_COUNTRY_CODE); local
64 Log.i(TAG, "Input country code: " + country);
65 Log.i(TAG, "Current country code: " + defaultCountry);
67 // Dump for the given country, the current country, US, GB and JP.
69 if (country != null) countries.add(country);
80 private void dump(String number, String country) {
    [all...]
  /toolchain/binutils/binutils-2.25/binutils/
winduni.h 112 const char *country; member in struct:wind_language_t
  /external/apache-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/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
LocaleNameTest.java 52 String country = forLocale.getCountry(); local
54 if (country.length() != 0) {
56 icuid.append(country);
59 if (country.length() == 0) {
172 // ULocale#forLocale preserves country always
183 errln("FAIL: Country name by ICU is " + icuname + ", but got " + name
189 logln("INFO: Country name by JDK is " + name + ", but " + icuname +
195 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/services/tests/servicestests/src/com/android/server/
CountryDetectorServiceTest.java 20 import android.location.Country;
28 private Country mCountry;
31 public void onCountryDetected(Country country) throws RemoteException {
32 mCountry = country;
35 public Country getCountry() {
53 public void notifyReceivers(Country country) {
54 super.notifyReceivers(country);
82 Country country = new Country("US", Country.COUNTRY_SOURCE_NETWORK) local
    [all...]
  /libcore/ojluni/src/main/native/
java_props_md.c 139 char *language = NULL, *country = NULL, *variant = NULL, local
183 * <language name>_<country name>.<encoding name>@<variant name>
184 * <country name>, <encoding name>, and <variant name> are optional.
191 /* Parse the language, country, encoding, and variant from the
200 * no country name, and this facility is used to map each language
201 * to a default country if that's possible. It's also used to map
227 if ((country = strchr(temp, '_')) != NULL) {
228 *country++ = '\0';
249 /* Normalize the country name */
250 if (std_country != NULL && country != NULL)
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/location/
UpdateCountryService.java 34 * Location}, convert it into a country code, and save it in shared preferences.
63 final String country = getCountryFromLocation(getApplicationContext(), location); local
65 if (country == null) {
74 editor.putString(CountryDetector.KEY_PREFERENCE_CURRENT_COUNTRY, country);
80 * Given a {@link Location}, return a country code.
82 * @return the ISO 3166-1 two letter country code
86 String country = null; local
94 country = addresses.get(0).getCountryCode();
100 Log.w(TAG, "Exception occurred when getting geocoded country from location");
102 return country;
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSearch.java 78 String country = locale.getCountry(); local
80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) {
82 hl.append(country);
85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl);
90 private static boolean useLangCountryHl(String language, String country) {
91 // lang-country is currently only supported for a small number of locales
93 return "GB".equals(country);
95 return "CN".equals(country) || "TW".equals(country)
    [all...]

Completed in 1029 milliseconds

1 2 3 4 5 6 7 8 91011>>