/packages/apps/TV/tests/robotests/src/com/android/tv/util/ |
D | TvTrackInfoUtilsTest.java | 63 .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/unit/src/com/android/car/settings/tts/ |
D | TtsPlaybackSettingsManagerTest.java | 162 verify(mTts).setLanguage(Locale.KOREAN); in updateTtsLocale_nonNullLocale_setsLanguage() 169 verify(mTts).setLanguage(Locale.getDefault()); in updateTtsLocale_nullLocale_setsDefaultLanguage() 174 when(mTts.setLanguage(Locale.KOREAN)).thenReturn(TextToSpeech.LANG_AVAILABLE); in updateTtsLocale_nonNullLocale_correctResultCode_updatesLocalePref() 182 when(mTts.setLanguage(Locale.KOREAN)).thenReturn(TextToSpeech.LANG_MISSING_DATA); in updateTtsLocale_nonNullLocale_wrongResultCode_doesNotUpdateLocalePref()
|
D | TtsPlaybackPreferenceControllerTest.java | 270 verify(mTextToSpeech).setLanguage(Locale.getDefault()); in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault() 294 verify(mTextToSpeech).setLanguage(Locale.ENGLISH); in defaultLanguage_handlePreferenceChanged_passLocale_setsLocale()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioBroadcastServiceTest.java | 361 meta_builder.setLanguage("deu"); in testCreateBroadcastNative() 377 meta_builder.setLanguage("deu"); in testCreateBroadcastNativeMultiGroups() 393 meta_builder.setLanguage("deu"); in testCreateBroadcastNativeFailed() 437 meta_builder.setLanguage("deu"); in testCreateBroadcastTimeout() 530 meta_builder.setLanguage("deu"); in testStartStopBroadcastNative() 555 meta_builder.setLanguage("eng"); in testBroadcastInvalidBroadcastIdRequest() 574 .setLanguage(TEST_LANGUAGE) in createBroadcastSubgroup() 623 meta_builder.setLanguage("ENG"); in testGetAllBroadcastMetadata() 658 meta_builder.setLanguage("ENG"); in testIsBroadcastActive() 804 meta_builder.setLanguage("ENG"); in testCreatePendingBroadcast() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowTextToSpeech.java | 67 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/ |
D | TvSettings.java | 159 .setLanguage(language) in getDvrPlaybackTrackSettings() 168 return new TvTrackInfo.Builder(trackType, trackId).setLanguage(language).build(); in getDvrPlaybackTrackSettings()
|
D | CaptionSettings.java | 113 public void setLanguage(String language) { in setLanguage() method in CaptionSettings
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/constants/ |
D | Constants.java | 28 .setLanguage("en")
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | MainActivityRoboTest.java | 205 .setLanguage(language) in buildTrackForTesting() 212 .setLanguage(language) in buildCaptionTrackForTesting()
|
D | ShadowTvView.java | 96 .setLanguage(info.getLanguage()) in replaceTrack()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | I18Name.java | 80 locale = new Locale.Builder().setLanguage(language).build(); in parse()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/ |
D | Bmessage.java | 129 public Bmessage setLanguage(String language) { in setLanguage() method in Bmessage
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | LocaleUtils.java | 67 builder.setLanguage(text); in constructLocaleFromString()
|
/packages/apps/Car/Settings/src/com/android/car/settings/tts/ |
D | TtsPlaybackSettingsManager.java | 141 int resultCode = mTts.setLanguage((newLocale != null) ? newLocale : Locale.getDefault()); in updateTtsLocale()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ServiceProviderVerifier.java | 231 locale = new Locale.Builder().setLanguage(language).build(); in getFriendlyName()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 422 int defaultAvailable = mTts.setLanguage(defaultLocale); in checkDefaultLocale() 458 int defaultAvailable = mTts.setLanguage(mCurrentDefaultLocale); in evaluateDefaultLocale() 684 mTts.setLanguage((locale != null) ? locale : Locale.getDefault()); in updateLanguageTo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TextToSpeechFragment.java | 318 mTts.setLanguage(defaultLocale); in checkDefaultLocale() 353 int defaultAvailable = mTts.setLanguage(mCurrentDefaultLocale); in evaluateDefaultLocale()
|
D | TtsEngineSettingsFragment.java | 388 mTts.setLanguage((locale != null) ? locale : Locale.getDefault()); in updateLanguageTo()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/ |
D | AssistedDialingSettingFragment.java | 179 .setLanguage(getResources().getConfiguration().getLocales().get(0).getLanguage()) in buildDefaultCountryChooserKeysAndValues()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeAudioContentMetadata.java | 264 public @NonNull Builder setLanguage(@Nullable String language) { in setLanguage() method in BluetoothLeAudioContentMetadata.Builder
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | SectionParser.java | 1224 .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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ServiceProviderVerifierTest.java | 65 private static final Locale TEST_LOCALE = new Locale.Builder().setLanguage(
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
D | TextToSpeechImpl.java | 135 mTTS.setLanguage(Locale.US); in doSetVoice()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 204 int result = mTts.setLanguage(locale); in setTtsLanguage()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 422 verify(audio.mTts, times(1)).setLanguage(localeArgumentCaptor.capture()); in testSetTtsLanguage()
|