Home
last modified time | relevance | path

Searched refs:Engine (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java138 TextToSpeech.Engine.DEFAULT_RATE); in setUp()
140 TextToSpeech.Engine.DEFAULT_PITCH); in setUp()
155 TextToSpeech.Engine.ACTION_CHECK_TTS_DATA); in onCreate_startsCheckVoiceData()
167 TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, /* data= */ null); in voiceDataCheck_processActivityResult_dataIsNull_defaultSynthRemainsUnchanged()
182 TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, data); in voiceDataCheck_processActivityResult_dataIsNotNull_updatesDefaultSynth()
196 data.putStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES, in voiceDataCheck_processActivityResult_checkSuccess_hasVoices_populatesPreference()
206 TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, data); in voiceDataCheck_processActivityResult_checkSuccess_hasVoices_populatesPreference()
227 data.putExtra(TextToSpeech.Engine.EXTRA_SAMPLE_TEXT, testData); in getSampleText_processActivityResult_emptyText_setsDefaultText()
241 data.putExtra(TextToSpeech.Engine.EXTRA_SAMPLE_TEXT, testData); in getSampleText_processActivityResult_dataIsNotNull_setsCorrectText()
256 data.putStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES, in defaultLanguage_handlePreferenceChanged_passEmptyValue_setsDefault()
[all …]
DTtsPlaybackSettingsManagerTest.java68 TextToSpeech.Engine.DEFAULT_RATE); in setUp()
70 TextToSpeech.Engine.DEFAULT_PITCH); in setUp()
75 int newSpeechRate = TextToSpeech.Engine.DEFAULT_RATE + 40; in updateSpeechRate_updatesSetting()
78 Settings.Secure.TTS_DEFAULT_RATE, TextToSpeech.Engine.DEFAULT_RATE)).isEqualTo( in updateSpeechRate_updatesSetting()
84 int newSpeechRate = TextToSpeech.Engine.DEFAULT_RATE + 40; in updateSpeechRate_updatesTts()
91 int newSpeechRate = TextToSpeech.Engine.DEFAULT_RATE + 40; in getCurrentSpeechRate_returnsCorrectRate()
99 int newSpeechRate = TextToSpeech.Engine.DEFAULT_RATE + 40; in resetSpeechRate_setsToDefault()
105 TextToSpeech.Engine.DEFAULT_RATE); in resetSpeechRate_setsToDefault()
110 int newVoicePitch = TextToSpeech.Engine.DEFAULT_PITCH + 40; in updateVoicePitch_updatesSetting()
113 Settings.Secure.TTS_DEFAULT_PITCH, TextToSpeech.Engine.DEFAULT_PITCH)).isEqualTo( in updateVoicePitch_updatesSetting()
[all …]
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DTextToSpeechCompat.java26 public static class Engine { class in TextToSpeechCompat
29 public TextToSpeech.Engine mEngine;
31 public Engine(TextToSpeech.Engine engine) { in Engine() method in TextToSpeechCompat.Engine
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java121 private int mDefaultPitch = TextToSpeech.Engine.DEFAULT_PITCH;
122 private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE;
170 getActivity().setVolumeControlStream(TextToSpeech.Engine.DEFAULT_STREAM); in onCreate()
261 TextToSpeech.Engine.DEFAULT_PITCH) / 100.0f); in onResume()
315 resolver, TTS_DEFAULT_RATE, TextToSpeech.Engine.DEFAULT_RATE); in initSettings()
318 resolver, TTS_DEFAULT_PITCH, TextToSpeech.Engine.DEFAULT_PITCH); in initSettings()
484 Intent intent = new Intent(TextToSpeech.Engine.ACTION_GET_SAMPLE_TEXT); in getSampleText()
508 if (resultCode != TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL) { in onActivityResult()
516 data.getStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES); in updateDefaultLocalePref()
519 data.getStringArrayListExtra(TextToSpeech.Engine.EXTRA_UNAVAILABLE_VOICES); in updateDefaultLocalePref()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java93 private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE;
189 getActivity().setVolumeControlStream(TextToSpeech.Engine.DEFAULT_STREAM); in onCreate()
248 mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE; in initSettings()
385 Intent intent = new Intent(TextToSpeech.Engine.ACTION_GET_SAMPLE_TEXT); in getSampleText()
437 features.contains(TextToSpeech.Engine.KEY_FEATURE_NETWORK_SYNTHESIS) && in isNetworkRequiredForSynthesis()
438 !features.contains(TextToSpeech.Engine.KEY_FEATURE_EMBEDDED_SYNTHESIS); in isNetworkRequiredForSynthesis()
469 params.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, "Sample"); in speakSampleText()
600 Intent intent = new Intent(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA); in checkVoiceData()
631 TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES); in onVoiceDataIntegrityCheckDone()
DTtsEngineSettingsFragment.java115 if (TextToSpeech.Engine.ACTION_TTS_DATA_INSTALLED.equals(intent.getAction())) {
194 new IntentFilter(TextToSpeech.Engine.ACTION_TTS_DATA_INSTALLED), in onCreate()
219 Intent intent = new Intent(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA); in checkTtsData()
232 if (resultCode != TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL) { in onActivityResult()
251 TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES); in updateVoiceDetails()
253 TextToSpeech.Engine.EXTRA_UNAVAILABLE_VOICES); in updateVoiceDetails()
331 Intent intent = new Intent(TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA); in installVoiceData()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java198 Intent intent = new Intent(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA); in startEngineVoiceDataCheck()
219 Intent intent = new Intent(TextToSpeech.Engine.ACTION_GET_SAMPLE_TEXT); in startGetSampleText()
224 intent.putExtra(TextToSpeech.Engine.KEY_PARAM_LANGUAGE, mSampleTextLocale.getLanguage()); in startGetSampleText()
225 intent.putExtra(TextToSpeech.Engine.KEY_PARAM_COUNTRY, mSampleTextLocale.getCountry()); in startGetSampleText()
226 intent.putExtra(TextToSpeech.Engine.KEY_PARAM_VARIANT, mSampleTextLocale.getVariant()); in startGetSampleText()
245 if (data == null || resultCode == TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL) { in onVoiceDataIntegrityCheckDone()
255 data.getStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES); in onVoiceDataIntegrityCheckDone()
275 String tmp = data.getStringExtra(TextToSpeech.Engine.EXTRA_SAMPLE_TEXT); in onSampleTextReceived()
DTtsPlaybackSettingsManager.java87 Settings.Secure.TTS_DEFAULT_RATE, TextToSpeech.Engine.DEFAULT_RATE); in getCurrentSpeechRate()
91 updateSpeechRate(TextToSpeech.Engine.DEFAULT_RATE); in resetSpeechRate()
103 Settings.Secure.TTS_DEFAULT_PITCH, TextToSpeech.Engine.DEFAULT_PITCH); in getCurrentVoicePitch()
107 updateVoicePitch(TextToSpeech.Engine.DEFAULT_PITCH); in resetVoicePitch()
/packages/modules/DnsResolver/doh/
Dencoding.rs20 use base64::{prelude::BASE64_URL_SAFE_NO_PAD, Engine};
84 use base64::{prelude::BASE64_URL_SAFE_NO_PAD, Engine};
Dffi.rs22 use base64::{prelude::BASE64_URL_SAFE_NO_PAD, Engine};
/packages/apps/Car/systemlibs/car-assist-client-lib/src/com/android/car/assist/client/tts/
DAndroidTextToSpeechEngine.java87 return TextToSpeech.Engine.DEFAULT_STREAM; in getStream()
/packages/services/Car/tools/telemetry/lua-interpreter/
DREADME.md45 To test the Lua Engine, run:
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/
DTtsEnginePreferenceFragmentTest.java76 new Intent(TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE), info); in setUp()
/packages/modules/AdServices/shared/libraries/device-side/proto/
Djob_policy.proto21 // The Policy used to schedule a background job in Scheduling Policy Engine (SPE).
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dclient.rs20 use base64::{prelude::BASE64_URL_SAFE_NO_PAD, Engine};
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto1776 // NAN Discovery Engine/Host driver failures