Searched refs:notificationList (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RankingHelperTest.java | 212 ArrayList<NotificationRecord> notificationList = new ArrayList<NotificationRecord>(7); in testSortShouldRespectCritical() local 217 notificationList.add(critical_ish); in testSortShouldRespectCritical() 218 notificationList.add(mRecordGroupGSortA); in testSortShouldRespectCritical() 219 notificationList.add(critical_notAtAll); in testSortShouldRespectCritical() 220 notificationList.add(mRecordGroupGSortB); in testSortShouldRespectCritical() 221 notificationList.add(mRecordNoGroup); in testSortShouldRespectCritical() 222 notificationList.add(mRecordNoGroupSortA); in testSortShouldRespectCritical() 223 notificationList.add(critical); in testSortShouldRespectCritical() 224 mHelper.sort(notificationList); in testSortShouldRespectCritical() 226 assertTrue(mHelper.indexOf(notificationList, critical) == 0); in testSortShouldRespectCritical() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 97 public void sort(ArrayList<NotificationRecord> notificationList) { in sort() argument 98 final int N = notificationList.size(); in sort() 101 notificationList.get(i).setGlobalSortKey(null); in sort() 105 Collections.sort(notificationList, mPreliminaryComparator); in sort() 110 final NotificationRecord record = notificationList.get(i); in sort() 121 final NotificationRecord record = notificationList.get(i); in sort() 155 Collections.sort(notificationList, mFinalComparator); in sort() 158 public int indexOf(ArrayList<NotificationRecord> notificationList, NotificationRecord target) { in indexOf() argument 159 return Collections.binarySearch(notificationList, target, mFinalComparator); in indexOf()
|
D | NotificationManagerService.java | 7009 private void cancelAllNotificationsByListLocked(ArrayList<NotificationRecord> notificationList, 7014 for (int i = notificationList.size() - 1; i >= 0; --i) { 7015 NotificationRecord r = notificationList.get(i); 7039 notificationList.remove(i); 7139 private void cancelGroupChildrenByListLocked(ArrayList<NotificationRecord> notificationList, 7145 for (int i = notificationList.size() - 1; i >= 0; i--) { 7146 final NotificationRecord childR = notificationList.get(i); 7154 notificationList.remove(i);
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 780 final int notificationList = safeInt(parser, SHOW_ATT_NOTIFICATION_LIST, in readZenPolicyXml() local 807 if (notificationList != ZenPolicy.STATE_UNSET) { in readZenPolicyXml() 808 builder.showInNotificationList(notificationList == ZenPolicy.STATE_ALLOW); in readZenPolicyXml()
|