Searched refs:mCarNotificationListener (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | CarNotificationListenerTest.java | 57 private CarNotificationListener mCarNotificationListener; field in CarNotificationListenerTest 76 mCarNotificationListener = new CarNotificationListener(); in setup() 77 mCarNotificationListener.setHandler(mHandler); in setup() 79 mCarNotificationListener.registerAsSystemService(mContext, mCarUxRestrictionManagerWrapper, in setup() 95 mCarNotificationListener.onNotificationPosted(mStatusBarNotification, mRankingMap); in onNotificationPosted_isHun_notForCurrentUser_ignoresTheEvent() 107 mCarNotificationListener.onNotificationPosted(mStatusBarNotification, mRankingMap); in onNotificationPosted_isNotHun_notForCurrentUser_ignoresTheEvent() 119 mCarNotificationListener.onNotificationPosted(mStatusBarNotification, mRankingMap); in onNotificationPosted_isHun_isForCurrentUser_addsAlertEntryToDataManager() 130 mCarNotificationListener.onNotificationPosted(mStatusBarNotification, mRankingMap); in onNotificationPosted_isHun_isForCurrentUser_doesNotAddItToActiveNotifications() 132 assertThat(mCarNotificationListener.getNotifications().containsKey( in onNotificationPosted_isHun_isForCurrentUser_doesNotAddItToActiveNotifications() 142 mCarNotificationListener.onNotificationPosted(mStatusBarNotification, mRankingMap); in onNotificationPosted_isHun_isForAllUsers_addsAlertEntryToDataManager() [all …]
|
/packages/services/Car/tests/SecondaryHomeApp/src/com/android/car/secondaryhome/launcher/ |
D | NotificationViewController.java | 35 private final NotificationListener mCarNotificationListener; field in NotificationViewController 45 mCarNotificationListener = carNotificationListener; in NotificationViewController() 55 if (mCarNotificationListener != null) { in enable() 56 mCarNotificationListener.setHandler(mNotificationUpdateHandler); in enable() 64 if (mCarNotificationListener != null) { in disable() 65 mCarNotificationListener.setHandler(null); in disable() 87 mCarNotificationListener.getNotifications(), in resetNotifications() 88 mCarNotificationListener.getCurrentRanking()); in resetNotifications() 92 mCarNotificationListener.getNotifications(), in resetNotifications() 93 mCarNotificationListener.getCurrentRanking()); in resetNotifications()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationViewController.java | 23 private final CarNotificationListener mCarNotificationListener; field in NotificationViewController 37 mCarNotificationListener = carNotificationListener; in NotificationViewController() 65 mCarNotificationListener.setHandler(mNotificationUpdateHandler); in enable() 80 mCarNotificationListener.setHandler(null); in disable() 101 mCarNotificationListener.getNotifications(), in resetNotifications() 102 mCarNotificationListener.getCurrentRanking()); in resetNotifications() 106 mCarNotificationListener.getNotifications(), in resetNotifications() 107 mCarNotificationListener.getCurrentRanking()); in resetNotifications() 111 .anyMatch(mCarNotificationListener::shouldTrackUnseen)) in resetNotifications() 126 mCarNotificationListener.getCurrentRanking())) { in updateNotifications() [all …]
|