Home
last modified time | relevance | path

Searched refs:AssistUtils (Results 1 – 24 of 24) sorted by relevance

/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DAssistUtilsHelper.java30 import com.android.internal.app.AssistUtils;
70 AssistUtils assistUtils = getAssistUtils(context); in isSessionRunning()
81 AssistUtils assistUtils = getAssistUtils(context); in hideCurrentSession()
97 AssistUtils assistUtils = getAssistUtils(context); in registerVoiceInteractionSessionListenerHelper()
113 AssistUtils assistUtils = getAssistUtils(context); in showPushToTalkSessionForActiveService()
134 private static AssistUtils getAssistUtils(@NonNull Context context) { in getAssistUtils()
136 return new AssistUtils(context); in getAssistUtils()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DAssistUtils.java24 public class AssistUtils implements ResourceBasedOverride { class
26 public AssistUtils() {} in AssistUtils() method in AssistUtils
29 public static AssistUtils newInstance(Context context) { in newInstance()
30 return Overrides.getObject(AssistUtils.class, context, R.string.assist_utils_class); in newInstance()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DAssistFlashScreenPreferenceController.java30 import com.android.internal.app.AssistUtils;
47 private final AssistUtils mAssistUtils;
54 mAssistUtils = new AssistUtils(context); in AssistFlashScreenPreferenceController()
125 return AssistUtils.shouldDisclose(mContext, assistant); in willShowFlash()
130 return AssistUtils.isPreinstalledAssistant(mContext, assistant); in isPreInstalledAssistant()
135 return AssistUtils.allowDisablingAssistDisclosure(mContext); in allowDisablingAssistDisclosure()
DAssistContextPreferenceController.java28 import com.android.internal.app.AssistUtils;
45 private final AssistUtils mAssistUtils;
53 mAssistUtils = new AssistUtils(context); in AssistContextPreferenceController()
DDefaultAssistPreferenceController.java33 import com.android.internal.app.AssistUtils;
42 private final AssistUtils mAssistUtils;
52 mAssistUtils = new AssistUtils(context); in DefaultAssistPreferenceController()
DAssistScreenshotPreferenceController.java28 import com.android.internal.app.AssistUtils;
45 private final AssistUtils mAssistUtils;
53 mAssistUtils = new AssistUtils(context); in AssistScreenshotPreferenceController()
/packages/services/Car/tests/CarVoiceServiceTriggerApp/src/com/android/voicetrigger/
DVoiceTriggerReceiver.java25 import com.android.internal.app.AssistUtils;
38 AssistUtils assistUtils = new AssistUtils(context); in onReceive()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceController.java34 import com.android.internal.app.AssistUtils;
43 private final AssistUtils mAssistUtils;
47 this(context, preferenceKey, fragmentController, uxRestrictions, new AssistUtils(context)); in AssistConfigBasePreferenceController()
53 AssistUtils assistUtils) { in AssistConfigBasePreferenceController()
DDefaultVoiceInputPickerEntryPreferenceController.java34 import com.android.internal.app.AssistUtils;
62 private final AssistUtils mAssistUtils;
67 new VoiceInputInfoProvider(context), new AssistUtils(context)); in DefaultVoiceInputPickerEntryPreferenceController()
73 VoiceInputInfoProvider voiceInputInfoProvider, AssistUtils assistUtils) { in DefaultVoiceInputPickerEntryPreferenceController()
DAssistantAndVoiceEntryPreferenceController.java28 import com.android.internal.app.AssistUtils;
37 private final AssistUtils mAssistUtils;
42 mAssistUtils = new AssistUtils(context); in AssistantAndVoiceEntryPreferenceController()
DDefaultVoiceInputPickerPreferenceController.java30 import com.android.internal.app.AssistUtils;
41 private final AssistUtils mAssistUtils;
49 this(context, preferenceKey, fragmentController, uxRestrictions, new AssistUtils(context), in DefaultVoiceInputPickerPreferenceController()
56 AssistUtils assistUtils, VoiceInputInfoProvider voiceInputInfoProvider) { in DefaultVoiceInputPickerPreferenceController()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/assistant/
DCarAssistantFragment.java33 import com.android.internal.app.AssistUtils;
69 AssistUtils assistUtils = new AssistUtils(context); in onViewCreated()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarNavButtonController.java19 import static com.android.internal.app.AssistUtils.INVOCATION_TYPE_HOME_BUTTON_LONG_PRESS;
20 import static com.android.internal.app.AssistUtils.INVOCATION_TYPE_KEY;
51 import com.android.quickstep.util.AssistUtils;
111 private final AssistUtils mAssistUtils;
121 AssistUtils assistUtils) { in TaskbarNavButtonController()
DTaskbarManager.java74 import com.android.quickstep.util.AssistUtils;
246 AssistUtils.newInstance(mContext)); in TaskbarManager()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DAssistantButton.java30 import com.android.internal.app.AssistUtils;
41 private final AssistUtils mAssistUtils;
57 mAssistUtils = new AssistUtils(context); in AssistantButton()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/
DDefaultAssistPreferenceControllerTest.java42 import com.android.internal.app.AssistUtils;
138 final AssistUtils assistUtils = mock(AssistUtils.class); in getSettingIntent_doNotShowSetting_shouldNotTryToGetSettingIntent()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceControllerTest.java48 import com.android.internal.app.AssistUtils;
79 private AssistUtils mMockAssistUtils;
212 AssistUtils assistUtils) { in TestAssistConfigBasePreferenceController()
DDefaultVoiceInputPickerPreferenceControllerTest.java39 import com.android.internal.app.AssistUtils;
71 private AssistUtils mMockAssistUtils;
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java52 import com.android.internal.app.AssistUtils;
82 private AssistUtils mMockAssistUtils;
/packages/apps/Car/systemlibs/car-assist-client-lib/src/com/android/car/assist/client/
DCarAssistUtils.java39 import com.android.internal.app.AssistUtils;
71 private final AssistUtils mAssistUtils;
109 mAssistUtils = new AssistUtils(context); in CarAssistUtils()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DAssistantInputConsumer.java27 import static com.android.internal.app.AssistUtils.INVOCATION_TYPE_GESTURE;
28 import static com.android.internal.app.AssistUtils.INVOCATION_TYPE_KEY;
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/
DTaskbarNavButtonControllerTest.java37 import com.android.quickstep.util.AssistUtils;
57 AssistUtils mockAssistUtils;
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSystemUiProxy.java71 import com.android.quickstep.util.AssistUtils;
290 AssistUtils.newInstance(mContext).getSysUiAssistOverrideInvocationTypes()); in setProxy()
DTouchInteractionService.java125 import com.android.quickstep.util.AssistUtils;
300 if (!AssistUtils.newInstance(tis).tryStartAssistOverride(invocationType)) { in onAssistantOverrideInvoked()