Home
last modified time | relevance | path

Searched refs:mNotifications (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
H A DTvNotificationHandler.java40 private final SparseArray<StatusBarNotification> mNotifications = new SparseArray<>(); field in TvNotificationHandler
50 return mNotifications; in getCurrentNotifications()
71 mNotifications.put(sbn.getId(), sbn); in onNotificationPosted()
73 mUpdateListener.notificationsUpdated(mNotifications); in onNotificationPosted()
82 if (mNotifications.contains(sbn.getId())) { in onNotificationRemoved()
83 mNotifications.remove(sbn.getId()); in onNotificationRemoved()
87 mUpdateListener.notificationsUpdated(mNotifications); in onNotificationRemoved()
H A DTvNotificationAdapter.java40 private SparseArray<StatusBarNotification> mNotifications; field in TvNotificationAdapter
56 if (mNotifications == null) { in onBindViewHolder()
62 Notification notification = mNotifications.valueAt(position).getNotification(); in onBindViewHolder()
70 return mNotifications == null ? 0 : mNotifications.size(); in getItemCount()
76 return mNotifications.keyAt(position); in getItemId()
83 this.mNotifications = notifications; in setNotifications()
/aosp14/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java255 int bigtextId = mNotifications.size(); in testCreate()
259 mNotifications.add(n); in testCreate()
262 int uploadId = mNotifications.size(); in testCreate()
270 int phoneId = mNotifications.size(); in testCreate()
291 mNotifications.add(phoneCall); in testCreate()
304 mNotifications.add(n); in testCreate()
325 mNotifications.add(n); in testCreate()
349 mNotifications.add(n); in testCreate()
367 mNotifications.add(n); in testCreate()
381 mNotifications.add(n); in testCreate()
[all …]
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java73 private final ArraySet<PrintJobId> mNotifications; field in NotificationController
79 mNotifications = new ArraySet<>(0); in NotificationController()
111 ArraySet<PrintJobId> removedPrintJobs = new ArraySet<>(mNotifications); in updateNotifications()
121 mNotifications.add(printJobId); in updateNotifications()
132 mNotifications.remove(removedPrintJob); in updateNotifications()