Home
last modified time | relevance | path

Searched refs:notificationList (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DRankingHelperTest.java226 notificationList.add(critical); in testSortShouldRespectCritical()
227 mHelper.sort(notificationList); in testSortShouldRespectCritical()
254 mHelper.sort(notificationList); in testFindAfterRankingWithASplitGroup()
266 mHelper.sort(notificationList); in testSortShouldNotThrowWithPlainNotifications()
274 mHelper.sort(notificationList); in testSortShouldNotThrowOneSorted()
281 mHelper.sort(notificationList); in testSortShouldNotThrowOneNotification()
288 mHelper.sort(notificationList); in testSortShouldNotThrowOneSortKey()
294 mHelper.sort(notificationList); in testSortShouldNotThrowOnEmptyList()
315 notificationList.add(low); in testGroupNotifications_highestIsProxy()
324 notificationList.add(highChild); in testGroupNotifications_highestIsProxy()
[all …]
H A DZenPolicyTest.java611 assertEquals(policy.getVisualEffectNotificationList(), proto.notificationList); in assertProtoMatches()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingHelper.java99 public void sort(ArrayList<NotificationRecord> notificationList) { in sort() argument
100 final int N = notificationList.size(); in sort()
103 notificationList.get(i).setGlobalSortKey(null); in sort()
107 Collections.sort(notificationList, mPreliminaryComparator); in sort()
112 final NotificationRecord record = notificationList.get(i); in sort()
123 final NotificationRecord record = notificationList.get(i); in sort()
157 Collections.sort(notificationList, mFinalComparator); in sort()
160 public int indexOf(ArrayList<NotificationRecord> notificationList, NotificationRecord target) { in indexOf() argument
161 return Collections.binarySearch(notificationList, target, mFinalComparator); in indexOf()
H A DNotificationManagerService.java8723 private void cancelAllNotificationsByListLocked(ArrayList<NotificationRecord> notificationList,
8728 for (int i = notificationList.size() - 1; i >= 0; --i) {
8729 NotificationRecord r = notificationList.get(i);
8757 notificationList.remove(i);
8763 final int M = notificationList.size();
8765 NotificationRecord r = notificationList.get(i);
8769 notificationList.remove(i);
8876 private void cancelGroupChildrenByListLocked(ArrayList<NotificationRecord> notificationList,
8883 for (int i = notificationList.size() - 1; i >= 0; i--) {
8884 final NotificationRecord childR = notificationList.get(i);
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
H A DNotificationPanelLogger.java75 Notifications.NotificationList notificationList = new Notifications.NotificationList(); in toNotificationProto() local
77 return notificationList; in toNotificationProto()
100 notificationList.notifications = proto_array; in toNotificationProto()
101 return notificationList; in toNotificationProto()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
H A DTvNotificationPanelActivity.java80 public void notificationsUpdated(@NonNull SparseArray<StatusBarNotification> notificationList) { in notificationsUpdated() argument
81 mTvNotificationAdapter.setNotifications(notificationList); in notificationsUpdated()
83 boolean noNotifications = notificationList.size() == 0; in notificationsUpdated()
/aosp12/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DUiBot.java86 final List<UiObject2> notificationList = notificationScroller.getChildren(); in getNotification2() local
87 for (UiObject2 notification: notificationList) { in getNotification2()
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertService.java954 StatusBarNotification[] notificationList = in playPendingAlert() local
957 if(notificationList != null && notificationList.length >0) { in playPendingAlert()
/aosp12/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java812 final int notificationList = safeInt(parser, SHOW_ATT_NOTIFICATION_LIST, in readZenPolicyXml() local
839 if (notificationList != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
840 builder.showInNotificationList(notificationList == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()