/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | NotificationRankingUpdateTest.java | 19 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEGAT… 20 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR… 21 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT… 96 NotificationListenerService.Ranking[] rankings = in generateUpdate() 97 new NotificationListenerService.Ranking[mKeys.length]; in generateUpdate() 100 NotificationListenerService.Ranking ranking = new NotificationListenerService.Ranking(); in generateUpdate() 367 public void detailedAssertEquals(String comment, NotificationListenerService.Ranking a, in detailedAssertEquals() 368 NotificationListenerService.Ranking b) { in detailedAssertEquals() 409 NotificationListenerService.Ranking arank = new NotificationListenerService.Ranking(); in detailedAssertEquals() 410 NotificationListenerService.Ranking brank = new NotificationListenerService.Ranking(); in detailedAssertEquals() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NoManSimulator.java | 23 import android.service.notification.NotificationListenerService.Ranking; 42 private final Map<String, Ranking> mRankings = new ArrayMap<>(); 84 public void setRanking(String key, Ranking ranking) { in setRanking() 89 public Ranking removeRankingWithoutEvent(String key) { in removeRankingWithoutEvent() 94 return new RankingMap(mRankings.values().toArray(new Ranking[0])); in buildRankingMap() 100 public final Ranking ranking; 105 Ranking ranking, in NotifEvent()
|
D | NotificationEntryTest.java | 46 import android.service.notification.NotificationListenerService.Ranking; 139 Ranking ranking = new RankingBuilder() in testBlockableWhenEntryHasNoChannel() 235 Ranking ranking = new RankingBuilder() in testCreateNotificationDataEntry_RankingUpdate() 239 .setUserSentiment(Ranking.USER_SENTIMENT_NEGATIVE) in testCreateNotificationDataEntry_RankingUpdate() 248 assertEquals(Ranking.USER_SENTIMENT_NEGATIVE, entry.getUserSentiment()); in testCreateNotificationDataEntry_RankingUpdate() 319 Ranking ranking = new RankingBuilder() in testIsChannelVisibilityPrivate_visibilityPublic_false() 332 Ranking ranking = new RankingBuilder() in testIsChannelVisibilityPrivate_entryHasNoChannel_false()
|
D | TargetSdkResolverTest.kt | 26 import android.service.notification.NotificationListenerService.Ranking 120 private fun createRanking(key: String) = Ranking().apply { in createSbn()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationRankingUpdate.java | 52 public NotificationRankingUpdate(NotificationListenerService.Ranking[] rankings) { in NotificationRankingUpdate() 125 NotificationListenerService.Ranking ranking = mRankingMap.getRawRankingObject(key); in addSmartActionsFromBundleToRankingMap() 174 ArrayList<NotificationListenerService.Ranking> marshalableRankings = new ArrayList<>(); in writeToParcel() 183 NotificationListenerService.Ranking ranking = mRankingMap.getRawRankingObject(key); in writeToParcel() 195 NotificationListenerService.Ranking rankingCopy = in writeToParcel() 196 new NotificationListenerService.Ranking(); in writeToParcel() 206 new NotificationListenerService.Ranking[0] in writeToParcel()
|
D | NotificationListenerService.java | 1689 public static class Ranking { class in NotificationListenerService 1777 public Ranking() { in Ranking() method in NotificationListenerService.Ranking 1818 public Ranking(Parcel in) { in Ranking() method in NotificationListenerService.Ranking 2184 public @NonNull Ranking withAudiblyAlertedInfo(@Nullable Ranking previous) { 2195 public void populate(Ranking other) { in populate() 2252 Ranking other = (Ranking) o; in equals() 2297 private ArrayMap<String, Ranking> mRankings = new ArrayMap<>(); 2302 public RankingMap(Ranking[] rankings) { in RankingMap() 2318 final Ranking r = new Ranking(in); in RankingMap() 2380 public boolean getRanking(String key, Ranking outRanking) { in getRanking() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleEntry.java | 25 import android.service.notification.NotificationListenerService.Ranking; 39 private Ranking mRanking; 47 Ranking ranking, boolean isDismissable, boolean shouldSuppressNotificationDot, in BubbleEntry() 65 public Ranking getRanking() { in getRanking()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationEntryHelper.java | 19 import android.service.notification.NotificationListenerService.Ranking; 44 public Ranking build() { in build() 45 final Ranking ranking = super.build(); in build()
|
D | NotificationListenerTest.java | 32 import android.service.notification.NotificationListenerService.Ranking; 68 private RankingMap mRanking = new RankingMap(new Ranking[0]);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
D | CoalescedEvent.kt | 19 import android.service.notification.NotificationListenerService.Ranking 26 var ranking: Ranking,
|
D | GroupCoalescer.java | 24 import android.service.notification.NotificationListenerService.Ranking; 277 private Ranking requireRanking(RankingMap rankingMap, String key) { in requireRanking() 278 Ranking ranking = new Ranking(); in requireRanking() 287 Ranking ranking = new Ranking(); in applyRanking()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | AssistantFeedbackController.java | 19 import static android.service.notification.NotificationListenerService.Ranking; 116 Ranking ranking = entry.getRanking(); in getFeedbackStatus() 126 || ranking.getRankingAdjustment() == Ranking.RANKING_PROMOTED) { in getFeedbackStatus() 129 || ranking.getRankingAdjustment() == Ranking.RANKING_DEMOTED) { in getFeedbackStatus()
|
D | ConversationNotifications.kt | 24 import android.service.notification.NotificationListenerService.Ranking in <lambda>() 157 val ranking = Ranking() in updateNotificationRanking()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
D | RankingBuilder.java | 26 import android.service.notification.NotificationListenerService.Ranking; 68 public RankingBuilder(Ranking ranking) { in RankingBuilder() 97 public Ranking build() { in build() 98 final Ranking ranking = new Ranking(); in build()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 20 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEGAT… 21 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR… 22 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT… 55 import android.service.notification.NotificationListenerService.Ranking; 148 Ranking ranking = new Ranking(); in testRanking() 220 Ranking[] rankings = new Ranking[mKeys.length]; in generateUpdate() 223 Ranking ranking = new Ranking(); in generateUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationListener.java | 125 final List<Ranking> newRankings = new ArrayList<>(); in onListenerConnected() 129 final RankingMap completeMap = new RankingMap(newRankings.toArray(new Ranking[0])); in onListenerConnected() 273 private static Ranking getRankingOrTemporaryStandIn(RankingMap rankingMap, String key) { in getRankingOrTemporaryStandIn() 274 Ranking ranking = new Ranking(); in getRankingOrTemporaryStandIn()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | AssistantFeedbackControllerTest.java | 24 import static android.service.notification.NotificationListenerService.Ranking.RANKING_DEMOTED; 25 import static android.service.notification.NotificationListenerService.Ranking.RANKING_PROMOTED; 26 import static android.service.notification.NotificationListenerService.Ranking.RANKING_UNCHANGED;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/ |
D | PeopleNotificationIdentifier.kt | 20 import android.service.notification.NotificationListenerService.Ranking 103 private val Ranking.personTypeInfo in upperBound() constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/ |
D | NotificationMediaManagerTest.kt | 95 whenever(notifEntry.ranking).thenReturn(NotificationListenerService.Ranking()) in mediaDataRemoved_userInitiated_dismissNotif() 118 whenever(notifEntry.ranking).thenReturn(NotificationListenerService.Ranking()) in mediaDataRemoved_notUserInitiated_flagOff_dismissNotif()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntry.java | 49 import android.service.notification.NotificationListenerService.Ranking; 104 private Ranking mRanking; 252 @NonNull Ranking ranking, in NotificationEntry() 304 public Ranking getRanking() { in getRanking() 312 public void setRanking(@NonNull Ranking ranking) { in setRanking()
|
D | NotifCollection.java | 60 import android.service.notification.NotificationListenerService.Ranking; 508 Ranking ranking) { in postNotification() 630 Ranking ranking = new Ranking(); in applyRanking() 846 private static Ranking requireRanking(RankingMap rankingMap, String key) { 848 Ranking ranking = new Ranking();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
D | GroupCoalescerTest.java | 30 import android.service.notification.NotificationListenerService.Ranking; 303 Ranking ranking1b = new RankingBuilder() in testRankingsAreUpdated() 307 Ranking ranking2b = new RankingBuilder() in testRankingsAreUpdated()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryBuilder.java | 26 import android.service.notification.NotificationListenerService.Ranking; 115 final Ranking ranking = mRankingBuilder.setKey(sbn.getKey()).build(); in buildOrApply()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManagerWithScenesTest.kt | 33 import android.service.notification.NotificationListenerService.Ranking in <lambda>() 485 .setUserSentiment(Ranking.USER_SENTIMENT_NEGATIVE) in <lambda>() 518 .setUserSentiment(Ranking.USER_SENTIMENT_NEGATIVE) in <lambda>() 550 .setUserSentiment(Ranking.USER_SENTIMENT_NEGATIVE) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
D | BubbleDataTest.java | 141 NotificationListenerService.Ranking ranking = in setUp() 142 mock(NotificationListenerService.Ranking.class); in setUp() 1357 NotificationListenerService.Ranking ranking) { in createBubbleEntry() 1362 NotificationListenerService.Ranking ranking, LocusId locusId) { in createBubbleEntry() 1376 NotificationListenerService.Ranking ranking, long postTime, in createBubbleEntry()
|