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.java85 private final NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in NotificationPanelViewController
174 mNotificationClickHandlerFactory = notificationClickHandlerFactory; in NotificationPanelViewController()
309 mNotificationClickHandlerFactory.unregisterClickListener(mOnNotificationClickListener); in reinflate()
344 mNotificationClickHandlerFactory.registerClickListener(mOnNotificationClickListener); in onNotificationViewInflated()
365 mNotificationView.setClickHandlerFactory(mNotificationClickHandlerFactory); in onNotificationViewInflated()
472 if (mNotificationClickHandlerFactory != null) { in onCarPowerStateOn()
473 mNotificationClickHandlerFactory.clearAllNotifications(mContext); in onCarPowerStateOn()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java98 private NotificationClickHandlerFactory mNotificationClickHandlerFactory; field in CarNotificationActionsView
193 mNotificationClickHandlerFactory = clickHandlerFactory; in bind()
248 mNotificationClickHandlerFactory = null; in reset()
344 if (mNotificationClickHandlerFactory == null || mAlertEntry == null) { in onCallStateChanged()
358 bind(mNotificationClickHandlerFactory, mAlertEntry); in onCallStateChanged()