Home
last modified time | relevance | path

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

/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java865 PriorityQueue<Pair<String, ConversationInfo>> maxHeap = new PriorityQueue<>( in cleanupCachedShortcuts() local
875 maxHeap.offer(cached); in cleanupCachedShortcuts()
876 if (maxHeap.size() > numToUncache) { in cleanupCachedShortcuts()
877 maxHeap.poll(); in cleanupCachedShortcuts()
880 while (!maxHeap.isEmpty()) { in cleanupCachedShortcuts()
881 Pair<String, ConversationInfo> toUncache = maxHeap.poll(); in cleanupCachedShortcuts()