Home
last modified time | relevance | path

Searched refs:RankingMap (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationListenerTest.java33 import android.service.notification.NotificationListenerService.RankingMap;
68 private RankingMap mRanking = new RankingMap(new Ranking[0]);
111 RankingMap ranking1 = mock(RankingMap.class); in testRankingUpdateMultipleTimesCallsNotificationRankingUpdateOnce()
112 RankingMap ranking2 = mock(RankingMap.class); in testRankingUpdateMultipleTimesCallsNotificationRankingUpdateOnce()
113 RankingMap ranking3 = mock(RankingMap.class); in testRankingUpdateMultipleTimesCallsNotificationRankingUpdateOnce()
132 RankingMap ranking1 = mock(RankingMap.class); in testRankingUpdateWillCallAgainIfQueueIsSlow()
133 RankingMap ranking2 = mock(RankingMap.class); in testRankingUpdateWillCallAgainIfQueueIsSlow()
134 RankingMap ranking3 = mock(RankingMap.class); in testRankingUpdateWillCallAgainIfQueueIsSlow()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DNotificationListenerController.java19 import android.service.notification.NotificationListenerService.RankingMap;
38 default boolean onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
45 default boolean onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved()
66 default RankingMap getCurrentRanking(RankingMap currentRanking) { in getCurrentRanking()
76 RankingMap getRankingMap(); in getRankingMap()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNoManSimulator.java24 import android.service.notification.NotificationListenerService.RankingMap;
54 final RankingMap rankingMap = buildRankingMap(); in postNotif()
63 final RankingMap rankingMap = buildRankingMap(); in retractNotif()
71 final RankingMap rankingMap = buildRankingMap(); in issueRankingUpdate()
93 private RankingMap buildRankingMap() { in buildRankingMap()
94 return new RankingMap(mRankings.values().toArray(new Ranking[0])); in buildRankingMap()
101 public final RankingMap rankingMap;
106 RankingMap rankingMap) { in NotifEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java71 private final Deque<RankingMap> mRankingMapQueue = new ConcurrentLinkedDeque<>();
118 final RankingMap currentRanking = getCurrentRanking(); in onListenerConnected()
129 final RankingMap completeMap = new RankingMap(newRankings.toArray(new Ranking[0])); in onListenerConnected()
146 final RankingMap rankingMap) { in onNotificationPosted()
158 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved()
171 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved()
176 public void onNotificationRankingUpdate(final RankingMap rankingMap) { in onNotificationRankingUpdate()
180 RankingMap r = onPluginRankingUpdate(rankingMap); in onNotificationRankingUpdate()
197 RankingMap r = mRankingMapQueue.pollFirst(); in dispatchRankingUpdate()
273 private static Ranking getRankingOrTemporaryStandIn(RankingMap rankingMap, String key) { in getRankingOrTemporaryStandIn()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java75 public RankingMap getCurrentRanking() { in getCurrentRanking()
89 final RankingMap rankingMap) { in onPluginNotificationPosted()
103 final RankingMap rankingMap) { in onPluginNotificationRemoved()
126 protected RankingMap onPluginRankingUpdate(RankingMap rankingMap) { in onPluginRankingUpdate()
154 public RankingMap getRankingMap() { in getProvider()
/frameworks/base/core/java/android/service/notification/
DNotificationRankingUpdate.java42 private final NotificationListenerService.RankingMap mRankingMap;
53 mRankingMap = new NotificationListenerService.RankingMap(rankings); in NotificationRankingUpdate()
86 NotificationListenerService.RankingMap.class); in NotificationRankingUpdate()
103 android.service.notification.NotificationListenerService.RankingMap.class); in NotificationRankingUpdate()
143 public NotificationListenerService.RankingMap getRankingMap() { in getRankingMap()
203 NotificationListenerService.RankingMap marshalableRankingMap = in writeToParcel()
204 new NotificationListenerService.RankingMap( in writeToParcel()
DNotificationListenerService.java431 private RankingMap mRankingMap;
487 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
528 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved()
550 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved()
564 @NonNull RankingMap rankingMap, @NonNull NotificationStats stats, int reason) { in onNotificationRemoved()
595 public void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate()
1254 public RankingMap getCurrentRanking() { in getCurrentRanking()
2294 public static class RankingMap implements Parcelable { class in NotificationListenerService
2302 public RankingMap(Ranking[] rankings) { in RankingMap() method in NotificationListenerService.RankingMap
2312 private RankingMap(Parcel in) { in RankingMap() method in NotificationListenerService.RankingMap
[all …]
DNotificationAssistantService.java181 @NonNull NotificationChannel channel, @NonNull RankingMap rankingMap) { in onNotificationEnqueued()
209 @NonNull RankingMap rankingMap, in onNotificationRemoved()
310 public void onNotificationFeedbackReceived(@NonNull String key, @NonNull RankingMap rankingMap, in onNotificationFeedbackReceived()
544 RankingMap ranking = (RankingMap) args.arg3; in handleMessage()
648 RankingMap ranking = (RankingMap) args.arg2; in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayNotificationCountProvider.java47 StatusBarNotification sbn, NotificationListenerService.RankingMap rankingMap) {
58 StatusBarNotification sbn, NotificationListenerService.RankingMap rankingMap) {
66 NotificationListenerService.RankingMap rankingMap,
73 public void onNotificationRankingUpdate(NotificationListenerService.RankingMap rankingMap) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifCollectionInconsistencyTracker.kt19 import android.service.notification.NotificationListenerService.RankingMap in <lambda>()
40 fun logNewMissingNotifications(rankingMap: RankingMap) { in <lambda>()
72 rankingMap: RankingMap, in <lambda>()
86 rankingMap: RankingMap, in <lambda>()
DNotifEvent.kt21 import android.service.notification.NotificationListenerService.RankingMap
97 val rankingMap: RankingMap
DNotifCollectionListener.java119 default void onRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onRankingUpdate()
DNotifCollectionLogger.kt21 import android.service.notification.NotificationListenerService.RankingMap
218 rankingMap: RankingMap in logMissingRankings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java25 import android.service.notification.NotificationListenerService.RankingMap;
130 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
145 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
154 RankingMap rankingMap,
162 public void onNotificationRankingUpdate(RankingMap rankingMap) {
200 RankingMap rankingMap) { in handleNotificationPosted()
277 private Ranking requireRanking(RankingMap rankingMap, String key) { in requireRanking()
285 private void applyRanking(RankingMap rankingMap) { in applyRanking()
/frameworks/base/services/core/java/com/android/server/
DSensitiveContentProtectionManagerService.java47 import android.service.notification.NotificationListenerService.RankingMap;
171 @NonNull RankingMap rankingMap) { in addSeenNotifications()
370 RankingMap rankingMap; in updateAppsThatShouldBlockScreenCapture()
387 private void updateAppsThatShouldBlockScreenCapture(@NonNull RankingMap rankingMap) { in updateAppsThatShouldBlockScreenCapture()
410 @NonNull StatusBarNotification[] notifications, @NonNull RankingMap rankingMap) { in getSensitivePackagesFromNotifications()
427 @NonNull StatusBarNotification sbn, @NonNull RankingMap rankingMap) { in getSensitivePackageFromNotification()
435 @NonNull StatusBarNotification sbn, @NonNull RankingMap rankingMap) { in notificationHasSensitiveContent()
460 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
502 public void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryListener.java22 import android.service.notification.NotificationListenerService.RankingMap;
109 default void onNotificationRankingUpdated(RankingMap rankingMap) { in onNotificationRankingUpdated()
DConversationNotifications.kt25 import android.service.notification.NotificationListenerService.RankingMap in <lambda>()
154 private fun updateNotificationRanking(rankingMap: RankingMap) { in updateNotificationRanking()
210 override fun onRankingUpdate(ranking: RankingMap) = in onRankingUpdate()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricNotificationLogger.java45 public void onNotificationPosted(StatusBarNotification sbn, RankingMap map) { in onNotificationPosted()
68 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifCollectionInconsistencyTrackerTest.kt19 import android.service.notification.NotificationListenerService.RankingMap
50 private fun rankingMapOf(vararg entries: NotificationEntry): RankingMap = in rankingMapOf()
51 RankingMap(entries.map { it.ranking }.toTypedArray()) in rankingMapOf()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java31 import android.service.notification.NotificationListenerService.RankingMap;
121 any(RankingMap.class)); in testGroupedNotificationsAreCoalesced()
165 any(RankingMap.class)); in testCoalescedNotificationsArePosted()
198 any(RankingMap.class)); in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
255 any(RankingMap.class)); in testUpdatingCoalescedNotifTriggersBatchEmit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java61 import android.service.notification.NotificationListenerService.RankingMap;
445 private void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
466 RankingMap rankingMap, in onNotificationRemoved()
485 private void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate()
622 private void applyRanking(@NonNull RankingMap rankingMap) { in applyRanking()
846 private static Ranking requireRanking(RankingMap rankingMap, String key) {
942 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
952 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
957 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap,
963 public void onNotificationRankingUpdate(RankingMap rankingMap) {
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbles.java31 import android.service.notification.NotificationListenerService.RankingMap;
229 RankingMap rankingMap, in onRankingUpdated()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DNotificationRankingUpdateTest.java407 public void detailedAssertEquals(NotificationListenerService.RankingMap a, in detailedAssertEquals()
408 NotificationListenerService.RankingMap b) { in detailedAssertEquals()
491 NotificationListenerService.RankingMap rmap = generateUpdate(getContext()).getRankingMap(); in testRankingMap_parcel()
495 NotificationListenerService.RankingMap rmap1 = in testRankingMap_parcel()
496 NotificationListenerService.RankingMap.CREATOR.createFromParcel(parcel); in testRankingMap_parcel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayNotificationCountProviderTest.java55 NotificationListenerService.RankingMap mRankingMap;
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java44 import android.service.notification.NotificationListenerService.RankingMap;
459 public void onRankingUpdate(RankingMap rankingMap) { in setupNotifPipeline()
492 void onRankingUpdate(RankingMap rankingMap) { in onRankingUpdate()

12