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

1 2 3 4 5 6 7 8 91011>>

  /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);
  /frameworks/support/compat/src/main/java/androidx/core/os/
LocaleHelper.java 64 final String country = locale.getCountry(); local
65 if (country != null && !country.isEmpty()) {
  /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 58 * according to the customs/conventions of the user's native country,
69 * const char* country,
81 * The second argument to the constructors is a valid <STRONG>ISO Country
122 * itself. Use <code>getCountry</code> to get the ISO Country Code and
125 * name of the country suitable for displaying to the user. Similarly,
130 * that takes a locale as an argument and displays the name or country in
169 * through these objects by language, country, or variant,
211 /** Useful constant for this country/region. @stable ICU 2.0 */
213 /** Useful constant for this country/region. @stable ICU 2.0 */
215 /** Useful constant for this country/region. @stable ICU 2.0 *
748 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;
  /external/libmojo/base/android/java/src/org/chromium/base/
LocaleUtils.java 104 * and XX is a country code. This works for API level lower than 21.
119 String country = tag[1]; local
120 if (country.length() != 2 && country.length() != 3) {
123 return new Locale(language, country);
128 * and XX is a country code.
148 * @return a well-formed IETF BCP 47 language tag with language and country code that
153 String country = locale.getCountry(); local
154 if (language.equals("no") && country.equals("NO") && locale.getVariant().equals("NY")) {
157 return country.isEmpty() ? language : language + "-" + country
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiCountryCode.java 26 * Provide functions for making changes to WiFi country code.
27 * This Country Code is from MCC or phone default setting. This class sends Country Code
37 /** config option that indicate whether or not to reset country code to default when
38 * cellular radio indicates country code loss
58 + "but there is no default country code.");
65 Log.d(TAG, "Country code will be reverted to " + mDefaultCountryCode
83 * In this case we should invalidate all other country code except the
88 // Airplane mode is enabled, we need to reset the country code to phone default.
89 // Country code will be set upon when wpa_supplicant starts next time
176 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...]
  /system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
UniqueZonesVisualizer.java 20 import com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.Country;
42 + " <countryzones.txt file> [country code|_] <output dir> [nocompress]");
58 .map(Country::getIsoCode)
72 private final Map<String, Country> countryMap;
76 .collect(Collectors.toMap(Country::getIsoCode, Function.identity()));
81 Country country = countryMap.get(countryIso); local
83 CountryZoneTree.create(country, startInclusive, endExclusive, compress);
  /system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
CountryZoneTreeTest.java 26 import static com.android.libcore.timezone.tzlookup.proto.CountryZonesFile.Country;
50 Country country = parseCountry(countryText); local
52 CountryZoneTree.create(country, RULES_START_INSTANT, RULES_END_INSTANT);
60 // This is a country that has two zones which were distinct initially but then became the
73 Country country = parseCountry(countryText); local
74 CountryZoneTree zoneTree = CountryZoneTree.create(country, RULES_START_INSTANT,
86 // This is a country that has two zones which were distinct initially but then became the
100 Country country = parseCountry(countryText) local
147 Country country = parseCountry(countryText); local
    [all...]
  /toolchain/binutils/binutils-2.27/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 55 String country = forLocale.getCountry(); local
57 if (country.length() != 0) {
59 icuid.append(country);
62 if (country.length() == 0) {
175 // ULocale#forLocale preserves country always
186 errln("FAIL: Country name by ICU is " + icuname + ", but got " + name
192 logln("INFO: Country name by JDK is " + name + ", but " + icuname +
198 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/core/java/com/android/internal/app/
LocaleHelper.java 132 * Returns a locale's country localized for display in the provided locale.
134 * @param locale the locale whose country will be displayed.
136 * @return the localized country name.
141 final String country = ULocale.getDisplayCountry(languageTag, uDisplayLocale); local
144 return String.format("%s (%s)", country,
147 return country;
152 * Returns a locale's country localized for display in the default locale.
154 * @param locale the locale whose country will be displayed.
155 * @return the localized country name.
215 * or "français (Canada)" if it is a suggestion, or "Canada" in the country selection.</p
    [all...]
  /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...]

Completed in 616 milliseconds

1 2 3 4 5 6 7 8 91011>>