Searched refs:getVoice (Results 1 – 4 of 4) sorted by relevance
129 if (mTts.getVoice() == null) { in getEffectiveTtsLocale()132 return mEnginesHelper.parseLocaleString(mTts.getVoice().getLocale().toString()); in getEffectiveTtsLocale()151 boolean networkRequired = mTts.getVoice().isNetworkConnectionRequired(); in speakSampleText()
206 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()
122 when(mTextToSpeech.getVoice()).thenReturn(VOICE); in setUp()
87 protected Voice getVoice() { in getVoice() method in ShadowTextToSpeech88 return sInstance.getVoice(); in getVoice()