Home
last modified time | relevance | path

Searched refs:parseLocaleString (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTtsEngines.java79 protected Locale parseLocaleString(String localeString) { in parseLocaleString() method in ShadowTtsEngines
80 return sInstance.parseLocaleString(localeString); in parseLocaleString()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java123 when(mEnginesHelper.parseLocaleString(VOICE.getLocale().toString())).thenReturn( in setUp()
125 when(mEnginesHelper.parseLocaleString(Locale.CANADA.toString())).thenReturn(Locale.CANADA); in setUp()
126 when(mEnginesHelper.parseLocaleString(Locale.KOREA.toString())).thenReturn(Locale.KOREA); in setUp()
384 when(mEnginesHelper.parseLocaleString(any())).thenReturn(null); in refreshUi_initialized_defaultLocaleIsNull_disablesPreference()
DTtsPlaybackSettingsManagerTest.java207 when(mEnginesHelper.parseLocaleString(Locale.FRANCE.toString())).thenReturn(Locale.FRANCE); in speakSampleText_requiresNetworkConnection_languageNotAvailable_showsAlert()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java390 mCurrentDefaultLocale = mEnginesHelper.parseLocaleString(defaultLocale.toString()); in checkDefaultLocale()
506 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()
625 ? mEnginesHelper.parseLocaleString(localeString) in onPreferenceChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTextToSpeechSettings.java390 mCurrentDefaultLocale = mEnginesHelper.parseLocaleString(defaultLocale.toString()); in checkDefaultLocale()
506 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()
625 ? mEnginesHelper.parseLocaleString(localeString) in onPreferenceChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java279 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLocalePref()
352 mEnginesHelper.parseLocaleString(localeString) : null)); in onPreferenceChange()
DTextToSpeechFragment.java275 mCurrentDefaultLocale = mEnginesHelper.parseLocaleString(defaultLocale.toString()); in checkDefaultLocale()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java333 updateLanguageTo(!TextUtils.isEmpty(localeString) ? mEnginesHelper.parseLocaleString( in initDefaultLanguagePreference()
345 Locale locale = mEnginesHelper.parseLocaleString(availableLangs.get(i)); in updateDefaultLanguagePreference()
DTtsPlaybackSettingsManager.java132 return mEnginesHelper.parseLocaleString(mTts.getVoice().getLocale().toString()); in getEffectiveTtsLocale()