Searched refs:getTextToSpeech (Results 1 – 2 of 2) sorted by relevance
163 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()
481 mTts = mFrameworkObjectProvider.getTextToSpeech(mContext, this); in TtsPrompt()626 public TextToSpeech getTextToSpeech(Context ctx, TextToSpeech.OnInitListener listener) { in getTextToSpeech() method in AccessibilityShortcutController.FrameworkObjectProvider