Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNoManSimulator.java26 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
39 private final List<NotificationHandler> mListeners = new ArrayList<>();
45 public void addListener(NotificationHandler listener) { in addListener()
53 for (NotificationHandler listener : mListeners) { in postNotif()
62 for (NotificationHandler listener : mListeners) { in retractNotif()
70 for (NotificationHandler listener : mListeners) { in issueRankingUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java52 private final List<NotificationHandler> mNotificationHandlers = new ArrayList<>();
68 public void addNotificationHandler(NotificationHandler handler) { in addNotificationHandler()
103 for (NotificationHandler listener : mNotificationHandlers) { in onListenerConnected()
107 for (NotificationHandler listener : mNotificationHandlers) { in onListenerConnected()
123 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationPosted()
136 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationRemoved()
154 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationRankingUpdate()
225 public interface NotificationHandler { interface in NotificationListener
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java32 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
118 private final NotificationHandler mListener = new NotificationHandler() {
320 public interface BatchableNotificationHandler extends NotificationHandler {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java39 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
54 @Mock private NotificationHandler mNotificationHandler;
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java150 mHandler = new NotificationHandler(looper); in TetheringNotificationUpdater()
153 private class NotificationHandler extends Handler { class in TetheringNotificationUpdater
154 NotificationHandler(Looper looper) { in NotificationHandler() method in TetheringNotificationUpdater.NotificationHandler
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java37 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
67 @Captor private ArgumentCaptor<NotificationHandler> mListenerCaptor;
88 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java42 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
360 private final NotificationHandler mNotifListener = new NotificationHandler() {