Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNoManSimulator.java52 final RankingMap rankingMap = buildRankingMap(); in postNotif() local
54 listener.onNotificationPosted(entry.getSbn(), rankingMap); in postNotif() local
56 return new NotifEvent(entry.getSbn(), entry.getRanking(), rankingMap); in postNotif()
61 final RankingMap rankingMap = buildRankingMap(); in retractNotif() local
63 listener.onNotificationRemoved(sbn, rankingMap, reason); in retractNotif()
65 return new NotifEvent(sbn, null, rankingMap); in retractNotif()
69 final RankingMap rankingMap = buildRankingMap(); in issueRankingUpdate() local
71 listener.onNotificationRankingUpdate(rankingMap); in issueRankingUpdate()
87 public final RankingMap rankingMap; field in NoManSimulator.NotifEvent
92 RankingMap rankingMap) { in NotifEvent() argument
[all …]
DNotifCollectionTest.java1375 public void onRankingUpdate(RankingMap rankingMap) { in onRankingUpdate() argument
1460 public final RankingMap rankingMap; field in NotifCollectionTest.CollectionEvent
1467 this.rankingMap = rawEvent.rankingMap; in CollectionEvent()
DNotificationRankingManagerTest.kt431 rankingMap = r in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java117 final RankingMap rankingMap) { in onNotificationPosted() argument
119 if (sbn != null && !onPluginNotificationPosted(sbn, rankingMap)) { in onNotificationPosted()
124 handler.onNotificationPosted(sbn, rankingMap); in onNotificationPosted()
131 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved() argument
134 if (sbn != null && !onPluginNotificationRemoved(sbn, rankingMap)) { in onNotificationRemoved()
137 handler.onNotificationRemoved(sbn, rankingMap, reason); in onNotificationRemoved()
144 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved() argument
145 onNotificationRemoved(sbn, rankingMap, UNDEFINED_DISMISS_REASON); in onNotificationRemoved()
149 public void onNotificationRankingUpdate(final RankingMap rankingMap) { in onNotificationRankingUpdate() argument
151 if (rankingMap != null) { in onNotificationRankingUpdate()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java120 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
122 applyRanking(rankingMap);
124 final boolean shouldCoalesce = handleNotificationPosted(sbn, rankingMap);
128 mHandler.onNotificationRankingUpdate(rankingMap);
130 mHandler.onNotificationPosted(sbn, rankingMap);
135 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
137 applyRanking(rankingMap);
138 mHandler.onNotificationRemoved(sbn, rankingMap);
144 RankingMap rankingMap,
147 applyRanking(rankingMap);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java362 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
365 updateNotification(sbn, rankingMap);
367 addNotification(sbn, rankingMap);
372 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
373 removeNotification(sbn.getKey(), rankingMap, UNDEFINED_DISMISS_REASON);
379 RankingMap rankingMap,
381 removeNotification(sbn.getKey(), rankingMap, reason);
385 public void onNotificationRankingUpdate(RankingMap rankingMap) {
386 updateNotificationRanking(rankingMap);
558 RankingMap rankingMap) throws InflationException { in addNotificationInternal() argument
[all …]
DNotificationEntryListener.java107 default void onNotificationRankingUpdated(RankingMap rankingMap) { in onNotificationRankingUpdated() argument
DConversationNotifications.kt79 override fun onNotificationRankingUpdated(rankingMap: RankingMap) { in onNotificationRankingUpdated()
86 if (rankingMap.getRanking(entry.sbn.key, ranking) && ranking.isConversation) { in onNotificationRankingUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java84 final RankingMap rankingMap) { in onPluginNotificationPosted() argument
86 if (plugin.onNotificationPosted(sbn, rankingMap)) { in onPluginNotificationPosted()
98 final RankingMap rankingMap) { in onPluginNotificationRemoved() argument
100 if (plugin.onNotificationRemoved(sbn, rankingMap)) { in onPluginNotificationRemoved()
107 public RankingMap onPluginRankingUpdate(RankingMap rankingMap) { in onPluginRankingUpdate() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java356 private void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() argument
359 postNotification(sbn, requireRanking(rankingMap, sbn.getKey())); in onNotificationPosted()
360 applyRanking(rankingMap); in onNotificationPosted()
377 RankingMap rankingMap, in onNotificationRemoved() argument
392 applyRanking(rankingMap); in onNotificationRemoved()
396 private void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate() argument
398 mEventQueue.add(new RankingUpdatedEvent(rankingMap)); in onNotificationRankingUpdate()
399 applyRanking(rankingMap); in onNotificationRankingUpdate()
481 private void applyRanking(@NonNull RankingMap rankingMap) { in applyRanking() argument
489 if (rankingMap.getRanking(entry.getKey(), ranking)) { in applyRanking()
[all …]
DNotificationRankingManager.kt64 var rankingMap: RankingMap? = null in <lambda>() variable in com.android.systemui.statusbar.notification.collection.NotificationRankingManager
120 rankingMap = newRankingMap in <lambda>()
165 rankingMap?.let { rankingMap -> in <lambda>() method
169 if (!rankingMap.getRanking(entry.key, newRanking)) { in <lambda>()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java33 default boolean onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() argument
36 default boolean onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifEvent.kt92 val rankingMap: RankingMap constant in com.android.systemui.statusbar.notification.collection.notifcollection.RankingUpdatedEvent
95 listener.onRankingUpdate(rankingMap) in dispatchToListener()
DNotifCollectionLogger.kt132 fun logRankingMissing(key: String, rankingMap: RankingMap) { in logRankingMissing()
135 for (entry in rankingMap.orderedKeys) { in logRankingMissing()
DNotifCollectionListener.java105 default void onRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onRankingUpdate() argument
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java373 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() argument
418 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved() argument
443 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved() argument
445 onNotificationRemoved(sbn, rankingMap); in onNotificationRemoved()
457 @NonNull RankingMap rankingMap, @NonNull NotificationStats stats, int reason) { in onNotificationRemoved() argument
458 onNotificationRemoved(sbn, rankingMap, reason); in onNotificationRemoved()
485 public void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate() argument
2129 RankingMap rankingMap = (RankingMap) args.arg2;
2131 onNotificationPosted(sbn, rankingMap);
2137 RankingMap rankingMap = (RankingMap) args.arg2;
[all …]
DNotificationAssistantService.java171 @NonNull RankingMap rankingMap, in onNotificationRemoved() argument
173 onNotificationRemoved(sbn, rankingMap, reason); in onNotificationRemoved()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java102 verify(mListener).onNotificationPosted(notif1.sbn, notif1.rankingMap); in testUngroupedNotificationsAreNotCoalesced()
136 verify(mListener).onNotificationRankingUpdate(notif1.rankingMap); in testCoalescedNotificationsStillPassThroughRankingUpdate()
215 inOrder.verify(mListener).onNotificationPosted(notif1b.sbn, notif1b.rankingMap); in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
286 inOrder.verify(mListener).onNotificationRemoved(notif2b.sbn, notif2b.rankingMap, 0); in testRemovingCoalescedNotifTriggersBatchEmit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java547 public void onNotificationRankingUpdated(RankingMap rankingMap) { in setupNEM()
548 onRankingUpdated(rankingMap); in setupNEM()
664 public void onRankingUpdate(RankingMap rankingMap) { in setupNotifPipeline()
665 onRankingUpdated(rankingMap); in setupNotifPipeline()
1232 private void onRankingUpdated(RankingMap rankingMap) { in onRankingUpdated() argument
1236 String[] orderedKeys = rankingMap.getOrderedKeys(); in onRankingUpdated()
1240 rankingMap.getRanking(key, mTmpRanking); in onRankingUpdated()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java808 RankingMap rankingMap, int reason) { in onNotificationRemoved() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...