Home
last modified time | relevance | path

Searched refs:getTextToSpeech (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java161 when(mFrameworkObjectProvider.getTextToSpeech(eq(mContext), any())) in setUp()
336 verify(mFrameworkObjectProvider, times(0)).getTextToSpeech(any(), any()); in testOnAccessibilityShortcut_firstTime_showsWarningDialog()
495 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_shouldTtsSpokenPrompt()
520 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_ttsInitFail_noSpokenPrompt()
545 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_ttsLongTimeInit_retrySpoken()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java461 mTts = mFrameworkObjectProvider.getTextToSpeech(mContext, this); in TtsPrompt()
602 public TextToSpeech getTextToSpeech(Context ctx, TextToSpeech.OnInitListener listener) { in getTextToSpeech() method in AccessibilityShortcutController.FrameworkObjectProvider