/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
D | CarAssistUtils.java | 71 private final AssistUtils mAssistUtils; field in CarAssistUtils 108 mAssistUtils = new AssistUtils(context); in CarAssistUtils() 119 return mAssistUtils.getActiveServiceComponentName() != null; in hasActiveAssistant() 132 final String activeComponent = mAssistUtils.getActiveServiceComponentName() in assistantIsNotificationListener() 353 if (mAssistUtils.showSessionForActiveService(payloadArguments, in fireAssistantAction() 365 mAssistUtils.getActiveServiceSupportedActions(actionSet, actionCheckCallback); in fireAssistantAction()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAssistantPickerEntryPreferenceController.java | 50 private final AssistUtils mAssistUtils; field in DefaultAssistantPickerEntryPreferenceController 55 mAssistUtils = new AssistUtils(context); in DefaultAssistantPickerEntryPreferenceController() 61 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in getCurrentDefaultAppInfo() 84 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in getSettingIntent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/ |
D | DefaultAssistPreferenceController.java | 42 private final AssistUtils mAssistUtils; field in DefaultAssistPreferenceController 52 mAssistUtils = new AssistUtils(context); in DefaultAssistPreferenceController() 69 final ComponentName cn = mAssistUtils.getAssistComponentForUser(mUserId); in getSettingIntent() 112 final ComponentName cn = mAssistUtils.getAssistComponentForUser(mUserId); in getDefaultAppInfo()
|
D | AssistContextPreferenceController.java | 45 private final AssistUtils mAssistUtils; field in AssistContextPreferenceController 53 mAssistUtils = new AssistUtils(context); in AssistContextPreferenceController() 63 return mAssistUtils.getAssistComponentForUser(UserHandle.myUserId()) != null; in isAvailable()
|
D | AssistScreenshotPreferenceController.java | 45 private final AssistUtils mAssistUtils; field in AssistScreenshotPreferenceController 53 mAssistUtils = new AssistUtils(context); in AssistScreenshotPreferenceController() 62 return mAssistUtils.getAssistComponentForUser(UserHandle.myUserId()) != null; in isAvailable()
|
D | DefaultVoiceInputPreferenceController.java | 44 private AssistUtils mAssistUtils; field in DefaultVoiceInputPreferenceController 52 mAssistUtils = new AssistUtils(context); in DefaultVoiceInputPreferenceController() 66 mAssistUtils.getAssistComponentForUser(mUserId); in isAvailable()
|
D | AssistFlashScreenPreferenceController.java | 47 private final AssistUtils mAssistUtils; field in AssistFlashScreenPreferenceController 54 mAssistUtils = new AssistUtils(context); in AssistFlashScreenPreferenceController() 139 return mAssistUtils.getAssistComponentForUser(UserHandle.myUserId()); in getCurrentAssist()
|
D | DefaultVoiceInputPicker.java | 38 private AssistUtils mAssistUtils; field in DefaultVoiceInputPicker 49 mAssistUtils = new AssistUtils(context); in onAttach() 129 return mAssistUtils.getAssistComponentForUser(mUserId); in getCurrentAssist()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/ |
D | DefaultVoiceInputPickerPreferenceController.java | 40 private final AssistUtils mAssistUtils; field in DefaultVoiceInputPickerPreferenceController 49 mAssistUtils = new AssistUtils(context); in DefaultVoiceInputPickerPreferenceController() 51 if (Objects.equals(mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()), in DefaultVoiceInputPickerPreferenceController() 53 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in DefaultVoiceInputPickerPreferenceController()
|
D | ManageAssistEntryPreferenceController.java | 37 private final AssistUtils mAssistUtils; field in ManageAssistEntryPreferenceController 42 mAssistUtils = new AssistUtils(context); in ManageAssistEntryPreferenceController() 52 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in getCurrentDefaultAppInfo()
|
D | DefaultVoiceInputPickerEntryPreferenceController.java | 60 private final AssistUtils mAssistUtils; field in DefaultVoiceInputPickerEntryPreferenceController 66 mAssistUtils = new AssistUtils(context); in DefaultVoiceInputPickerEntryPreferenceController() 72 ComponentName currentAssist = mAssistUtils.getAssistComponentForUser( in getAvailabilityStatus()
|
D | AssistConfigBasePreferenceController.java | 42 private final AssistUtils mAssistUtils; field in AssistConfigBasePreferenceController 48 mAssistUtils = new AssistUtils(context); in AssistConfigBasePreferenceController() 61 return mAssistUtils.getAssistComponentForUser(userId) != null ? AVAILABLE in getAvailabilityStatus()
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | DefaultAssistPreferenceController.java | 42 private final AssistUtils mAssistUtils; field in DefaultAssistPreferenceController 52 mAssistUtils = new AssistUtils(context); in DefaultAssistPreferenceController() 69 final ComponentName cn = mAssistUtils.getAssistComponentForUser(mUserId); in getSettingIntent() 112 final ComponentName cn = mAssistUtils.getAssistComponentForUser(mUserId); in getDefaultAppInfo()
|
D | AssistContextPreferenceController.java | 45 private final AssistUtils mAssistUtils; field in AssistContextPreferenceController 53 mAssistUtils = new AssistUtils(context); in AssistContextPreferenceController() 63 return mAssistUtils.getAssistComponentForUser(UserHandle.myUserId()) != null; in isAvailable()
|
D | AssistScreenshotPreferenceController.java | 45 private final AssistUtils mAssistUtils; field in AssistScreenshotPreferenceController 53 mAssistUtils = new AssistUtils(context); in AssistScreenshotPreferenceController() 62 return mAssistUtils.getAssistComponentForUser(UserHandle.myUserId()) != null; in isAvailable()
|
D | AssistFlashScreenPreferenceController.java | 47 private final AssistUtils mAssistUtils; field in AssistFlashScreenPreferenceController 54 mAssistUtils = new AssistUtils(context); in AssistFlashScreenPreferenceController() 139 return mAssistUtils.getAssistComponentForUser(UserHandle.myUserId()); in getCurrentAssist()
|
D | DefaultVoiceInputPreferenceController.java | 44 private AssistUtils mAssistUtils; field in DefaultVoiceInputPreferenceController 52 mAssistUtils = new AssistUtils(context); in DefaultVoiceInputPreferenceController() 66 mAssistUtils.getAssistComponentForUser(mUserId); in isAvailable()
|
D | DefaultVoiceInputPicker.java | 38 private AssistUtils mAssistUtils; field in DefaultVoiceInputPicker 49 mAssistUtils = new AssistUtils(context); in onAttach() 129 return mAssistUtils.getAssistComponentForUser(mUserId); in getCurrentAssist()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 83 @Mock AssistUtils mAssistUtils; field in CarInputServiceTest 96 mTelecomManager, mAssistUtils, mDefaultMainListener, mLastCallSupplier, in setUp() 196 when(mAssistUtils.getAssistComponentForUser(anyInt())) in voiceKey_shortPress_withoutRegisteredEventHandler_triggersAssistUtils() 203 verify(mAssistUtils).showSessionForActiveService( in voiceKey_shortPress_withoutRegisteredEventHandler_triggersAssistUtils() 214 when(mAssistUtils.getAssistComponentForUser(anyInt())) in voiceKey_longPress_withoutRegisteredEventHandler_triggersAssistUtils() 221 verify(mAssistUtils).showSessionForActiveService( in voiceKey_longPress_withoutRegisteredEventHandler_triggersAssistUtils() 230 verifyNoMoreInteractions(ignoreStubs(mAssistUtils)); in voiceKey_longPress_withoutRegisteredEventHandler_triggersAssistUtils()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarInputService.java | 147 private final AssistUtils mAssistUtils; field in CarInputService 290 mAssistUtils = assistUtils; in CarInputService() 563 if (mAssistUtils.getAssistComponentForUser(ActivityManager.getCurrentUser()) == null) { in launchDefaultVoiceAssistantHandler() 571 mAssistUtils.showSessionForActiveService(args, in launchDefaultVoiceAssistantHandler()
|