Home
last modified time | relevance | path

Searched refs:mNotificationClickHandlerFactory (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationClickHandlerFactoryTest.java81 private NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in NotificationClickHandlerFactoryTest
118 mNotificationClickHandlerFactory = new NotificationClickHandlerFactory(mBarService); in setUp()
167 mNotificationClickHandlerFactory.setCarAssistUtils(mCarAssistUtils); in setUp()
177 mNotificationClickHandlerFactory.registerClickListener(mListener1); in onClickClickHandler_noIntent_returnsImmediately()
182 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_noIntent_returnsImmediately()
195 mNotificationClickHandlerFactory.registerClickListener(mListener1); in onClickClickHandler_intentExists_callsBarServiceNotificationClicked()
197 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_intentExists_callsBarServiceNotificationClicked()
209 mNotificationClickHandlerFactory.registerClickListener(mListener1); in onClickClickHandler_intentExists_invokesRegisteredClickListeners()
211 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_intentExists_invokesRegisteredClickListeners()
222 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
[all …]
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java84 private NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in CarNotificationActionsViewTest
119 when(mNotificationClickHandlerFactory in setup()
122 when(mNotificationClickHandlerFactory in setup()
125 when(mNotificationClickHandlerFactory in setup()
129 when(mNotificationClickHandlerFactory in setup()
132 when(mNotificationClickHandlerFactory.getReplyAction(any(Notification.class))) in setup()
152 mCarNotificationActionsView.bind(mNotificationClickHandlerFactory, in onBind_noAction_doesNotCreateButtons()
167 mCarNotificationActionsView.bind(mNotificationClickHandlerFactory, in onBind_actionExists_isCarCompatibleMessage_playButtonIsVisible()
179 mCarNotificationActionsView.bind(mNotificationClickHandlerFactory, in onBind_actionExists_isCarCompatibleMessage_playButtonHasClickListener()
191 mCarNotificationActionsView.bind(mNotificationClickHandlerFactory, in onBind_actionExists_isCarCompatibleMessage_playButtonShowsPlayLabel()
[all …]
DGroupNotificationViewHolderTest.java73 private NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in GroupNotificationViewHolderTest
87 mNotificationClickHandlerFactory); in setup()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewController.java83 private final NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in NotificationPanelViewController
144 mNotificationClickHandlerFactory = notificationClickHandlerFactory; in NotificationPanelViewController()
307 mNotificationClickHandlerFactory.registerClickListener((launchResult, alertEntry) -> { in onNotificationViewInflated()
330 mNotificationView.setClickHandlerFactory(mNotificationClickHandlerFactory); in onNotificationViewInflated()
445 if (mNotificationClickHandlerFactory != null) { in onCarPowerStateOn()
446 mNotificationClickHandlerFactory.clearAllNotifications(mContext); in onCarPowerStateOn()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java94 private NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in CarNotificationActionsView
187 mNotificationClickHandlerFactory = clickHandlerFactory; in bind()
240 mNotificationClickHandlerFactory = null; in reset()
336 if (mNotificationClickHandlerFactory == null || mAlertEntry == null) { in onCallStateChanged()
350 bind(mNotificationClickHandlerFactory, mAlertEntry); in onCallStateChanged()