Searched refs:getCurrentService (Results 1 – 10 of 10) sorted by relevance
57 assertThat(VoiceInputUtils.getCurrentService(mContext)).isNull(); in getCurrentService_nullInteraction_nullRecognition_returnsNull()66 assertThat(VoiceInputUtils.getCurrentService(mContext)).isNull(); in getCurrentService_emptyInteraction_emptyRecognition_returnsNull()77 assertThat(VoiceInputUtils.getCurrentService(mContext)).isEqualTo(interaction); in getCurrentService_hasInteraction_returnsInteraction()87 assertThat(VoiceInputUtils.getCurrentService(mContext)).isEqualTo(recognition); in getCurrentService_noInteraction_hasRecognition_returnsRecogntion()
53 if (isCurrentAssistVoiceService(assist, getCurrentService(mHelper))) { in onAttach()84 final ComponentName currentService = getCurrentService(mHelper); in getDefaultKey()118 public static ComponentName getCurrentService(VoiceInputHelper helper) { in getCurrentService() method in DefaultVoiceInputPicker
64 DefaultVoiceInputPicker.getCurrentService(mHelper); in isAvailable()148 final ComponentName currentService = DefaultVoiceInputPicker.getCurrentService(mHelper); in getDefaultAppKey()
71 ComponentName currentVoiceService = VoiceInputUtils.getCurrentService(getContext()); in getAvailabilityStatus()94 VoiceInputUtils.getCurrentService(getContext())); in getCurrentDefaultAppInfo()
52 VoiceInputUtils.getCurrentService(getContext()))) { in DefaultVoiceInputPickerPreferenceController()84 ComponentName cn = VoiceInputUtils.getCurrentService(getContext()); in getCurrentDefaultKey()
34 static ComponentName getCurrentService(Context context) { in getCurrentService() method in VoiceInputUtils
72 final String currentService = getCurrentService(getContext()); in onResume()88 static String getCurrentService(Context context) { in getCurrentService() method in AccessibilityShortcutFragment
53 AccessibilityShortcutFragment.getCurrentService(getContext());83 final String currentService = AccessibilityShortcutFragment.getCurrentService(getContext()); in onCreatePreferences()