Searched refs:getCurrentEngine (Results 1 – 12 of 12) sorted by relevance
117 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in onCreate_populatesGroup()124 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in refreshUi_currentEngineInfoSummarySet()135 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in refreshUi_otherEngineInfoSummaryEmpty()145 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_currentEngine_returnFalse()155 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_otherEngine_returnTrue()165 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_otherEngine_initSuccess_changeCurrentEngine()173 when(mTextToSpeech.getCurrentEngine()).thenReturn(OTHER_ENGINE_INFO.name); in performClick_otherEngine_initSuccess_changeCurrentEngine()181 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_otherEngine_initFail_keepCurrentEngine()189 when(mTextToSpeech.getCurrentEngine()).thenReturn(OTHER_ENGINE_INFO.name); in performClick_otherEngine_initFail_keepCurrentEngine()
66 when(mTts.getCurrentEngine()).thenReturn(ENGINE_NAME); in setUp()
130 when(mTextToSpeech.getCurrentEngine()).thenReturn(ENGINE_INFO.name); in setUp()
73 mTts.getCurrentEngine()); in onCreateInternal()95 TextToSpeech.EngineInfo current = mEnginesHelper.getEngineInfo(mTts.getCurrentEngine()); in updateState()124 mPreviousEngine = mTts.getCurrentEngine(); in updateDefaultEngine()154 + mTts.getCurrentEngine()); in onUpdateEngine()156 mTts.getCurrentEngine()); in onUpdateEngine()
102 startEngineVoiceDataCheck(mTts.getCurrentEngine());214 String currentEngine = mTts.getCurrentEngine(); in startGetSampleText()239 String engine = mTts.getCurrentEngine(); in onVoiceDataIntegrityCheckDone()247 + mTts.getCurrentEngine()); in onVoiceDataIntegrityCheckDone()314 LOG.e("Default language was not retrieved from engine " + mTts.getCurrentEngine()); in isDefaultLocaleValid()335 LOG.e("Failed to get default language from engine " + mTts.getCurrentEngine()); in checkOrUpdateSampleText()
117 if (!mEnginesHelper.isLocaleSetToDefaultForEngine(mTts.getCurrentEngine())) { in getStoredTtsLocale()118 currentLocale = mEnginesHelper.getLocalePrefForEngine(mTts.getCurrentEngine()); in getStoredTtsLocale()145 mEnginesHelper.updateLocalePrefForEngine(mTts.getCurrentEngine(), newLocale); in updateTtsLocale()
253 mCurrentEngine = mTts.getCurrentEngine(); in initSettings()377 String currentEngine = mTts.getCurrentEngine(); in getSampleText()553 mPreviousEngine = mTts.getCurrentEngine(); in updateDefaultEngine()580 mTts.getCurrentEngine()); in onUpdateEngine()582 checkVoiceData(mTts.getCurrentEngine()); in onUpdateEngine()614 final String engine = mTts.getCurrentEngine(); in onVoiceDataIntegrityCheckDone()623 mTts.getCurrentEngine()); in onVoiceDataIntegrityCheckDone()
243 mTts.getCurrentEngine()); in updateVoiceDetails()386 if (getEngineName().equals(mTts.getCurrentEngine())) { in updateLanguageTo()
47 public String getCurrentEngine() { in getCurrentEngine() method in TextToSpeechCompat48 return this.mTextToSpeech.getCurrentEngine(); in getCurrentEngine()
238 if (!mTts.getDefaultEngine().equals(mTts.getCurrentEngine())) { in onResume()334 mCurrentEngine = mTts.getCurrentEngine(); in initSettings()476 String currentEngine = mTts.getCurrentEngine(); in getSampleText()526 if (!mEnginesHelper.isLocaleSetToDefaultForEngine(mTts.getCurrentEngine())) { in updateDefaultLocalePref()527 currentLocale = mEnginesHelper.getLocalePrefForEngine(mTts.getCurrentEngine()); in updateDefaultLocalePref()681 mEnginesHelper.updateLocalePrefForEngine(mTts.getCurrentEngine(), locale); in updateLanguageTo()772 final String engine = mTts.getCurrentEngine(); in onVoiceDataIntegrityCheckDone()781 mTts.getCurrentEngine()); in onVoiceDataIntegrityCheckDone()
86 + mTts.getCurrentEngine()); in onUpdateEngine()88 mContext.getContentResolver(), TTS_DEFAULT_SYNTH, mTts.getCurrentEngine()); in onUpdateEngine()176 mPreviousEngine = mTts.getCurrentEngine(); in updateDefaultEngine()
62 protected String getCurrentEngine() { in getCurrentEngine() method in ShadowTextToSpeech63 return sInstance.getCurrentEngine(); in getCurrentEngine()