Home
last modified time | relevance | path

Searched refs:mRankingMap (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DNotificationRankingUpdate.java25 private final NotificationListenerService.RankingMap mRankingMap; field in NotificationRankingUpdate
28 mRankingMap = new NotificationListenerService.RankingMap(rankings); in NotificationRankingUpdate()
32 mRankingMap = in.readParcelable(getClass().getClassLoader()); in NotificationRankingUpdate()
36 return mRankingMap; in getRankingMap()
50 return mRankingMap.equals(other.mRankingMap); in equals()
55 out.writeParcelable(mRankingMap, flags); in writeToParcel()
DNotificationListenerService.java291 private RankingMap mRankingMap; field in NotificationListenerService
1087 return mRankingMap; in getCurrentRanking()
1294 args.arg2 = mRankingMap; in onNotificationPosted()
1300 mRankingMap).sendToTarget(); in onNotificationPosted()
1321 args.arg2 = mRankingMap; in onNotificationRemoved()
1347 mRankingMap).sendToTarget(); in onNotificationRankingUpdate()
1448 mRankingMap = update.getRankingMap(); in applyUpdateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java65 private RankingMap mRankingMap; field in NotificationData
87 if (mRankingMap != null) {
197 updateRankingAndSort(mRankingMap); in add()
208 if (ranking == null) ranking = mRankingMap; in remove()
252 if (mRankingMap != null) { in isHighPriority()
310 if (mRankingMap != null) { in isAmbient()
318 if (mRankingMap != null) { in getVisibilityOverride()
326 if (mRankingMap != null) { in getImportance()
334 if (mRankingMap != null) { in getOverrideGroupKey()
342 if (mRankingMap != null) { in getSnoozeCriteria()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java120 @Mock private NotificationListenerService.RankingMap mRankingMap; field in NotificationEntryManagerTest
185 }).when(mRankingMap).getRanking(eq(key), any(NotificationListenerService.Ranking.class)); in setUserSentiment()
204 }).when(mRankingMap).getRanking(eq(key), any(NotificationListenerService.Ranking.class)); in setSmartActions()
271 mEntryManager.addNotification(mSbn, mRankingMap); in testAddNotification()
305 mEntryManager.updateNotification(mSbn, mRankingMap); in testUpdateNotification()
331 mEntryManager.updateNotification(mSbn, mRankingMap); in testUpdateNotification_prePostEntryOrder()
355 mEntryManager.removeNotification(mSbn.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification() local
371 mEntryManager.removeNotification("not_a_real_key", mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification_onEntryRemoveNotFiredIfEntryDoesntExist()
383 mEntryManager.addNotification(mSbn, mRankingMap); in testRemoveNotification_whilePending()
384 mEntryManager.removeNotification(mSbn.getKey(), mRankingMap, UNDEFINED_DISMISS_REASON); in testRemoveNotification_whilePending() local
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt68210 Landroid/service/notification/NotificationListenerService;->mRankingMap:Landroid/service/notificati…