Home
last modified time | relevance | path

Searched refs:hasActiveAssistant (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/systemlibs/car-assist-client-lib/src/com/android/car/assist/client/
DCarAssistUtils.java120 public boolean hasActiveAssistant() { in hasActiveAssistant() method in CarAssistUtils
135 if (!hasActiveAssistant()) { in assistantIsNotificationListener()
357 if (!hasActiveAssistant()) { in requestAction()
423 if (hasActiveAssistant()) { in handleFallback()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java135 when(mCarAssistUtils.hasActiveAssistant()).thenReturn(true); in setup()
215 when(mCarAssistUtils.hasActiveAssistant()).thenReturn(false); in onBind_carCompatibleMessage_noAssistantNoFallback_playButtonIsHidden()
230 when(mCarAssistUtils.hasActiveAssistant()).thenReturn(false); in onBind_carCompatibleMessage_noAssistantWithFallback_playButtonIsVisible()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java200 boolean canPlayMessage = mEnablePlay && mCarAssistUtils.hasActiveAssistant() in bind()
202 boolean canReplyMessage = mEnableDirectReply && mCarAssistUtils.hasActiveAssistant() in bind()