Home
last modified time | relevance | path

Searched refs:getCurrentEngine (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceControllerTest.java100 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in onCreate_populatesGroup()
107 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in refreshUi_currentEngineInfoSummarySet()
118 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in refreshUi_otherEngineInfoSummaryEmpty()
128 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_currentEngine_returnFalse()
138 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_otherEngine_returnTrue()
148 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_otherEngine_initSuccess_changeCurrentEngine()
159 when(mTextToSpeech.getCurrentEngine()).thenReturn(CURRENT_ENGINE_INFO.name); in performClick_otherEngine_initFail_keepCurrentEngine()
DTtsPlaybackSettingsManagerTest.java72 when(mTts.getCurrentEngine()).thenReturn(ENGINE_NAME); in setUp()
DTtsPlaybackPreferenceControllerTest.java121 when(mTextToSpeech.getCurrentEngine()).thenReturn(ENGINE_INFO.name); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceController.java74 mTts.getCurrentEngine()); in onCreateInternal()
108 TextToSpeech.EngineInfo current = mEnginesHelper.getEngineInfo(mTts.getCurrentEngine()); in updateState()
127 mPreviousEngine = mTts.getCurrentEngine(); in updateDefaultEngine()
156 + mTts.getCurrentEngine()); in onUpdateEngine()
158 mTts.getCurrentEngine()); in onUpdateEngine()
DTtsPlaybackPreferenceController.java115 startEngineVoiceDataCheck(mTts.getCurrentEngine()); in onCreateInternal()
183 String currentEngine = mTts.getCurrentEngine(); in startGetSampleText()
208 String engine = mTts.getCurrentEngine(); in onVoiceDataIntegrityCheckDone()
216 + mTts.getCurrentEngine()); in onVoiceDataIntegrityCheckDone()
283 LOG.e("Failed to get default language from engine " + mTts.getCurrentEngine()); in isDefaultLocaleValid()
305 LOG.e("Failed to get default language from engine " + mTts.getCurrentEngine()); in checkOrUpdateSampleText()
DTtsPlaybackSettingsManager.java116 if (!mEnginesHelper.isLocaleSetToDefaultForEngine(mTts.getCurrentEngine())) { in getStoredTtsLocale()
117 currentLocale = mEnginesHelper.getLocalePrefForEngine(mTts.getCurrentEngine()); in getStoredTtsLocale()
144 mEnginesHelper.updateLocalePrefForEngine(mTts.getCurrentEngine(), newLocale); in updateTtsLocale()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java235 mCurrentEngine = mTts.getCurrentEngine(); in initSettings()
341 String currentEngine = mTts.getCurrentEngine(); in getSampleText()
512 mPreviousEngine = mTts.getCurrentEngine(); in updateDefaultEngine()
539 mTts.getCurrentEngine()); in onUpdateEngine()
541 checkVoiceData(mTts.getCurrentEngine()); in onUpdateEngine()
573 final String engine = mTts.getCurrentEngine(); in onVoiceDataIntegrityCheckDone()
582 mTts.getCurrentEngine()); in onVoiceDataIntegrityCheckDone()
DTtsEngineSettingsFragment.java240 mTts.getCurrentEngine()); in updateVoiceDetails()
377 if (getEngineName().equals(mTts.getCurrentEngine())) { in updateLanguageTo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTtsEnginePreferenceFragment.java84 mCurrentEngine = mTts.getCurrentEngine(); in initSettings()
132 mPreviousEngine = mTts.getCurrentEngine(); in updateDefaultEngine()
164 + mTts.getCurrentEngine()); in onUpdateEngine()
166 getContentResolver(), TTS_DEFAULT_SYNTH, mTts.getCurrentEngine()); in onUpdateEngine()
DTextToSpeechSettings.java219 if (!mTts.getDefaultEngine().equals(mTts.getCurrentEngine())) { in onResume()
312 mCurrentEngine = mTts.getCurrentEngine(); in initSettings()
449 String currentEngine = mTts.getCurrentEngine(); in getSampleText()
499 if (!mEnginesHelper.isLocaleSetToDefaultForEngine(mTts.getCurrentEngine())) { in updateDefaultLocalePref()
500 currentLocale = mEnginesHelper.getLocalePrefForEngine(mTts.getCurrentEngine()); in updateDefaultLocalePref()
650 mEnginesHelper.updateLocalePrefForEngine(mTts.getCurrentEngine(), locale); in updateLanguageTo()
733 final String engine = mTts.getCurrentEngine(); in onVoiceDataIntegrityCheckDone()
742 mTts.getCurrentEngine()); in onVoiceDataIntegrityCheckDone()
/packages/apps/Settings/src/com/android/settings/tts/
DTtsEnginePreferenceFragment.java84 mCurrentEngine = mTts.getCurrentEngine(); in initSettings()
132 mPreviousEngine = mTts.getCurrentEngine(); in updateDefaultEngine()
164 + mTts.getCurrentEngine()); in onUpdateEngine()
166 getContentResolver(), TTS_DEFAULT_SYNTH, mTts.getCurrentEngine()); in onUpdateEngine()
DTextToSpeechSettings.java219 if (!mTts.getDefaultEngine().equals(mTts.getCurrentEngine())) { in onResume()
312 mCurrentEngine = mTts.getCurrentEngine(); in initSettings()
449 String currentEngine = mTts.getCurrentEngine(); in getSampleText()
499 if (!mEnginesHelper.isLocaleSetToDefaultForEngine(mTts.getCurrentEngine())) { in updateDefaultLocalePref()
500 currentLocale = mEnginesHelper.getLocalePrefForEngine(mTts.getCurrentEngine()); in updateDefaultLocalePref()
650 mEnginesHelper.updateLocalePrefForEngine(mTts.getCurrentEngine(), locale); in updateLanguageTo()
733 final String engine = mTts.getCurrentEngine(); in onVoiceDataIntegrityCheckDone()
742 mTts.getCurrentEngine()); in onVoiceDataIntegrityCheckDone()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTextToSpeech.java62 protected String getCurrentEngine() { in getCurrentEngine() method in ShadowTextToSpeech
63 return sInstance.getCurrentEngine(); in getCurrentEngine()