/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | CarHeadsUpNotificationManagerTest.java | 205 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in maybeShowHeadsUp_isNotImportant_returnsNull() 228 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in maybeShowHeadsUp_isImportanceHigh_returnsNotNull() 241 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in getActiveHeadsUpNotifications_shouldReturnOne() 252 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in getActiveHeadsUpNotifications_diffNotifications_shouldReturnTwo() 265 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in getActiveHeadsUpNotifications_sameNotifications_shouldReturnOne() 277 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in maybeShowHeadsUp_categoryCarInformation_returnsNull() 293 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in maybeShowHeadsUp_categoryMessage_returnsNotNull() 312 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in maybeShowHeadsUp_categoryCall_returnsNotNull() 329 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in maybeShowHeadsUp_categoryNavigation_returnsNotNull() 345 when(mRankingMapMock.getRanking(any(), any())).thenReturn(true); in maybeShowHeadsUp_InboxHeadsUp_returnsNotNull() [all …]
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | PreprocessingManager.java | 236 if (rankingMap.getRanking(statusBarNotification.getKey(), ranking)) { in isLessImportantForegroundNotification() 518 mRankingMap.getRanking(left.getKey(), leftRanking); in compare() 522 mRankingMap.getRanking(right.getKey(), rightRanking); in compare() 542 mRankingMap.getRanking(left.getNotificationForSorting().getKey(), leftRanking); in compare() 546 mRankingMap.getRanking(right.getNotificationForSorting().getKey(), rightRanking); in compare() 567 int leftRankingNumber = getRanking(left, mNewRankingMap); in compare() 568 int rightRankingNumber = getRanking(right, mNewRankingMap); in compare() 573 private int getRanking(NotificationGroup group, RankingMap newRankingMap) { in getRanking() method in PreprocessingManager 581 if (!mOldRankingMap.getRanking( in getRanking() 584 newRankingMap.getRanking( in getRanking()
|
D | CarNotificationListener.java | 130 if (!mRankingMap.getRanking(sbn.getKey(), mTemporaryRanking)) { in onNotificationRankingUpdate() 147 mRankingMap.getRanking(key, mTemporaryRanking); in getOverrideGroupKey() 228 mRankingMap.getRanking(sbn.getKey(), ranking); in shouldTrackUnseen()
|
D | CarHeadsUpNotificationManager.java | 527 NotificationListenerService.Ranking ranking = getRanking(); in playSound() 528 if (rankingMap.getRanking(statusBarNotification.getKey(), ranking)) { in playSound() 727 NotificationListenerService.Ranking ranking = getRanking(); in shouldShowHeadsUp() 728 if (rankingMap.getRanking(statusBarNotification.getKey(), ranking)) { in shouldShowHeadsUp() 757 protected NotificationListenerService.Ranking getRanking() { in getRanking() method in CarHeadsUpNotificationManager
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | Assistant.java | 290 Ranking ranking = getRanking(sbn.getKey(), rankingMap); 442 private Ranking getRanking(String key, RankingMap rankingMap) { in getRanking() method in Assistant 447 rankingMap.getRanking(key, ranking); in getRanking()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 362 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in generateExtraText() 425 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in generateExtraText()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationStation.java | 362 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in generateExtraText() 425 if (mRanking != null && mRanking.getRanking(sbn.getKey(), rank)) { in generateExtraText()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationListener.java | 370 getCurrentRanking().getRanking(sbn.getKey(), mTempRanking); in shouldBeFilteredOut()
|