Home
last modified time | relevance | path

Searched refs:mRankings (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNoManSimulator.java42 private final Map<String, Ranking> mRankings = new ArrayMap<>(); field in NoManSimulator
53 mRankings.put(entry.getKey(), entry.getRanking()); in postNotif()
62 assertNotNull(mRankings.remove(sbn.getKey())); in retractNotif()
85 mRankings.put(key, ranking); in setRanking()
90 return mRankings.remove(key); in removeRankingWithoutEvent()
94 return new RankingMap(mRankings.values().toArray(new Ranking[0])); in buildRankingMap()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java2297 private ArrayMap<String, Ranking> mRankings = new ArrayMap<>(); field in NotificationListenerService.RankingMap
2306 mRankings.put(key, rankings[i]); in RankingMap()
2316 mRankings.ensureCapacity(count); in RankingMap()
2321 mRankings.put(key, r); in RankingMap()
2333 && mRankings.equals(other.mRankings); in equals()
2347 mRankings.get(mOrderedKeys.get(i)).writeToParcel(out, flags); in writeToParcel()
2381 if (mRankings.containsKey(key)) { in getRanking()
2382 outRanking.populate(mRankings.get(key)); in getRanking()
2394 return mRankings.get(key); in getRawRankingObject()