Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationListener.java54 private final List<NotificationHandler> mNotificationHandlers = new ArrayList<>();
70 public void addNotificationHandler(NotificationHandler handler) { in addNotificationHandler()
105 for (NotificationHandler listener : mNotificationHandlers) { in onListenerConnected()
109 for (NotificationHandler listener : mNotificationHandlers) { in onListenerConnected()
125 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationPosted()
138 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationRemoved()
156 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationRankingUpdate()
169 for (NotificationHandler handler : mNotificationHandlers) { in onNotificationChannelModified()
241 public interface NotificationHandler { interface in NotificationListener
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/
H A DMessengerService.java43 import com.android.car.messenger.core.shared.NotificationHandler;
95 dataModel.getUnreadMessages().observeForever(NotificationHandler::postNotification); in subscribeToNotificationUpdates()
96 dataModel.onConversationRemoved().observeForever(NotificationHandler::removeNotification); in subscribeToNotificationUpdates()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
H A DGroupCoalescer.java34 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
120 private final NotificationHandler mListener = new NotificationHandler() {
331 public interface BatchableNotificationHandler extends NotificationHandler {
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationListenerTest.java39 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
54 @Mock private NotificationHandler mNotificationHandler;
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/core/shared/
H A DNotificationHandler.java41 public class NotificationHandler { class
48 private NotificationHandler() {} in NotificationHandler() method in NotificationHandler
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A 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
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
H A DGroupCoalescerTest.java37 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
67 @Captor private ArgumentCaptor<NotificationHandler> mListenerCaptor;
88 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/
H A DConversationItemViewHolder.java34 import com.android.car.messenger.core.shared.NotificationHandler;
197 NotificationHandler.removeNotification(uiData.getConversationId()); in setUpActionButton()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
H A DTvNotificationHandler.java36 NotificationListener.NotificationHandler {
/aosp12/packages/apps/Car/Messenger/src/com/android/car/messenger/core/util/
H A DVoiceUtil.java58 import com.android.car.messenger.core.shared.NotificationHandler;
120 NotificationHandler.postNotificationForLegacyTapToRead(tapToReadConversation); in voiceRequestHelper()
/aosp12/packages/apps/TV/src/com/android/tv/recommendation/
H A DNotificationService.java156 mHandler = new NotificationHandler(mHandlerThread.getLooper(), this); in onCreate()
551 private static class NotificationHandler extends WeakHandler<NotificationService> {
552 public NotificationHandler(@NonNull Looper looper, NotificationService ref) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationEntryManager.java44 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
368 private final NotificationHandler mNotifListener = new NotificationHandler() {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManager.java97 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
741 private final NotificationHandler mListener = new NotificationHandler() {
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManagerTest.java110 import com.android.systemui.statusbar.NotificationListener.NotificationHandler;
259 private ArgumentCaptor<NotificationHandler> mListenerCaptor;
280 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp()