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.java80 private NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in NotificationClickHandlerFactoryTest
117 mNotificationClickHandlerFactory = new NotificationClickHandlerFactory(mBarService); in setUp()
166 mNotificationClickHandlerFactory.setCarAssistUtils(mCarAssistUtils); in setUp()
176 mNotificationClickHandlerFactory.registerClickListener(mListener1); in onClickClickHandler_noIntent_returnsImmediately()
181 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_noIntent_returnsImmediately()
194 mNotificationClickHandlerFactory.registerClickListener(mListener1); in onClickClickHandler_intentExists_callsBarServiceNotificationClicked()
196 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_intentExists_callsBarServiceNotificationClicked()
208 mNotificationClickHandlerFactory.registerClickListener(mListener1); in onClickClickHandler_intentExists_invokesRegisteredClickListeners()
210 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_intentExists_invokesRegisteredClickListeners()
221 mNotificationClickHandlerFactory.getClickHandler(mAlertEntry1).onClick(mView); in onClickClickHandler_shouldAutoCancel_callsBarServiceOnNotificationClear()
[all …]
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java76 private NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in CarNotificationActionsViewTest
104 when(mNotificationClickHandlerFactory in setup()
107 when(mNotificationClickHandlerFactory in setup()
110 when(mNotificationClickHandlerFactory in setup()
114 when(mNotificationClickHandlerFactory in setup()
117 when(mNotificationClickHandlerFactory.getReplyAction(any(Notification.class))) in setup()
137 mCarNotificationActionsView.bind(mNotificationClickHandlerFactory, in onBind_noAction_doesNotCreateButtons()
152 mCarNotificationActionsView.bind(mNotificationClickHandlerFactory, in onBind_actionExists_isCarCompatibleMessage_playButtonIsVisible()
164 mCarNotificationActionsView.bind(mNotificationClickHandlerFactory, in onBind_actionExists_isCarCompatibleMessage_playButtonHasClickListener()
176 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(); in onCarPowerStateOn()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java96 private NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in CarNotificationActionsView
190 mNotificationClickHandlerFactory = clickHandlerFactory; in bind()
242 mNotificationClickHandlerFactory = null; in reset()
338 if (mNotificationClickHandlerFactory == null || mAlertEntry == null) { in onCallStateChanged()
352 bind(mNotificationClickHandlerFactory, mAlertEntry); in onCallStateChanged()