Home
last modified time | relevance | path

Searched refs:setLanguage (Results 1 – 25 of 25) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/util/
DTvTrackInfoUtilsTest.java63 .setLanguage(language) in createTvTrackInfo()
312 .setLanguage(language) in createAudioTrackInfo()
326 .setLanguage("en") in toString_audioWithDetails()
349 .setLanguage("en") in toString_videoWithDetails()
373 .setLanguage("en") in toString_subtitleWithDetails()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManagerTest.java176 verify(mTts).setLanguage(Locale.KOREAN); in updateTtsLocale_nonNullLocale_setsLanguage()
183 verify(mTts).setLanguage(Locale.getDefault()); in updateTtsLocale_nullLocale_setsDefaultLanguage()
188 when(mTts.setLanguage(Locale.KOREAN)).thenReturn(TextToSpeech.LANG_AVAILABLE); in updateTtsLocale_nonNullLocale_correctResultCode_updatesLocalePref()
196 when(mTts.setLanguage(Locale.KOREAN)).thenReturn(TextToSpeech.LANG_MISSING_DATA); in updateTtsLocale_nonNullLocale_wrongResultCode_doesNotUpdateLocalePref()
DTtsPlaybackPreferenceControllerTest.java267 verify(mTextToSpeech).setLanguage(Locale.getDefault()); in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault()
290 verify(mTextToSpeech).setLanguage(Locale.ENGLISH); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTextToSpeech.java67 protected int setLanguage(final Locale loc) { in setLanguage() method in ShadowTextToSpeech
68 return sInstance.setLanguage(loc); in setLanguage()
/packages/apps/TV/src/com/android/tv/util/
DTvSettings.java156 .setLanguage(language) in getDvrPlaybackTrackSettings()
165 return new TvTrackInfo.Builder(trackType, trackId).setLanguage(language).build(); in getDvrPlaybackTrackSettings()
DCaptionSettings.java113 public void setLanguage(String language) { in setLanguage() method in CaptionSettings
/packages/apps/TV/tests/robotests/src/com/android/tv/
DMainActivityRoboTest.java205 .setLanguage(language) in buildTrackForTesting()
212 .setLanguage(language) in buildCaptionTrackForTesting()
DShadowTvView.java100 .setLanguage(info.getLanguage()) in replaceTrack()
/packages/apps/TV/tests/common/src/com/android/tv/testing/constants/
DConstants.java28 .setLanguage("en")
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java420 int defaultAvailable = mTts.setLanguage(defaultLocale); in checkDefaultLocale()
456 int defaultAvailable = mTts.setLanguage(mCurrentDefaultLocale); in evaluateDefaultLocale()
682 mTts.setLanguage((locale != null) ? locale : Locale.getDefault()); in updateLanguageTo()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DI18Name.java80 locale = new Locale.Builder().setLanguage(language).build(); in parse()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmessage.java132 public Bmessage setLanguage(String language) { in setLanguage() method in Bmessage
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java1224 .setLanguage(language) in generateAudioTracks()
1272 audioTrack.setLanguage(iso639LanguageTrack.getLanguage()); in generateAudioTracks()
1279 audioTrack = audioTrack.setLanguage(language); in generateAudioTracks()
1607 .setLanguage(language) in parseIso639Language()
1650 .setLanguage(language) in parseCaptionService()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java282 mTts.setLanguage(defaultLocale); in checkDefaultLocale()
319 int defaultAvailable = mTts.setLanguage(mCurrentDefaultLocale); in evaluateDefaultLocale()
DTtsEngineSettingsFragment.java387 mTts.setLanguage((locale != null) ? locale : Locale.getDefault()); in updateLanguageTo()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DLocaleUtils.java67 builder.setLanguage(text); in constructLocaleFromString()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManager.java140 int resultCode = mTts.setLanguage((newLocale != null) ? newLocale : Locale.getDefault()); in updateTtsLocale()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java231 locale = new Locale.Builder().setLanguage(language).build(); in getFriendlyName()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java179 .setLanguage(getResources().getConfiguration().getLocales().get(0).getLanguage()) in buildDefaultCountryChooserKeysAndValues()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DServiceProviderVerifierTest.java65 private static final Locale TEST_LOCALE = new Locale.Builder().setLanguage(
DPasspointManagerTest.java2827 new Locale.Builder().setLanguage(TEST_LOCALE_ENGLISH).build(), in testGetVenueUrl()
2830 new Locale.Builder().setLanguage(TEST_LOCALE_HEBREW).build(), "רשת פאספוינט")); in testGetVenueUrl()
2909 new Locale.Builder().setLanguage(TEST_LOCALE_ENGLISH).build(), in testGetVenueUrlNoVenueUrlAnqpElement()
2912 new Locale.Builder().setLanguage(TEST_LOCALE_HEBREW).build(), "רשת פאספוינט")); in testGetVenueUrlNoVenueUrlAnqpElement()
2962 new Locale.Builder().setLanguage(TEST_LOCALE_ENGLISH).build(), in testGetVenueUrlNoVenueNameAnqpElement()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java190 int result = mTts.setLanguage(locale); in setTtsLanguage()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java1549 builder.setLanguage(language); in notifyAudioTracksUpdated()
1577 builder.setLanguage(language); in updateCaptionTracks()
DTunerSessionWorker.java1628 builder.setLanguage(language); in notifyAudioTracksUpdated()
1656 builder.setLanguage(language); in updateCaptionTracks()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java2664 mCaptionSettings.setLanguage(language);
2676 mCaptionSettings.setLanguage(track.getLanguage());