Searched defs:country (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
H A DTimeUtilsTest.java389 String country = world[i];
397 guess = guess(c, country);
401 guess = guess(c, country);
413 String country = world[i];
421 guess = guess(c, country);
426 private static TimeZone guess(Calendar c, String country) { argument
430 country);
/frameworks/base/core/java/android/util/
H A DTimeUtils.java41 * and DST value at the specified moment in the specified country.
44 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { argument
45 if (country == null) {
73 if (country.equals(code)) {
77 // If the current time zone is from the right country
88 // country that has the correct current offset and DST.
/frameworks/base/packages/TtsService/src/android/tts/
H A DSynthProxy.java103 public int isLanguageAvailable(String language, String country, String variant) { argument
104 return native_isLanguageAvailable(mJniData, language, country, variant);
117 public int setLanguage(String language, String country, String variant) { argument
118 return native_setLanguage(mJniData, language, country, variant);
124 public int loadLanguage(String language, String country, String variant) { argument
125 return native_loadLanguage(mJniData, language, country, variant);
143 * Returns the currently set language, country and variant information.
200 String country, String variant);
202 private native final int native_setLanguage(int jniData, String language, String country, argument
205 private native final int native_loadLanguage(int jniData, String language, String country, argument
199 native_isLanguageAvailable(int jniData, String language, String country, String variant) argument
[all...]
H A DTtsService.java345 // no setting found, use the current Locale to determine the default country
393 private int isLanguageAvailable(String lang, String country, String variant) { argument
396 res = sNativeSynth.isLanguageAvailable(lang, country, variant);
414 private int setLanguage(String callingApp, String lang, String country, String variant) { argument
415 Log.v(SERVICE_TAG, "TtsService.setLanguage(" + lang + ", " + country + ", " + variant + ")");
422 res = sNativeSynth.setLanguage(lang, country, variant);
789 String country = "";
803 country = speechItem.mParams.get(i+1);
831 setLanguage("", language, country, variant);
896 String country
[all...]
/frameworks/base/native/android/
H A Dconfiguration.cpp58 outCountry[0] = config->country[0];
59 outCountry[1] = config->country[1];
129 void AConfiguration_setCountry(AConfiguration* config, const char* country) { argument
130 config->country[0] = country[0];
131 config->country[1] = country[1];
/frameworks/base/core/java/android/pim/vcard/
H A DVCardEntry.java153 public final String country; field in class:VCardEntry.PostalData
191 this.country = dataArray[6];
/frameworks/base/packages/TtsService/jni/
H A Dandroid_tts_SynthProxy.cpp463 jstring language, jstring country, jstring variant)
474 const char *countryNativeString = env->GetStringUTFChars(country, 0);
482 env->ReleaseStringUTFChars(country, countryNativeString);
513 jstring language, jstring country, jstring variant)
526 const char *countryNativeString = env->GetStringUTFChars(country, 0);
534 env->ReleaseStringUTFChars(country, countryNativeString);
542 jstring language, jstring country, jstring variant)
553 const char *countryNativeString = env->GetStringUTFChars(country, 0);
561 env->ReleaseStringUTFChars(country, countryNativeString);
835 char country[bufSiz local
462 android_tts_SynthProxy_isLanguageAvailable(JNIEnv *env, jobject thiz, jint jniData, jstring language, jstring country, jstring variant) argument
512 android_tts_SynthProxy_setLanguage(JNIEnv *env, jobject thiz, jint jniData, jstring language, jstring country, jstring variant) argument
541 android_tts_SynthProxy_loadLanguage(JNIEnv *env, jobject thiz, jint jniData, jstring language, jstring country, jstring variant) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java446 * - a '0' on one and a (+,00)<country code> on the other
1025 /** The current locale is unknown, look for a country code or don't format */
1032 /** List of country codes for countries that use the NANP */
1062 * for the country the number is from.
1099 String country = locale.getCountry();
1101 return getFormatTypeFromCountryCode(country);
1497 * @param currFormat the numbering system of the current country that the phone is camped on
1498 * @param defaultFormat the numbering system of the country that the phone is activated on
1512 // Format the string based on the rules for the country the number is from,
1513 // and the current country th
1595 getFormatTypeFromCountryCode(String country) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneBase.java568 String country = "";
570 country = l.substring(3, 5);
572 setSystemLocale(language, country);
593 * @param country Two character country code desired
597 public void setSystemLocale(String language, String country) { argument
599 String c = SystemProperties.get("persist.sys.country");
605 if (null == country) {
606 country = "";
608 country
[all...]
/frameworks/base/include/utils/
H A DResourceTypes.h807 // Mobile country code (from SIM). 0 means "any".
821 char country[2]; member in struct:android::ResTable_config::__anon182::__anon183
1091 if (country[0] != o.country[0]) {
1092 if (!country[0]) return false;
1093 if (!o.country[0]) return true;
1209 if ((country[0] != o.country[0]) && requested->country[0]) {
1210 return (country[
[all...]

Completed in 209 milliseconds