Searched refs:mFrameworkObjectProvider (Results 1 – 2 of 2) sorted by relevance
147 public FrameworkObjectProvider mFrameworkObjectProvider = new FrameworkObjectProvider(); field in AccessibilityShortcutController290 mFrameworkObjectProvider.getAccessibilityManagerInstance(mContext) in performAccessibilityShortcut()336 Toast warningToast = mFrameworkObjectProvider.makeToastFromText( in showToast()347 final AccessibilityManager am = mFrameworkObjectProvider in createShortcutWarningDialog()352 final AlertDialog alertDialog = mFrameworkObjectProvider.getAlertDialogBuilder( in createShortcutWarningDialog()354 mFrameworkObjectProvider.getSystemUiContext()) in createShortcutWarningDialog()424 mFrameworkObjectProvider.getAccessibilityManagerInstance(mContext); in getInfoForTargetService()439 final AccessibilityServiceInfo serviceInfo = mFrameworkObjectProvider in getShortcutFeatureDescription()456 mFrameworkObjectProvider.getAccessibilityManagerInstance(mContext); in isServiceEnabled()477 Ringtone tone = mFrameworkObjectProvider.getRingtone(mContext, ringtoneUri); in playNotificationTone()[all …]
124 private @Mock FrameworkObjectProvider mFrameworkObjectProvider; field in AccessibilityShortcutControllerTest169 when(mFrameworkObjectProvider.getAccessibilityManagerInstance(mContext)) in setUp()173 when(mFrameworkObjectProvider.getAlertDialogBuilder(mContext)) in setUp()175 when(mFrameworkObjectProvider.makeToastFromText(eq(mContext), anyObject(), anyInt())) in setUp()177 when(mFrameworkObjectProvider.getSystemUiContext()).thenReturn(mContext); in setUp()178 when(mFrameworkObjectProvider.getTextToSpeech(eq(mContext), any())) in setUp()180 when(mFrameworkObjectProvider.getRingtone(eq(mContext), any())).thenReturn(mRingtone); in setUp()382 verify(mFrameworkObjectProvider, times(0)).getTextToSpeech(any(), any()); in testOnAccessibilityShortcut_firstTime_showsWarningDialog()776 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_shouldTtsSpokenPrompt()802 verify(mFrameworkObjectProvider).getTextToSpeech(any(), onInitCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_ttsInitFail_noSpokenPrompt()[all …]