Home
last modified time | relevance | path

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

/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java48 .onIsLanguageAvailable( in setUp()
77 … LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_delegation()
85 LittleMock.verify(delegate, LittleMock.anyTimes()).onIsLanguageAvailable( in testSetLanguage_delegation()
99 … LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_availableLanguage()
101 … LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_AVAILABLE).when(delegate).onIsLanguageAvailable( in testSetLanguage_availableLanguage()
125 delegate).onIsLanguageAvailable("fra", "FRA", ""); in testSetLanguage_unavailableLanguage()
147 delegate).onIsLanguageAvailable("eng", "USA", ""); in testIsLanguageAvailable()
150 LittleMock.verify(delegate, LittleMock.times(1)).onIsLanguageAvailable( in testIsLanguageAvailable()
163 when(delegate).onIsLanguageAvailable( in testDefaultLanguage_setsVoiceName()
DMockableTextToSpeechService.java40 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() method in MockableTextToSpeechService
41 return sDelegate.onIsLanguageAvailable(lang, country, variant); in onIsLanguageAvailable()
65 int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable() method
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java177 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable() method in TextToSpeechService
286 int localeStatus = onIsLanguageAvailable(locale.getISO3Language(), in onGetVoices()
322 int localeStatus = onIsLanguageAvailable(lang, country, variant); in onGetDefaultVoiceNameFor()
368 int localeStatus = onIsLanguageAvailable(locale.getISO3Language(), in onLoadVoice()
399 int localeStatus = onIsLanguageAvailable(locale.getISO3Language(), in onIsValidVoiceName()
1284 return onIsLanguageAvailable(lang, country, variant);
1309 int retVal = onIsLanguageAvailable(lang, country, variant);
1353 int retVal = onIsLanguageAvailable(lang, country, variant);
/frameworks/base/api/
Dcurrent.txt29217 …method protected abstract int onIsLanguageAvailable(java.lang.String, java.lang.String, java.lang.…
Dsystem-current.txt31368 …method protected abstract int onIsLanguageAvailable(java.lang.String, java.lang.String, java.lang.…