Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java232 ArrayList<NotificationRecord> notificationList = new ArrayList<NotificationRecord>(7); in testSortShouldRespectCritical() local
237 notificationList.add(critical_ish); in testSortShouldRespectCritical()
238 notificationList.add(mRecordGroupGSortA); in testSortShouldRespectCritical()
239 notificationList.add(critical_notAtAll); in testSortShouldRespectCritical()
240 notificationList.add(mRecordGroupGSortB); in testSortShouldRespectCritical()
241 notificationList.add(mRecordNoGroup); in testSortShouldRespectCritical()
242 notificationList.add(mRecordNoGroupSortA); in testSortShouldRespectCritical()
243 notificationList.add(critical); in testSortShouldRespectCritical()
244 mHelper.sort(notificationList); in testSortShouldRespectCritical()
246 assertTrue(mHelper.indexOf(notificationList, critical) == 0); in testSortShouldRespectCritical()
[all …]
DZenPolicyTest.java884 assertEquals(policy.getVisualEffectNotificationList(), proto.notificationList); in assertProtoMatches()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java125 public void sort(ArrayList<NotificationRecord> notificationList) { in sort() argument
126 final int N = notificationList.size(); in sort()
129 notificationList.get(i).setGlobalSortKey(null); in sort()
134 notificationList.sort(mPreliminaryComparator); in sort()
138 notificationList.sort(mPreliminaryComparator); in sort()
145 final NotificationRecord record = notificationList.get(i); in sort()
166 final NotificationRecord record = notificationList.get(i); in sort()
202 Collections.sort(notificationList, mFinalComparator); in sort()
205 public int indexOf(ArrayList<NotificationRecord> notificationList, NotificationRecord target) { in indexOf() argument
206 return Collections.binarySearch(notificationList, target, mFinalComparator); in indexOf()
DNotificationManagerService.java10035 private void cancelAllNotificationsByListLocked(ArrayList<NotificationRecord> notificationList,
10041 for (int i = notificationList.size() - 1; i >= 0; --i) {
10042 NotificationRecord r = notificationList.get(i);
10070 notificationList.remove(i);
10077 final int M = notificationList.size();
10079 NotificationRecord r = notificationList.get(i);
10083 notificationList.remove(i);
10213 private void cancelGroupChildrenByListLocked(ArrayList<NotificationRecord> notificationList,
10220 for (int i = notificationList.size() - 1; i >= 0; i--) {
10221 final NotificationRecord childR = notificationList.get(i);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationPanelLogger.java92 Notifications.NotificationList notificationList = new Notifications.NotificationList(); in toNotificationProto() local
94 return notificationList; in toNotificationProto()
117 notificationList.notifications = proto_array; in toNotificationProto()
118 return notificationList; in toNotificationProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/
DNotificationStatsLoggerImpl.kt306 val notificationList = Notifications.NotificationList() in toNotificationProto() constant
321 notificationList.notifications = protoArray in toNotificationProto()
324 return notificationList in toNotificationProto()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java87 final List<UiObject2> notificationList = notificationScroller.getChildren(); in getNotification2() local
88 for (UiObject2 notification: notificationList) { in getNotification2()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java1335 final int notificationList = safeInt(parser, SHOW_ATT_NOTIFICATION_LIST, in readZenPolicyXml() local
1362 if (notificationList != ZenPolicy.STATE_UNSET) { in readZenPolicyXml()
1363 builder.showInNotificationList(notificationList == STATE_ALLOW); in readZenPolicyXml()