Home
last modified time | relevance | path

Searched refs:country (Results 1 – 6 of 6) 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.java116 String country = world[i]; in testWorldWeird() local
124 guess = guessTimeZone(c, country); in testWorldWeird()
129 private static TimeZone guessTimeZone(Calendar c, String country) { in guessTimeZone() argument
133 country); in guessTimeZone()
/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java455 private boolean showPicture(String country) { in showPicture() argument
456 if (ARGENTINA.equals(country)) { in showPicture()
459 } else if (AMERICA.equals(country)) { in showPicture()
462 } else if (CHINA.equals(country)) { in showPicture()
471 String country = mEditText.getText().toString(); in onClick() local
472 if (!showPicture(country)) { in onClick()
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java82 public void onCountryCodeChanged(String country) { in onCountryCodeChanged() argument
83 mCurrentCountryCode = country; in onCountryCodeChanged()