Home
last modified time | relevance | path

Searched refs:assistUtils (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DAssistUtilsHelper.java70 AssistUtils assistUtils = getAssistUtils(context); in isSessionRunning() local
72 return assistUtils.isSessionRunning(); in isSessionRunning()
81 AssistUtils assistUtils = getAssistUtils(context); in hideCurrentSession() local
83 assistUtils.hideCurrentSession(); in hideCurrentSession()
97 AssistUtils assistUtils = getAssistUtils(context); in registerVoiceInteractionSessionListenerHelper() local
99 assistUtils.registerVoiceInteractionSessionListener( in registerVoiceInteractionSessionListenerHelper()
113 AssistUtils assistUtils = getAssistUtils(context); in showPushToTalkSessionForActiveService() local
117 if (assistUtils.getAssistComponentForUser(currentUserId) == null) { in showPushToTalkSessionForActiveService()
130 return assistUtils.showSessionForActiveService(args, SHOW_SOURCE_PUSH_TO_TALK, in showPushToTalkSessionForActiveService()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/assistant/
DCarAssistantFragment.java69 AssistUtils assistUtils = new AssistUtils(context); in onViewCreated()
71 if (assistUtils.getAssistComponentForUser(ActivityManager.getCurrentUser()) == null) { in onViewCreated()
80 boolean success = assistUtils.showSessionForActiveService(args, in onViewCreated()
/packages/services/Car/tests/CarVoiceServiceTriggerApp/src/com/android/voicetrigger/
DVoiceTriggerReceiver.java38 AssistUtils assistUtils = new AssistUtils(context); in onReceive() local
39 assistUtils.showSessionForActiveService(new Bundle(), in onReceive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/
DDefaultAssistPreferenceControllerTest.java138 final AssistUtils assistUtils = mock(AssistUtils.class); in getSettingIntent_doNotShowSetting_shouldNotTryToGetSettingIntent() local
141 ReflectionHelpers.setField(controller, "mAssistUtils", assistUtils); in getSettingIntent_doNotShowSetting_shouldNotTryToGetSettingIntent()
145 verifyNoInteractions(assistUtils); in getSettingIntent_doNotShowSetting_shouldNotTryToGetSettingIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceController.java53 AssistUtils assistUtils) { in AssistConfigBasePreferenceController() argument
55 mAssistUtils = assistUtils; in AssistConfigBasePreferenceController()
DDefaultVoiceInputPickerEntryPreferenceController.java73 VoiceInputInfoProvider voiceInputInfoProvider, AssistUtils assistUtils) { in DefaultVoiceInputPickerEntryPreferenceController() argument
76 mAssistUtils = assistUtils; in DefaultVoiceInputPickerEntryPreferenceController()
DDefaultVoiceInputPickerPreferenceController.java56 AssistUtils assistUtils, VoiceInputInfoProvider voiceInputInfoProvider) { in DefaultVoiceInputPickerPreferenceController() argument
58 mAssistUtils = assistUtils; in DefaultVoiceInputPickerPreferenceController()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceControllerTest.java212 AssistUtils assistUtils) { in TestAssistConfigBasePreferenceController() argument
213 super(context, preferenceKey, fragmentController, uxRestrictions, assistUtils); in TestAssistConfigBasePreferenceController()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarNavButtonController.java121 AssistUtils assistUtils) { in TaskbarNavButtonController() argument
126 mAssistUtils = assistUtils; in TaskbarNavButtonController()