Searched refs:getTextToSpeech (Results 1 – 2 of 2) sorted by relevance
154 when(mFrameworkObjectProvider.getTextToSpeech(eq(mContext), any())) in setUp()333 verify(mFrameworkObjectProvider, times(0)).getTextToSpeech(any(), any()); in testOnAccessibilityShortcut_firstTime_showsWarningDialog()471 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_shouldTtsSpokenPrompt()495 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_ttsInitFail_noSpokenPrompt()
385 mTts = mFrameworkObjectProvider.getTextToSpeech(mContext, this); in TtsPrompt()507 public TextToSpeech getTextToSpeech(Context ctx, TextToSpeech.OnInitListener listener) { in getTextToSpeech() method in AccessibilityShortcutController.FrameworkObjectProvider