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.java163 when(mFrameworkObjectProvider.getTextToSpeech(eq(mContext), any())) in setUp()
338 verify(mFrameworkObjectProvider, times(0)).getTextToSpeech(any(), any()); in testOnAccessibilityShortcut_firstTime_showsWarningDialog()
497 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_shouldTtsSpokenPrompt()
522 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_ttsInitFail_noSpokenPrompt()
547 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_ttsLongTimeInit_retrySpoken()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java481 mTts = mFrameworkObjectProvider.getTextToSpeech(mContext, this); in TtsPrompt()
626 public TextToSpeech getTextToSpeech(Context ctx, TextToSpeech.OnInitListener listener) { in getTextToSpeech() method in AccessibilityShortcutController.FrameworkObjectProvider