Home
last modified time | relevance | path

Searched refs:getRanking (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DHighPriorityProvider.java77 return notifEntry.getRanking().getImportance() >= NotificationManager.IMPORTANCE_DEFAULT in isHighPriority()
116 && entry.getRanking().getImportance() >= NotificationManager.IMPORTANCE_LOW; in isImportantOngoing()
126 entry.getSbn(), entry.getRanking()) != PeopleNotificationIdentifier.TYPE_NON_PERSON; in isPeopleNotification()
130 return entry.getRanking().getChannel() != null in hasUserSetImportance()
131 && entry.getRanking().getChannel().hasUserSetImportance(); in hasUserSetImportance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java74 .getPeopleNotificationType(entry.getSbn(), entry.getRanking())) in highImportance()
91 .getPeopleNotificationType(entry.getSbn(), entry.getRanking())) in peopleNotification()
108 .getPeopleNotificationType(entry.getSbn(), entry.getRanking())) in messagingStyle()
126 .getPeopleNotificationType(entry.getSbn(), entry.getRanking())) in lowImportanceForeground()
144 .getPeopleNotificationType(entry.getSbn(), entry.getRanking())) in minImportanceForeground()
168 .getPeopleNotificationType(entry.getSbn(), entry.getRanking())) in userChangeTrumpsHighPriorityCharacteristics()
DNoManSimulator.java51 mRankings.put(entry.getKey(), entry.getRanking()); in postNotif()
56 return new NotifEvent(entry.getSbn(), entry.getRanking(), rankingMap); in postNotif()
DNotifCollectionTest.java187 assertEquals(notif1.ranking, entry.getRanking()); in testEventDispatchedWhenNotifPosted()
214 new CoalescedEvent(entry1.getKey(), 0, entry1.getSbn(), entry1.getRanking(), null), in testEventDispatchedWhenNotifBatchPosted()
215 new CoalescedEvent(entry2.getKey(), 1, entry2.getSbn(), entry2.getRanking(), null), in testEventDispatchedWhenNotifBatchPosted()
216 new CoalescedEvent(entry3.getKey(), 2, entry3.getSbn(), entry3.getRanking(), null) in testEventDispatchedWhenNotifBatchPosted()
225 assertEquals(entry1.getRanking(), capturedAdds.get(0).getRanking()); in testEventDispatchedWhenNotifBatchPosted()
228 assertEquals(entry3.getRanking(), capturedAdds.get(1).getRanking()); in testEventDispatchedWhenNotifBatchPosted()
234 assertEquals(entry2.getRanking(), capturedUpdate.getRanking()); in testEventDispatchedWhenNotifBatchPosted()
262 assertEquals(notif2.ranking, entry.getRanking()); in testEventDispatchedWhenNotifUpdated()
284 assertEquals(notif.ranking, entry.getRanking()); in testEventDispatchedWhenNotifRemoved()
301 assertEquals(56, entry1.getRanking().getRank()); in testRankingsAreUpdatedForOtherNotifs()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationChannelHelper.java50 || entry.getRanking().getShortcutInfo() == null) { in createConversationChannelIfNeeded()
71 if (entry.getRanking().getShortcutInfo().getLabel() != null) { in getName()
72 return entry.getRanking().getShortcutInfo().getLabel().toString(); in getName()
DNotificationEntryManager.java285 rank = e.getRanking().getRank(); in obtainVisibility()
567 rankingMap.getRanking(key, ranking); in addNotificationInternal()
744 if (rankingMap.getRanking(pendingNotification.getKey(), ranking)) { in updateRankingOfPendingNotifications()
891 + e.getRanking().getImportance()); in dumpEntry()
DNotificationFilter.java125 if (entry.getRanking().isSuspended()) { in shouldFilterOut()
DConversationNotifications.kt86 if (rankingMap.getRanking(entry.sbn.key, ranking) && ranking.isConversation) { in onNotificationRankingUpdated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationEntryHelper.java39 super(target.getRanking()); in ModifiedRankingBuilder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubble.java391 mShortcutInfo = (entry.getRanking() != null ? entry.getRanking().getShortcutInfo() : null); in setEntry()
394 if (entry.getRanking() != null) { in setEntry()
395 mIsVisuallyInterruptive = entry.getRanking().visuallyInterruptive(); in setEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinator.java120 if (entry.getRanking().getVisibilityOverride() == VISIBILITY_SECRET) {
154 && !entry.getRepresentativeEntry().getRanking().isAmbient(); in priorityExceedsLockscreenShowingThreshold()
DRankingCoordinator.java60 return entry.getRanking().isSuspended();
DBubbleCoordinator.java158 entry.getRanking().getRank(), in createDismissedByUserStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java165 final int rank = entry != null ? entry.getRanking().getRank() : 0;
339 && visibleEntry.getRanking().getVisibilityOverride() == VISIBILITY_SECRET; in shouldHideNotifications()
355 exceedsPriorityThreshold = !entry.getRanking().isAmbient(); in shouldShowOnKeyguard()
518 && entry.getRanking().getVisibilityOverride() == Notification.VISIBILITY_PRIVATE; in packageHasVisibilityOverride()
DSmartReplyController.java79 final int rank = entry.getRanking().getRank(); in smartActionClicked()
DNotificationUiAdjustment.java61 entry.getRanking().isConversation()); in extractFromNotificationEntry()
DNotificationListener.java189 if (!rankingMap.getRanking(key, ranking)) { in getRankingOrTemporaryStandIn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java259 if (!rankingMap.getRanking(key, ranking)) { in requireRanking()
268 if (rankingMap.getRanking(event.getKey(), ranking)) { in applyRanking()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifInflaterImpl.java111 entry.getRanking().getRank(), in getDismissCallback()
DShadeListBuilder.java693 cmp = rep1.getRanking().getRank() - rep2.getRanking().getRank();
706 int cmp = o1.getRanking().getRank() - o2.getRanking().getRank();
DNotifCollection.java370 postNotification(event.getSbn(), event.getRanking()); in onNotificationGroupPosted()
489 if (rankingMap.getRanking(entry.getKey(), ranking)) { in applyRanking()
661 if (!rankingMap.getRanking(key, ranking)) {
DNotificationRankingManager.kt169 if (!rankingMap.getRanking(entry.key, newRanking)) { in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java104 service.getCurrentRanking().getRanking(key, ranking); in testRanking()
445 a.getRanking(key, arank); in detailedAssertEquals()
446 b.getRanking(key, brank); in detailedAssertEquals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java377 final int rank = entry.getRanking().getRank(); in handleNotificationClickAfterPanelCollapsed()
618 entry.getRanking().getRank(), in createRemoveRunnable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java150 }).when(mRankingMap).getRanking(eq(key), any(Ranking.class)); in setUserSentiment()
169 }).when(mRankingMap).getRanking(eq(key), any(Ranking.class)); in setSmartActions()

12