Home
last modified time | relevance | path

Searched refs:getVoice (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManager.java129 if (mTts.getVoice() == null) { in getEffectiveTtsLocale()
132 return mEnginesHelper.parseLocaleString(mTts.getVoice().getLocale().toString()); in getEffectiveTtsLocale()
151 boolean networkRequired = mTts.getVoice().isNetworkConnectionRequired(); in speakSampleText()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManagerTest.java206 when(mTts.getVoice()).thenReturn(voice); in speakSampleText_requiresNetworkConnection_languageNotAvailable_showsAlert()
220 when(mTts.getVoice()).thenReturn(voice); in speakSampleText_requiresNetworkConnection_languageAvailable_speaksText()
232 when(mTts.getVoice()).thenReturn(voice); in speakSampleText_doesNotRequireNetworkConnection_speaksText()
DTtsPlaybackPreferenceControllerTest.java122 when(mTextToSpeech.getVoice()).thenReturn(VOICE); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTextToSpeech.java87 protected Voice getVoice() { in getVoice() method in ShadowTextToSpeech
88 return sInstance.getVoice(); in getVoice()