Home
last modified time | relevance | path

Searched refs:rankingMap (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java138 public void init(Map<String, AlertEntry> notifications, RankingMap rankingMap) { in init() argument
140 mOldRankingMap = rankingMap; in init()
141 mOldProcessedNotifications = process(notifications, rankingMap); in init()
153 RankingMap rankingMap) { in process() argument
157 rankingMap))), in process()
158 rankingMap)); in process()
209 boolean shouldFilter(AlertEntry alertEntry, RankingMap rankingMap) { in shouldFilter() argument
210 return isLessImportantForegroundNotification(alertEntry, rankingMap) in shouldFilter()
220 RankingMap rankingMap) { in filter() argument
240 RankingMap rankingMap) { in isLessImportantForegroundNotification() argument
[all …]
DCarHeadsUpNotificationManager.java179 NotificationListenerService.RankingMap rankingMap) { in CarHeadsUpNotificationManager()
182 rankingMap) in CarHeadsUpNotificationManager()
237 NotificationListenerService.RankingMap rankingMap, in maybeShowHeadsUp() argument
239 if (!shouldShowHeadsUp(alertEntry, rankingMap)) { in maybeShowHeadsUp()
266 rankingMap); in maybeShowHeadsUp() local
271 rankingMap); in maybeShowHeadsUp() local
273 mCarHeadsUpNotificationQueue.addToQueue(alertEntry, rankingMap); in maybeShowHeadsUp()
430 NotificationListenerService.RankingMap rankingMap) { in showHeadsUp() argument
437 playSound(alertEntry, rankingMap); in showHeadsUp()
560 NotificationListenerService.RankingMap rankingMap) { in playSound() argument
[all …]
DCarNotificationListener.java131 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() argument
151 onNotificationRankingUpdate(rankingMap); in onNotificationPosted()
189 public void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate() argument
190 mRankingMap = rankingMap; in onNotificationRankingUpdate()
DCarHeadsUpNotificationQueue.java164 NotificationListenerService.RankingMap rankingMap) { in addToQueue() argument
165 mRankingMap = rankingMap; in addToQueue()
168 mQueueCallback.showAsHeadsUp(alertEntry, rankingMap); in addToQueue()
354 NotificationListenerService.RankingMap rankingMap); in showAsHeadsUp() argument
DNotificationDataManager.java239 NotificationListenerService.RankingMap rankingMap) { in getNonLowImportanceUnseenNotificationCount() argument
245 rankingMap.getRanking(key, ranking); in getNonLowImportanceUnseenNotificationCount()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/notifications/
DTvNotificationHandler.java65 NotificationListenerService.RankingMap rankingMap) { in onNotificationPosted() argument
80 NotificationListenerService.RankingMap rankingMap) { in onNotificationRemoved() argument
94 NotificationListenerService.RankingMap rankingMap, int reason) { in onNotificationRemoved() argument
95 onNotificationRemoved(sbn, rankingMap); in onNotificationRemoved()
99 public void onNotificationRankingUpdate(NotificationListenerService.RankingMap rankingMap) { in onNotificationRankingUpdate() argument
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationDataManagerTest.java155 NotificationListenerService.RankingMap rankingMap = in updateUnseenNotificationGroups_addHighImportanceNotification_updatesUnseenCount() local
161 assertThat(mNotificationDataManager.getNonLowImportanceUnseenNotificationCount(rankingMap)) in updateUnseenNotificationGroups_addHighImportanceNotification_updatesUnseenCount()
172 NotificationListenerService.RankingMap rankingMap = in updateUnseenNotificationGroups_addLowImportanceNotification_unseenCountZero() local
178 assertThat(mNotificationDataManager.getNonLowImportanceUnseenNotificationCount(rankingMap)) in updateUnseenNotificationGroups_addLowImportanceNotification_unseenCountZero()
251 NotificationListenerService.RankingMap rankingMap = in setVisibleNotificationsAsSeen_notificationIsSeen_decrementsUnseenCount() local
259 assertThat(mNotificationDataManager.getNonLowImportanceUnseenNotificationCount(rankingMap)) in setVisibleNotificationsAsSeen_notificationIsSeen_decrementsUnseenCount()
286 NotificationListenerService.RankingMap rankingMap = in clearAll_clearsAllUnseenData() local
293 assertThat(mNotificationDataManager.getNonLowImportanceUnseenNotificationCount(rankingMap)) in clearAll_clearsAllUnseenData()
DPreprocessingManagerTest.java1321 NotificationListenerService.RankingMap rankingMap in generateRankingMap() local
1324 return rankingMap; in generateRankingMap()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DAssistant.java244 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted() argument
251 boolean found = rankingMap.getRanking(sbn.getKey(), ranking); in onNotificationPosted()
263 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap, in onNotificationRemoved() argument
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java266 public void onNotificationRankingUpdate(RankingMap rankingMap) { in onNotificationRankingUpdate() argument
267 mWorkerHandler.obtainMessage(MSG_RANKING_UPDATE, rankingMap).sendToTarget(); in onNotificationRankingUpdate()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationHistoryActivity.java458 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap,