Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationManager.java36 private final SparseArray<HashMap<String, Notification>> mNotifications = new SparseArray<>(); field in TestNotificationManager
40 if (mNotifications.get(id) == null) { in notify()
41 mNotifications.put(id, new HashMap<>()); in notify()
44 mNotifications.get(id).put(tag, notification); in notify()
48 final HashMap<String, Notification> idMap = mNotifications.get(id); in cancel()
78 if (mNotifications.get(id) == null) { in hasNotification()
81 Notification notification = mNotifications.get(id).get(jobId); in hasNotification()
91 for (int i = 0; i < mNotifications.size(); ++i) { in assertNumberOfNotifications()
92 count += mNotifications.valueAt(i).size(); in assertNumberOfNotifications()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationGroup.java39 private final List<StatusBarNotification> mNotifications = new ArrayList<>(); field in NotificationGroup
57 mNotifications.add(statusBarNotification); in addNotification()
84 return mNotifications.size(); in getChildCount()
126 for (StatusBarNotification notification : mNotifications) { in isDismissible()
141 return mNotifications; in getChildNotifications()
173 for (StatusBarNotification notification : mNotifications) { in generateChildTitles()
213 return mNotifications.get(0); in getSingleNotification()
DCarNotificationViewAdapter.java63 private List<NotificationGroup> mNotifications = new ArrayList<>(); field in CarNotificationViewAdapter
191 NotificationGroup notificationGroup = mNotifications.get(position); in onBindViewHolder()
292 NotificationGroup notificationGroup = mNotifications.get(position); in getItemViewType()
386 int itemCount = mNotifications.size(); in getItemCount()
405 NotificationGroup notificationGroup = mNotifications.get(position); in getItemId()
485 mNotifications = notificationGroupList; in setNotifications()
573 notificationGroup = mNotifications.get(position); in setNotificationAsSeen()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationFooterLayout.java56 private final List<NotificationInfo> mNotifications = new ArrayList<>(); field in NotificationFooterLayout
112 if (mNotifications.size() < MAX_FOOTER_NOTIFICATIONS) { in addNotificationInfo()
113 mNotifications.add(notificationInfo); in addNotificationInfo()
126 for (int i = 0; i < mNotifications.size(); i++) { in commitNotificationInfos()
127 NotificationInfo info = mNotifications.get(i); in commitNotificationInfos()
179 mNotifications.add(notification); in animateFirstNotificationTo()
199 mNotifications.remove(child.getTag()); in removeViewFromIconRow()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java104 private HashMap<String, NotificationItem> mNotifications; field in BluetoothOppNotification
157 mNotifications = new HashMap<String, NotificationItem>(); in BluetoothOppNotification()
275 mNotifications.clear(); in updateActiveNotification()
296 if (mNotifications.containsKey(batchID)) { in updateActiveNotification()
319 mNotifications.put(batchID, item); in updateActiveNotification()
330 for (NotificationItem item : mNotifications.values()) { in updateActiveNotification()