Searched refs:getCurrentService (Results 1 – 10 of 10) sorted by relevance
46 assertThat(VoiceInputUtils.getCurrentService(mContext)).isNull(); in getCurrentService_nullInteraction_nullRecognition_returnsNull()55 assertThat(VoiceInputUtils.getCurrentService(mContext)).isNull(); in getCurrentService_emptyInteraction_emptyRecognition_returnsNull()66 assertThat(VoiceInputUtils.getCurrentService(mContext)).isEqualTo(interaction); in getCurrentService_hasInteraction_returnsInteraction()76 assertThat(VoiceInputUtils.getCurrentService(mContext)).isEqualTo(recognition); in getCurrentService_noInteraction_hasRecognition_returnsRecogntion()
104 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in setUp()119 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable()130 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn(null); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable()
87 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in setUp()199 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn(null); in getCurrentDefaultKey_defaultIsNull_returnsNull()
59 final String currentService = getCurrentService(getContext()); in onCreatePreferences()87 final String currentService = getCurrentService(getContext()); in updateServicePrefSummary()116 static String getCurrentService(Context context) { in getCurrentService() method in AccessibilityShortcutFragment
54 AccessibilityShortcutFragment.getCurrentService(getContext());87 final String currentService = AccessibilityShortcutFragment.getCurrentService(getContext()); in onCreatePreferences()
69 final ComponentName currentService = getCurrentService(mHelper); in getDefaultKey()88 public static ComponentName getCurrentService(VoiceInputHelper helper) { in getCurrentService() method in DefaultVoiceInputPicker
132 final ComponentName currentService = DefaultVoiceInputPicker.getCurrentService(mHelper); in getDefaultAppKey()
81 ComponentName currentVoiceService = VoiceInputUtils.getCurrentService(getContext()); in getAvailabilityStatus()104 VoiceInputUtils.getCurrentService(getContext())); in getCurrentDefaultAppInfo()
61 VoiceInputUtils.getCurrentService(getContext()))) { in DefaultVoiceInputPickerPreferenceController()93 ComponentName cn = VoiceInputUtils.getCurrentService(getContext()); in getCurrentDefaultKey()
34 static ComponentName getCurrentService(Context context) { in getCurrentService() method in VoiceInputUtils