/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationListenerTest.java | 33 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/ |
D | NotificationListenerController.java | 19 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/ |
D | NoManSimulator.java | 24 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/ |
D | NotificationListener.java | 71 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/ |
D | NotificationListenerWithPlugins.java | 75 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/ |
D | NotificationRankingUpdate.java | 42 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()
|
D | NotificationListenerService.java | 431 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 …]
|
D | NotificationAssistantService.java | 181 @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/ |
D | DreamOverlayNotificationCountProvider.java | 47 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/ |
D | NotifCollectionInconsistencyTracker.kt | 19 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>()
|
D | NotifEvent.kt | 21 import android.service.notification.NotificationListenerService.RankingMap 97 val rankingMap: RankingMap
|
D | NotifCollectionListener.java | 119 default void onRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onRankingUpdate()
|
D | NotifCollectionLogger.kt | 21 import android.service.notification.NotificationListenerService.RankingMap 218 rankingMap: RankingMap in logMissingRankings()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
D | GroupCoalescer.java | 25 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/ |
D | SensitiveContentProtectionManagerService.java | 47 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/ |
D | NotificationEntryListener.java | 22 import android.service.notification.NotificationListenerService.RankingMap; 109 default void onNotificationRankingUpdated(RankingMap rankingMap) { in onNotificationRankingUpdated()
|
D | ConversationNotifications.kt | 25 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/ |
D | BiometricNotificationLogger.java | 45 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/ |
D | NotifCollectionInconsistencyTrackerTest.kt | 19 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/ |
D | GroupCoalescerTest.java | 31 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/ |
D | NotifCollection.java | 61 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/ |
D | Bubbles.java | 31 import android.service.notification.NotificationListenerService.RankingMap; 229 RankingMap rankingMap, in onRankingUpdated()
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | NotificationRankingUpdateTest.java | 407 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/ |
D | DreamOverlayNotificationCountProviderTest.java | 55 NotificationListenerService.RankingMap mRankingMap;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/ |
D | BubblesManager.java | 44 import android.service.notification.NotificationListenerService.RankingMap; 459 public void onRankingUpdate(RankingMap rankingMap) { in setupNotifPipeline() 492 void onRankingUpdate(RankingMap rankingMap) { in onRankingUpdate()
|