Home
last modified time | relevance | path

Searched refs:getNotifications (Results 1 – 10 of 10) sorted by relevance

/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DCarNotificationListenerTest.java133 assertThat(mCarNotificationListener.getNotifications().containsKey( in onNotificationPosted_isHun_isForCurrentUser_doesNotAddItToActiveNotifications()
156 assertThat(mCarNotificationListener.getNotifications().containsKey( in onNotificationPosted_isHun_isForAllUsers_doesNotAddItToActiveNotifications()
191 assertThat(mCarNotificationListener.getNotifications().containsKey( in onNotificationPosted_isNotHun_isForCurrentUser_addsItToActiveNotifications()
228 assertThat(mCarNotificationListener.getNotifications().containsKey( in onNotificationPosted_isNotHun_isForAllUsers_addsItToActiveNotifications()
291 mCarNotificationListener.getNotifications().put(alertEntry.getKey(), alertEntry); in onNotificationRemoved_notificationPreviouslyAdded_removesNotification()
295 assertThat(mCarNotificationListener.getNotifications().containsKey(alertEntry.getKey())) in onNotificationRemoved_notificationPreviouslyAdded_removesNotification()
H A DCarNotificationViewTest.java233 assertThat(mCarNotificationView.getNotifications()).isEqualTo(notifications); in removeNotification_notificationNotRemoved()
247 assertThat(mCarNotificationView.getNotifications()).isEqualTo(List.of(notDismissible)); in removeNotification_notificationRemoved_wholeGroupRemoved()
261 assertThat(mCarNotificationView.getNotifications().toString()) in removeNotification_notificationRemoved_partOfGroupRemoved()
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DNotificationViewController.java101 mPreprocessingManager.init(mCarNotificationListener.getNotifications(), in resetNotifications()
106 + mCarNotificationListener.getNotifications()); in resetNotifications()
111 mCarNotificationListener.getNotifications(), in resetNotifications()
H A DCarNotificationListener.java217 Map<String, AlertEntry> getNotifications() { in getNotifications() method in CarNotificationListener
H A DCarNotificationView.java144 List<NotificationGroup> getNotifications() { in getNotifications() method in CarNotificationView
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DSnoozeHelperTest.java486 mSnoozeHelper.getNotifications("pkg", "group", UserHandle.USER_CURRENT).size());
502 mSnoozeHelper.getNotifications("pkg", "group", UserHandle.USER_CURRENT).size());
H A DNotificationManagerServiceTest.java2827 when(mSnoozeHelper.getNotifications( in testSnoozeRunnable_reSnoozeMultipleNotificationsWithGroupKey()
2834 when(mSnoozeHelper.getNotifications(anyString(), anyString(), anyInt())) in testSnoozeRunnable_reSnoozeMultipleNotificationsWithGroupKey()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DSnoozeHelper.java181 ArrayList<NotificationRecord> getNotifications(String pkg, in getNotifications() method in SnoozeHelper
H A DNotificationManagerService.java8936 List<NotificationRecord> records = mSnoozeHelper.getNotifications(pkg, groupKey, userId);
/aosp12/frameworks/base/services/
H A Dart-profile27542 PLcom/android/server/notification/SnoozeHelper;->getNotifications(Ljava/lang/String;Ljava/lang/Stri…