Home
last modified time | relevance | path

Searched refs:LANG_AVAILABLE (Results 1 – 13 of 13) sorted by relevance

/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/tts/
H A DTtsPlaybackSettingsManagerTest.java174 when(mTts.setLanguage(Locale.KOREAN)).thenReturn(TextToSpeech.LANG_AVAILABLE); in updateTtsLocale_nonNullLocale_correctResultCode_updatesLocalePref()
212 when(mTts.isLanguageAvailable(Locale.FRENCH)).thenReturn(TextToSpeech.LANG_AVAILABLE); in speakSampleText_requiresNetworkConnection_languageAvailable_speaksText()
H A DTtsPlaybackPreferenceControllerTest.java214 TextToSpeech.LANG_AVAILABLE, /* data= */ null); in getSampleText_processActivityResult_dataIsNull_setsDefaultText()
228 TextToSpeech.LANG_AVAILABLE, data); in getSampleText_processActivityResult_emptyText_setsDefaultText()
242 TextToSpeech.LANG_AVAILABLE, data); in getSampleText_processActivityResult_dataIsNotNull_setsCorrectText()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/tts/
H A DTtsPlaybackSettingsManager.java155 >= TextToSpeech.LANG_AVAILABLE) { in speakSampleText()
H A DTtsPlaybackPreferenceController.java274 if (resultCode == TextToSpeech.LANG_AVAILABLE && data != null) { in onSampleTextReceived()
/aosp12/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java256 expectedStatus = TextToSpeech.LANG_AVAILABLE; in getExpectedLanguageAvailableStatus()
323 case TextToSpeech.LANG_AVAILABLE: in onGetDefaultVoiceNameFor()
1430 if (retVal == TextToSpeech.LANG_AVAILABLE
1484 if (retVal == TextToSpeech.LANG_AVAILABLE
H A DTextToSpeech.java182 public static final int LANG_AVAILABLE = 0; field in TextToSpeech
1563 if (result >= LANG_AVAILABLE) {
1788 if (result < LANG_AVAILABLE) {
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DTextToSpeechFragment.java410 if (resultCode == TextToSpeech.LANG_AVAILABLE && data != null) { in onSampleTextReceived()
430 mTts.isLanguageAvailable(mCurrentDefaultLocale) >= TextToSpeech.LANG_AVAILABLE) { in speakSampleText()
/aosp12/packages/apps/Settings/src/com/android/settings/tts/
H A DTextToSpeechSettings.java613 if (resultCode == TextToSpeech.LANG_AVAILABLE && data != null) { in onSampleTextReceived()
633 (mTts.isLanguageAvailable(mCurrentDefaultLocale) >= TextToSpeech.LANG_AVAILABLE)) { in speakSampleText()
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertAudio.java192 mTtsLanguageSupported = (result >= TextToSpeech.LANG_AVAILABLE); in setTtsLanguage()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
H A DAccessibilityShortcutControllerTest.java540 doReturn(TextToSpeech.LANG_NOT_SUPPORTED, TextToSpeech.LANG_AVAILABLE) in testOnAccessibilityShortcut_showsWarningDialog_ttsLongTimeInit_retrySpoken()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt39427 field public static final int LANG_AVAILABLE = 0; // 0x0
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt27426 field public static final int LANG_AVAILABLE = 0; // 0x0