/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/ |
D | DefaultVoiceInputPickerEntryPreferenceControllerTest.java | 106 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in setUp() 121 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable() 132 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable_zoneWrite() 144 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable_zoneRead() 156 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in getAvailabilityStatus_sameComponents_returnsConditionallyUnavailable_zoneHidden() 168 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn(null); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable() 177 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn(null); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable_zoneWrite() 187 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn(null); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable_zoneRead() 197 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn(null); in getAvailabilityStatus_bothNull_returnsConditionallyUnavailable_zoneHidden()
|
D | VoiceInputUtilsTest.java | 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()
|
D | DefaultVoiceInputPickerPreferenceControllerTest.java | 87 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn( in setUp() 199 ExtendedMockito.when(VoiceInputUtils.getCurrentService(mContext)).thenReturn(null); in getCurrentDefaultKey_defaultIsNull_returnsNull()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
D | AccessibilityShortcutFragment.java | 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
|
D | AccessibilityShortcutServiceFragment.java | 54 AccessibilityShortcutFragment.getCurrentService(getContext()); 87 final String currentService = AccessibilityShortcutFragment.getCurrentService(getContext()); in onCreatePreferences()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/accessibility/ |
D | AccessibilityShortcutServiceState.java | 74 final String currentService = AccessibilityShortcutState.getCurrentService(mContext); in onCreate() 151 final String currentService = AccessibilityShortcutState.getCurrentService( in onPreferenceChange() 178 final String currentService = AccessibilityShortcutState.getCurrentService(mContext); in updateSelection()
|
D | AccessibilityShortcutState.java | 136 final String currentService = getCurrentService(mContext); in updateServicePrefSummary() 173 public static String getCurrentService(Context context) { in getCurrentService() method in AccessibilityShortcutState
|
/packages/apps/Settings/src/com/android/settings/language/ |
D | DefaultVoiceInputPicker.java | 70 final ComponentName currentService = getCurrentService(mHelper); in getDefaultKey() 90 public static ComponentName getCurrentService(VoiceInputHelper helper) { in getCurrentService() method in DefaultVoiceInputPicker
|
D | DefaultVoiceInputPreferenceController.java | 130 final ComponentName currentService = DefaultVoiceInputPicker.getCurrentService(mHelper); in getDefaultAppKey()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/ |
D | DefaultVoiceInputPickerEntryPreferenceController.java | 81 ComponentName currentVoiceService = VoiceInputUtils.getCurrentService(getContext()); in getDefaultAvailabilityStatus() 104 VoiceInputUtils.getCurrentService(getContext())); in getCurrentDefaultAppInfo()
|
D | DefaultVoiceInputPickerPreferenceController.java | 61 VoiceInputUtils.getCurrentService(getContext()))) { in DefaultVoiceInputPickerPreferenceController() 93 ComponentName cn = VoiceInputUtils.getCurrentService(getContext()); in getCurrentDefaultKey()
|
D | VoiceInputUtils.java | 34 static ComponentName getCurrentService(Context context) { in getCurrentService() method in VoiceInputUtils
|