Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceControllerTest.java117 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()
DTtsPlaybackSettingsManagerTest.java66 when(mTts.getCurrentEngine()).thenReturn(ENGINE_NAME); in setUp()
DTtsPlaybackPreferenceControllerTest.java130 when(mTextToSpeech.getCurrentEngine()).thenReturn(ENGINE_INFO.name); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceController.java73 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()
DTtsPlaybackPreferenceController.java102 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()
DTtsPlaybackSettingsManager.java117 if (!mEnginesHelper.isLocaleSetToDefaultForEngine(mTts.getCurrentEngine())) { in getStoredTtsLocale()
118 currentLocale = mEnginesHelper.getLocalePrefForEngine(mTts.getCurrentEngine()); in getStoredTtsLocale()
145 mEnginesHelper.updateLocalePrefForEngine(mTts.getCurrentEngine(), newLocale); in updateTtsLocale()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java253 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()
DTtsEngineSettingsFragment.java243 mTts.getCurrentEngine()); in updateVoiceDetails()
386 if (getEngineName().equals(mTts.getCurrentEngine())) { in updateLanguageTo()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DTextToSpeechCompat.java47 public String getCurrentEngine() { in getCurrentEngine() method in TextToSpeechCompat
48 return this.mTextToSpeech.getCurrentEngine(); in getCurrentEngine()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java238 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()
DTtsEnginePreferenceFragment.java86 + mTts.getCurrentEngine()); in onUpdateEngine()
88 mContext.getContentResolver(), TTS_DEFAULT_SYNTH, mTts.getCurrentEngine()); in onUpdateEngine()
176 mPreviousEngine = mTts.getCurrentEngine(); in updateDefaultEngine()
/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()