Home
last modified time | relevance | path

Searched refs:country (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/speech/src/android/speech/tts/cts/
DStubTextToSpeechService.java62 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument
63 country = convertISO3CountryToISO2(country); in onIsLanguageAvailable()
64 if (supportedCountries.contains(new Locale(lang, country))) { in onIsLanguageAvailable()
88 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument
89 return onIsLanguageAvailable(lang, country, variant); in onLoadLanguage()
127 public String onGetDefaultVoiceNameFor(String lang, String country, String variant) { in onGetDefaultVoiceNameFor() argument
128 Locale locale = new Locale(lang, country); in onGetDefaultVoiceNameFor()
133 if (GBFallbacks.contains(new Locale(lang, country))) { in onGetDefaultVoiceNameFor()
139 return super.onGetDefaultVoiceNameFor(lang, country, variant); in onGetDefaultVoiceNameFor()
DConnectionTestTextToSpeechService.java85 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument
90 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument
91 return onIsLanguageAvailable(lang, country, variant); in onLoadLanguage()
99 public String onGetDefaultVoiceNameFor(String lang, String country, String variant) { in onGetDefaultVoiceNameFor() argument
/cts/apps/TtsTestApp/src/com/android/cts/tts/helper/
DTTSHelperService.java16 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument
21 public int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument
/cts/tests/tests/util/src/android/util/cts/
DTimeUtilsTest.java122 String country = world[i]; in testWorldWeird() local
130 guess = guessTimeZone(c, country); in testWorldWeird()
135 private static TimeZone guessTimeZone(Calendar c, String country) { in guessTimeZone() argument
139 country); in guessTimeZone()
/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java476 private boolean showPicture(String country) { in showPicture() argument
477 if (ARGENTINA.equals(country)) { in showPicture()
480 } else if (AMERICA.equals(country)) { in showPicture()
483 } else if (CHINA.equals(country)) { in showPicture()
492 String country = mEditText.getText().toString(); in onClick() local
493 if (!showPicture(country)) { in onClick()
/cts/hostsidetests/adpf/app/hintsession/src/cpp/external/
Dandroid_native_app_glue.c65 char lang[2], country[2]; in print_cur_config() local
67 AConfiguration_getCountry(android_app->config, country); in print_cur_config()
73 lang[0], lang[1], country[0], country[1], in print_cur_config()
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java86 public void onCountryCodeChanged(String country) { in onCountryCodeChanged() argument
87 mCurrentCountryCode = country; in onCountryCodeChanged()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java4158 public void onActiveCountryCodeChanged(String country) { in onActiveCountryCodeChanged() argument
4159 Log.d(TAG, "Receive DriverCountryCodeChanged to " + country); in onActiveCountryCodeChanged()
4160 mCurrentCountryCode = country; in onActiveCountryCodeChanged()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt671 field public static final int country = 16843962; // 0x10104ba