Searched refs:country (Results 26 - 43 of 43) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java106 String country = s.substring(3, 5);
107 final Locale l = new Locale(language, country);
117 // same lang and a country -> upgrade to full name and
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java337 final String country = Settings.Secure.getString(cr, Settings.Secure.TTS_DEFAULT_COUNTRY);
345 if (!TextUtils.isEmpty(country)) {
346 v1Locale += LOCALE_DELIMITER + country;
375 // an empty country.
H A DTextToSpeech.java91 * Denotes the language is available for the language and country specified
98 * but not the country and variant.
314 * and YYY is the 3-letter ISO country code.</li>
401 public static final String KEY_PARAM_COUNTRY = "country";
1028 String country = loc.getISO3Country();
1030 // Check if the language, country, variant are available, and cache
1034 int result = service.loadLanguage(language, country, variant);
1039 country = "";
1043 mParams.putString(Engine.KEY_PARAM_COUNTRY, country);
1055 * @return language, country (i
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DRuimRecords.java582 // check country code from SIM
584 String country = null;
586 country = MccTable.countryCodeForMcc(
589 log("Setting locale to " + prefLang + "_" + country);
590 MccTable.setSystemLocale(mContext, prefLang, country);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneBase.java628 String country = "";
630 country = l.substring(3, 5);
632 MccTable.setSystemLocale(mContext, language, country);
634 if (!country.isEmpty()) {
642 wM.setCountryCode(country, false);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1467 if (country[0] != o.country[0]) {
1468 return country[0] < o.country[0] ? -1 : 1;
1470 if (country[1] != o.country[1]) {
1471 return country[1] < o.country[1] ? -1 : 1;
1559 if (country[0] != o.country[
[all...]
H A DAssetManager.cpp455 if (config.country[0] != 0) {
457 spec[3] = config.country[0];
458 spec[4] = config.country[1];
724 mConfig->country[0] = 0;
725 mConfig->country[1] = 0;
731 mConfig->country[0] = mLocale[3];
732 mConfig->country[1] = mLocale[4];
/frameworks/base/tools/aapt/
H A DResourceTable.cpp599 config.country[0], config.country[1],
710 config.country[0], config.country[1],
822 pseudoParams.country[0] = 'Z';
823 pseudoParams.country[1] = 'Z';
2824 config.country[0] ? config.country[0] : '-',
2825 config.country[1] ? config.country[
[all...]
H A DAaptAssets.cpp317 return (((uint32_t)config.country[1]) << 24) | (((uint32_t)config.country[0]) << 16)
957 out->country[0] = 0;
958 out->country[1] = 0;
967 out->country[0] = 0;
968 out->country[1] = 0;
982 out->country[0] = fileName[3];
983 out->country[1] = fileName[4];
H A DResource.cpp131 mParams.country[0] ? mParams.country[0] : '-',
132 mParams.country[1] ? mParams.country[1] : '-',
H A DCommand.cpp464 config.country[0] = 'U';
465 config.country[1] = 'S';
/frameworks/native/include/android/
H A Dconfiguration.h173 * Return the current country code set in the configuration. The output will
175 * a country is not set, they will be 0.
180 * Set the current country code in the configuration, from the first two
183 void AConfiguration_setCountry(AConfiguration* config, const char* country);
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java520 * - a '0' on one and a (+,00)<country code> on the other
1099 /** The current locale is unknown, look for a country code or don't format */
1106 /** List of country codes for countries that use the NANP */
1136 * for the country the number is from.
1173 String country = locale.getCountry();
1175 return getFormatTypeFromCountryCode(country);
1368 * The given phone number must have an area code and could have a country
1372 * the E.164 phone number if the given number doesn't have a country code.
1377 * the ISO 3166-1 two letters country code
1399 * If the given number doesn't have the country cod
2071 getFormatTypeFromCountryCode(String country) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java804 * Set the country code.
805 * @param countryCode country code in ISO 3166 format.
810 public void setCountryCode(String country, boolean persist) { argument
812 mService.setCountryCode(country, persist);
H A DWifiStateMachine.java332 /* Set the country code */
1068 * Set the country code
1329 * Set the country code from the system setting value, if any.
2736 /* set country code */
2801 String country = (String) message.obj;
2802 if (DBG) log("set country code " + country);
2803 if (!mWifiNative.setCountryCode(country.toUpperCase())) {
2804 loge("Failed to set country code " + country);
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java161 String country = locale.getCountry();
163 if (country != null) {
164 mMediaScanner.setLocale(language + "_" + country);
/frameworks/base/include/androidfw/
H A DResourceTypes.h817 // Mobile country code (from SIM). 0 means "any".
831 char country[2]; member in struct:android::ResTable_config::__anon1033::__anon1034
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java505 String region, String postalCode, String country, int type, String label,
514 mCountry = country;
680 + "country: %s", mType, mLabel, mIsPrimary, mPobox, mExtendedAddress, mStreet,
504 PostalData(String pobox, String extendedAddress, String street, String localty, String region, String postalCode, String country, int type, String label, boolean isPrimary, int vcardType) argument

Completed in 430 milliseconds

12