Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationChannelHelper.java50 || entry.getRanking().getConversationShortcutInfo() == null) { in createConversationChannelIfNeeded()
71 if (entry.getRanking().getConversationShortcutInfo().getLabel() != null) { in getName()
72 return entry.getRanking().getConversationShortcutInfo().getLabel().toString(); in getName()
DNotificationFilter.java96 if (entry.getRanking().isSuspended()) { in shouldFilterOut()
DNotificationEntryManager.java300 rank = e.getRanking().getRank(); in obtainVisibility()
614 rankingMap.getRanking(key, ranking); in addNotificationInternal()
777 if (rankingMap.getRanking(pendingNotification.getKey(), ranking)) { in updateRankingOfPendingNotifications()
923 + e.getRanking().getImportance()); in dumpEntry()
DAssistantFeedbackController.java102 Ranking ranking = entry.getRanking(); in getFeedbackStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DHighPriorityProvider.java76 return notifEntry.getRanking().getImportance() >= NotificationManager.IMPORTANCE_DEFAULT in isHighPriority()
117 return entry.getRanking().getChannel() != null in hasUserSetImportance()
118 && entry.getRanking().getChannel().hasUserSetImportance(); in hasUserSetImportance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleTileKey.java52 mShortcutId = entry.getRanking() != null in PeopleTileKey()
53 && entry.getRanking().getConversationShortcutInfo() != null in PeopleTileKey()
54 ? entry.getRanking().getConversationShortcutInfo().getId() in PeopleTileKey()
DLaunchConversationActivity.java178 if (entry == null || entry.getRanking() == null) { in clearNotificationIfPresent()
187 int rank = entry.getRanking().getRank(); in clearNotificationIfPresent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
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 …]
DNoManSimulator.java53 mRankings.put(entry.getKey(), entry.getRanking()); in postNotif()
58 return new NotifEvent(entry.getSbn(), entry.getRanking(), rankingMap); in postNotif()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DLaunchConversationActivityTest.java125 when(mNotifEntry.getRanking()).thenReturn(mRanking); in setUp()
126 when(mNotifEntryCanBubble.getRanking()).thenReturn(mRanking); in setUp()
128 when(mNotifEntryNoRanking.getRanking()).thenReturn(null); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationEntryHelper.java39 super(target.getRanking()); in ModifiedRankingBuilder()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubble.java463 if (entry.getRanking() != null) { in setEntry()
464 mShortcutInfo = entry.getRanking().getConversationShortcutInfo(); in setEntry()
465 mIsVisuallyInterruptive = entry.getRanking().visuallyInterruptive(); in setEntry()
466 if (entry.getRanking().getChannel() != null) { in setEntry()
468 entry.getRanking().getChannel().isImportantConversation(); in setEntry()
DBubbleEntry.java65 public Ranking getRanking() { in getRanking() method in BubbleEntry
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinator.java123 if (entry.getRanking().getLockscreenVisibilityOverride() == VISIBILITY_SECRET) {
156 && !entry.getRepresentativeEntry().getRanking().isAmbient(); in priorityExceedsLockscreenShowingThreshold()
DRankingCoordinator.java111 return entry.getRanking().isSuspended();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java165 final int rank = entry != null ? entry.getRanking().getRank() : 0;
339 && visibleEntry.getRanking().getLockscreenVisibilityOverride() == VISIBILITY_SECRET; in shouldHideNotifications()
359 exceedsPriorityThreshold = !entry.getRanking().isAmbient(); in shouldShowOnKeyguard()
522 && entry.getRanking().getLockscreenVisibilityOverride() in packageHasVisibilityOverride()
DSmartReplyController.java79 final int rank = entry.getRanking().getRank(); in smartActionClicked()
DNotificationUiAdjustment.java61 entry.getRanking().isConversation()); in extractFromNotificationEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java125 return e != null && e.getRanking() != null in isValid()
126 && e.getRanking().getConversationShortcutInfo() != null in isValid()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java154 }).when(mRankingMap).getRanking(eq(key), any(Ranking.class)); in setUserSentiment()
173 }).when(mRankingMap).getRanking(eq(key), any(Ranking.class)); in setSmartActions()
386 final Ranking originalRanking = mEntry.getRanking(); in testUpdatePendingNotification_rankingUpdated()
406 }).when(mRankingMap).getRanking(eq(mEntry.getKey()), any(Ranking.class)); in testUpdatePendingNotification_rankingUpdated()
410 assertEquals(newRank, mEntry.getRanking().getRank()); in testUpdatePendingNotification_rankingUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java270 if (!rankingMap.getRanking(key, ranking)) { in requireRanking()
279 if (rankingMap.getRanking(event.getKey(), ranking)) { in applyRanking()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
DOnUserInteractionCallbackImplLegacy.java93 entry.getRanking().getRank(), in onDismiss()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DOnUserInteractionCallbackImpl.java96 entry.getRanking().getRank(), in onDismiss()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java104 service.getCurrentRanking().getRanking(key, ranking); in testRanking()
453 a.getRanking(key, arank); in detailedAssertEquals()
454 b.getRanking(key, brank); in detailedAssertEquals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java856 cmp = rep1.getRanking().getRank() - rep2.getRanking().getRank();
869 int cmp = o1.getRanking().getRank() - o2.getRanking().getRank();

12