Home
last modified time | relevance | path

Searched refs:NotificationHandler (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNoManSimulator.java28 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
41 private final List<NotificationHandler> mListeners = new ArrayList<>();
47 public void addListener(NotificationHandler listener) { in addListener()
55 for (NotificationHandler listener : mListeners) { in postNotif()
64 for (NotificationHandler listener : mListeners) { in retractNotif()
72 for (NotificationHandler listener : mListeners) { in issueRankingUpdate()
79 for (NotificationHandler listener : mListeners) { in issueChannelModification()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayNotificationCountProviderTest.java31 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
77 final ArgumentCaptor<NotificationHandler> handlerArgumentCaptor = in testPostingNotificationCallsCallbackWithNotificationCount()
78 ArgumentCaptor.forClass(NotificationHandler.class); in testPostingNotificationCallsCallbackWithNotificationCount()
86 final ArgumentCaptor<NotificationHandler> handlerArgumentCaptor = in testRemovingNotificationCallsCallbackWithZeroNotificationCount()
87 ArgumentCaptor.forClass(NotificationHandler.class); in testRemovingNotificationCallsCallbackWithZeroNotificationCount()
95 final ArgumentCaptor<NotificationHandler> handlerArgumentCaptor = in testPostingOngoingNotificationDoesNotCallCallbackWithNotificationCount()
96 ArgumentCaptor.forClass(NotificationHandler.class); in testPostingOngoingNotificationDoesNotCallCallbackWithNotificationCount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java68 private final List<NotificationHandler> mNotificationHandlers = new ArrayList<>();
95 public void addNotificationHandler(NotificationHandler handler) { in addNotificationHandler()
132 for (NotificationHandler listener : mNotificationHandlers) { in onListenerConnected()
136 for (NotificationHandler listener : mNotificationHandlers) { in onListenerConnected()
150 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationPosted()
163 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationRemoved()
220 for (NotificationHandler handler : mNotificationHandlers) { in dispatchRankingUpdate()
231 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationChannelModified()
315 public interface NotificationHandler { interface in NotificationListener
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayNotificationCountProvider.java25 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
44 private final NotificationHandler mNotificationHandler = new NotificationHandler() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java34 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
128 private final NotificationHandler mListener = new NotificationHandler() {
345 public interface BatchableNotificationHandler extends NotificationHandler {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java41 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
60 @Mock private NotificationHandler mNotificationHandler;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java39 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
68 @Captor private ArgumentCaptor<NotificationHandler> mListenerCaptor;
89 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java109 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
771 private final NotificationHandler mListener = new NotificationHandler() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java115 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
264 private ArgumentCaptor<NotificationHandler> mListenerCaptor;
286 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()