Home
last modified time | relevance | path

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

/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationListenerServiceTest.java51 Ranking ranking = new Ranking(); in testRanking() local
52 service.getCurrentRanking().getRanking(key, ranking); in testRanking()
53 assertEquals(getVisibilityOverride(i), ranking.getVisibilityOverride()); in testRanking()
54 assertEquals(getOverrideGroupKey(key), ranking.getOverrideGroupKey()); in testRanking()
55 assertEquals(!isIntercepted(i), ranking.matchesInterruptionFilter()); in testRanking()
56 assertEquals(getSuppressedVisualEffects(i), ranking.getSuppressedVisualEffects()); in testRanking()
57 assertEquals(getImportance(i), ranking.getImportance()); in testRanking()
58 assertEquals(getExplanation(key), ranking.getImportanceExplanation()); in testRanking()
59 assertEquals(getChannel(key, i), ranking.getChannel()); in testRanking()
60 assertEquals(getPeople(key, i), ranking.getAdditionalPeople()); in testRanking()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java353 public Entry remove(String key, RankingMap ranking) { in remove() argument
360 updateRankingAndSort(ranking); in remove()
364 public void updateRanking(RankingMap ranking) { in updateRanking() argument
365 updateRankingAndSort(ranking); in updateRanking()
434 private void updateRankingAndSort(RankingMap ranking) { in updateRankingAndSort() argument
435 if (ranking != null) { in updateRankingAndSort()
436 mRankingMap = ranking; in updateRankingAndSort()
/frameworks/base/tools/apilint/
Dapilint.py635 ranking = [
651 for i in range(len(ranking)):
652 if isinstance(ranking[i], list):
653 for j in ranking[i]:
656 if p.startswith(ranking[i]): return i
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java938 JSONObject ranking = new JSONObject(); in dumpJson() local
941 ranking.put("noUid", mRestoredWithoutUids.size()); in dumpJson()
980 ranking.put("records", records); in dumpJson()
984 return ranking; in dumpJson()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java1565 public void addNotification(StatusBarNotification notification, RankingMap ranking) in addNotification() argument
1570 mNotificationData.updateRanking(ranking); in addNotification()
1666 protected void updateNotificationRanking(RankingMap ranking) { in updateNotificationRanking() argument
1667 mNotificationData.updateRanking(ranking); in updateNotificationRanking()
1671 public void removeNotification(String key, RankingMap ranking) { in removeNotification() argument
1732 mLatestRankingMap = ranking; in removeNotification()
1740 mLatestRankingMap = ranking; in removeNotification()
1754 handleGroupSummaryRemoved(key, ranking); in removeNotification()
1755 StatusBarNotification old = removeNotificationViews(key, ranking); in removeNotification()
1783 RankingMap ranking) { in handleGroupSummaryRemoved() argument
[all …]