Home
last modified time | relevance | path

Searched refs:VoiceInputInfoProvider (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerPreferenceController.java41 private final VoiceInputInfoProvider mVoiceInputInfoProvider;
50 mVoiceInputInfoProvider = new VoiceInputInfoProvider(context); in DefaultVoiceInputPickerPreferenceController()
64 for (VoiceInputInfoProvider.VoiceInteractionInfo info : in getCandidates()
73 for (VoiceInputInfoProvider.VoiceRecognitionInfo info : in getCandidates()
94 VoiceInputInfoProvider.VoiceInputInfo info = mVoiceInputInfoProvider.getInfoForComponent( in setCurrentDefault()
97 if (info instanceof VoiceInputInfoProvider.VoiceInteractionInfo) { in setCurrentDefault()
98 VoiceInputInfoProvider.VoiceInteractionInfo interactionInfo = in setCurrentDefault()
99 (VoiceInputInfoProvider.VoiceInteractionInfo) info; in setCurrentDefault()
107 } else if (info instanceof VoiceInputInfoProvider.VoiceRecognitionInfo) { in setCurrentDefault()
DDefaultVoiceInputServiceInfo.java25 import com.android.car.settings.applications.assist.VoiceInputInfoProvider.VoiceInteractionInfo;
26 import com.android.car.settings.applications.assist.VoiceInputInfoProvider.VoiceRecognitionInfo;
32 private VoiceInputInfoProvider.VoiceInputInfo mInfo;
42 VoiceInputInfoProvider.VoiceInputInfo info, boolean enabled) { in DefaultVoiceInputServiceInfo()
DDefaultVoiceInputPickerEntryPreferenceController.java59 private final VoiceInputInfoProvider mVoiceInputInfoProvider;
65 mVoiceInputInfoProvider = new VoiceInputInfoProvider(context); in DefaultVoiceInputPickerEntryPreferenceController()
93 VoiceInputInfoProvider.VoiceInputInfo info = mVoiceInputInfoProvider.getInfoForComponent( in getCurrentDefaultAppInfo()
DVoiceInputInfoProvider.java55 public class VoiceInputInfoProvider { class
57 private static final Logger LOG = new Logger(VoiceInputInfoProvider.class);
71 public VoiceInputInfoProvider(Context context) { in VoiceInputInfoProvider() method in VoiceInputInfoProvider
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerPreferenceControllerTest.java81 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, resolveInfo); in getCandidates_voiceInteractionService_hasOneElement()
94 VoiceInputInfoProvider.VOICE_RECOGNITION_SERVICE_TAG, resolveInfo); in getCandidates_voiceRecognitionService_hasOneElement()
109 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, interactionInfo); in getCandidates_oneIsSameAsAssistant_hasTwoElements()
118 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, interactionInfo2); in getCandidates_oneIsSameAsAssistant_hasTwoElements()
138 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, interactionInfo); in getCandidates_oneIsSameAsAssistant_sameOneIsEnabled()
147 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, interactionInfo2); in getCandidates_oneIsSameAsAssistant_sameOneIsEnabled()
174 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, interactionInfo); in getCandidates_oneIsSameAsAssistant_differentOneIsDisabled()
183 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, interactionInfo2); in getCandidates_oneIsSameAsAssistant_differentOneIsDisabled()
226 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, resolveInfo); in setCurrentDefault_typeVoiceInteractionInfo_setsServices()
248 VoiceInputInfoProvider.VOICE_RECOGNITION_SERVICE_TAG, resolveInfo); in setCurrentDefault_typeVoiceRecognitionInfo_setsRecognitionService()
DVoiceInputInfoProviderTest.java67 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, resolveInfo); in getInteractionInfoList_hasElement()
69 VoiceInputInfoProvider provider = new VoiceInputInfoProvider(mContext); in getInteractionInfoList_hasElement()
81 VoiceInputInfoProvider.VOICE_RECOGNITION_SERVICE_TAG, otherInfo); in getRecognitionInfoList_hasElement()
83 VoiceInputInfoProvider provider = new VoiceInputInfoProvider(mContext); in getRecognitionInfoList_hasElement()
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java171 VoiceInputInfoProvider.VOICE_INTERACTION_SERVICE_TAG, resolveInfo); in getCurrentDefaultAppInfo_providerHasCurrentService_returnsValidDefaultAppInfo()
212 VoiceInputInfoProvider.VoiceInputInfo info = in getSettingIntent_validInput_returnsIntent()
213 new VoiceInputInfoProvider.VoiceInteractionInfo(mContext, interactionServiceInfo); in getSettingIntent_validInput_returnsIntent()