Searched refs:mCarAssistUtils (Results 1 – 4 of 4) sorted by relevance
78 private CarAssistUtils mCarAssistUtils; field in NotificationClickHandlerFactory86 mCarAssistUtils = null; in NotificationClickHandlerFactory()93 mCarAssistUtils = carAssistUtils; in setCarAssistUtils()193 if (mCarAssistUtils == null) {194 mCarAssistUtils = new CarAssistUtils(context);203 mCarAssistUtils.requestAssistantVoiceAction(226 if (mCarAssistUtils == null) {227 mCarAssistUtils = new CarAssistUtils(context);236 mCarAssistUtils.requestAssistantVoiceAction(
88 private CarAssistUtils mCarAssistUtils; field in CarNotificationActionsViewTest135 when(mCarAssistUtils.hasActiveAssistant()).thenReturn(true); in setup()136 when(mCarAssistUtils.isFallbackAssistantEnabled()).thenReturn(false); in setup()215 when(mCarAssistUtils.hasActiveAssistant()).thenReturn(false); in onBind_carCompatibleMessage_noAssistantNoFallback_playButtonIsHidden()216 when(mCarAssistUtils.isFallbackAssistantEnabled()).thenReturn(false); in onBind_carCompatibleMessage_noAssistantNoFallback_playButtonIsHidden()230 when(mCarAssistUtils.hasActiveAssistant()).thenReturn(false); in onBind_carCompatibleMessage_noAssistantWithFallback_playButtonIsVisible()231 when(mCarAssistUtils.isFallbackAssistantEnabled()).thenReturn(true); in onBind_carCompatibleMessage_noAssistantWithFallback_playButtonIsVisible()465 mCarAssistUtils) { in finishInflateWithIsCall()
69 private final CarAssistUtils mCarAssistUtils; field in CarNotificationActionsView126 mCarAssistUtils = carAssistUtils; in CarNotificationActionsView()200 boolean canPlayMessage = mEnablePlay && mCarAssistUtils.hasActiveAssistant() in bind()201 || mCarAssistUtils.isFallbackAssistantEnabled(); in bind()202 boolean canReplyMessage = mEnableDirectReply && mCarAssistUtils.hasActiveAssistant() in bind()
110 private CarAssistUtils mCarAssistUtils; field in NotificationClickHandlerFactoryTest167 mNotificationClickHandlerFactory.setCarAssistUtils(mCarAssistUtils); in setUp()317 verify(mCarAssistUtils, never()).requestAssistantVoiceAction(any(), any(), any()); in onClickPlayClickHandler_notCarCompatibleMessage_returnsImmediately()325 verify(mCarAssistUtils).requestAssistantVoiceAction(any(), any(), any()); in onClickPlayClickHandler_isCarCompatibleMessage_requestsAssistantVoiceAction()