Searched refs:NotificationHandler (Results 1 – 9 of 9) sorted by relevance
28 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()
31 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()
68 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
25 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;44 private final NotificationHandler mNotificationHandler = new NotificationHandler() {
34 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;128 private final NotificationHandler mListener = new NotificationHandler() {345 public interface BatchableNotificationHandler extends NotificationHandler {
41 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;60 @Mock private NotificationHandler mNotificationHandler;
39 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;68 @Captor private ArgumentCaptor<NotificationHandler> mListenerCaptor;89 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()
109 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;771 private final NotificationHandler mListener = new NotificationHandler() {
115 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;264 private ArgumentCaptor<NotificationHandler> mListenerCaptor;286 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()