Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DNotificationRankingUpdate.java26 private final NotificationListenerService.RankingMap mRankingMap; field in NotificationRankingUpdate
29 mRankingMap = new NotificationListenerService.RankingMap(rankings); in NotificationRankingUpdate()
33 mRankingMap = in.readParcelable(getClass().getClassLoader()); in NotificationRankingUpdate()
37 return mRankingMap; in getRankingMap()
51 return mRankingMap.equals(other.mRankingMap); in equals()
56 out.writeParcelable(mRankingMap, flags); in writeToParcel()
DNotificationListenerService.java389 private RankingMap mRankingMap; field in NotificationListenerService
1207 return mRankingMap; in getCurrentRanking()
1418 args.arg2 = mRankingMap; in onNotificationPosted()
1424 mRankingMap).sendToTarget(); in onNotificationPosted()
1449 args.arg2 = mRankingMap; in onNotificationRemoved()
1475 mRankingMap).sendToTarget(); in onNotificationRankingUpdate()
1606 mRankingMap = update.getRankingMap(); in applyUpdateLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java123 @Mock private RankingMap mRankingMap; field in NotificationEntryManagerTest
154 }).when(mRankingMap).getRanking(eq(key), any(Ranking.class)); in setUserSentiment()
173 }).when(mRankingMap).getRanking(eq(key), any(Ranking.class)); in setSmartActions()
221 mEntryManager.addNotification(mSbn, mRankingMap); in testAddNotification_noDuplicateEntriesCreated()
225 mEntryManager.addNotification(mSbn, mRankingMap); in testAddNotification_noDuplicateEntriesCreated()
226 mEntryManager.addNotification(mSbn, mRankingMap); in testAddNotification_noDuplicateEntriesCreated()
227 mEntryManager.addNotification(mSbn, mRankingMap); in testAddNotification_noDuplicateEntriesCreated()
242 mEntryManager.addNotification(mSbn, mRankingMap); in testAddNotification_setsUserSentiment()
258 mEntryManager.updateNotification(mSbn, mRankingMap); in testUpdateNotification_updatesUserSentiment()
269 mEntryManager.updateNotification(mSbn, mRankingMap); in testUpdateNotification_prePostEntryOrder()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
DLegacyNotificationRankerStub.java37 private RankingMap mRankingMap = new RankingMap(new Ranking[] {}); field in LegacyNotificationRankerStub
46 mRankingMap = newRankingMap; in updateRanking()
56 return mRankingMap; in getRankingMap()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationEntryManagerInflationTest.java151 private NotificationListenerService.RankingMap mRankingMap; field in NotificationEntryManagerInflationTest
324 mRankingMap = new NotificationListenerService.RankingMap(new Ranking[] {ranking}); in setUp()
338 mEntryManager.addNotification(mSbn, mRankingMap); in testAddNotification()
366 mEntryManager.addNotification(mSbn, mRankingMap); in testUpdateNotification()
377 mEntryManager.updateNotification(mSbn, mRankingMap); in testUpdateNotification()
395 mEntryManager.addNotification(mSbn, mRankingMap); in testContentViewInflationDuringRowInflationInflatesCorrectViews()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java167 private NotificationListenerService.RankingMap mRankingMap; field in DataManagerTest
1612 }).when(mRankingMap).getRanking(eq(GENERIC_KEY), in sendGenericNotification()
1616 listenerService.onNotificationPosted(mGenericSbn, mRankingMap); in sendGenericNotification()
1638 }).when(mRankingMap).getRanking(eq(CUSTOM_KEY), in sendConvoNotification()
1643 listenerService.onNotificationPosted(mConvoSbn, mRankingMap); in sendConvoNotification()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt53065 Landroid/service/notification/NotificationListenerService;->mRankingMap:Landroid/service/notificati…