Home
last modified time | relevance | path

Searched refs:getRanking (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java205 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/
DPreprocessingManager.java236 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()
DCarNotificationListener.java130 if (!mRankingMap.getRanking(sbn.getKey(), mTemporaryRanking)) { in onNotificationRankingUpdate()
147 mRankingMap.getRanking(key, mTemporaryRanking); in getOverrideGroupKey()
228 mRankingMap.getRanking(sbn.getKey(), ranking); in shouldTrackUnseen()
DCarHeadsUpNotificationManager.java527 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/
DAssistant.java290 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/
DNotificationStation.java362 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/
DNotificationStation.java362 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/
DNotificationListener.java370 getCurrentRanking().getRanking(sbn.getKey(), mTempRanking); in shouldBeFilteredOut()