Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
DNotificationGroupManagerLegacy.java268 boolean didAdd = group.postBatchHistory.add(new PostRecord(entry)); in addToPostBatchHistory()
270 trimPostBatchHistory(group.postBatchHistory); in addToPostBatchHistory()
275 private void trimPostBatchHistory(@NonNull TreeSet<PostRecord> postBatchHistory) { in trimPostBatchHistory() argument
276 if (postBatchHistory.size() <= 1) { in trimPostBatchHistory()
279 long batchStartTime = postBatchHistory.last().postTime - POST_BATCH_MAX_AGE; in trimPostBatchHistory()
280 while (!postBatchHistory.isEmpty() && postBatchHistory.first().postTime < batchStartTime) { in trimPostBatchHistory()
281 postBatchHistory.pollFirst(); in trimPostBatchHistory()
411 TreeSet<PostRecord> combinedHistory = new TreeSet<>(group.postBatchHistory); in getPriorityConversationAlertOverride()
414 combinedHistory.addAll(importantChildGroup.postBatchHistory); in getPriorityConversationAlertOverride()
924 public final TreeSet<PostRecord> postBatchHistory = new TreeSet<>(); field in NotificationGroupManagerLegacy.NotificationGroup