Home
last modified time | relevance | path

Searched refs:isLanguageAvailable (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTextToSpeech.java92 protected int isLanguageAvailable(final Locale loc) { in isLanguageAvailable() method in ShadowTextToSpeech
93 return sInstance.isLanguageAvailable(loc); in isLanguageAvailable()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManagerTest.java199 when(mTts.isLanguageAvailable(any(Locale.class))).thenReturn( in speakSampleText_requiresNetworkConnection_languageNotAvailable_showsAlert()
212 when(mTts.isLanguageAvailable(Locale.FRENCH)).thenReturn(TextToSpeech.LANG_AVAILABLE); in speakSampleText_requiresNetworkConnection_languageAvailable_speaksText()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManager.java154 if (!networkRequired || networkRequired && mTts.isLanguageAvailable(defaultLocale) in speakSampleText()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java467 mTts.isLanguageAvailable(mCurrentDefaultLocale) >= TextToSpeech.LANG_AVAILABLE) { in speakSampleText()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java635 (mTts.isLanguageAvailable(mCurrentDefaultLocale) >= TextToSpeech.LANG_AVAILABLE)) { in speakSampleText()