HomeSort by relevance Sort by last modified time
    Searched refs:RankingMap (Results 1 - 25 of 25) sorted by null

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationUpdateHandler.java 30 * @param ranking RankingMap to update with
33 NotificationListenerService.RankingMap ranking);
39 * @param ranking RankingMap to update with
41 void removeNotification(String key, NotificationListenerService.RankingMap ranking);
47 * @param ranking RankingMap to update with
50 NotificationListenerService.RankingMap ranking);
55 * @param ranking RankingMap to update with
57 void updateNotificationRanking(NotificationListenerService.RankingMap ranking);
NotificationListener.java 62 final RankingMap currentRanking = getCurrentRanking();
72 final RankingMap rankingMap) {
74 if (sbn != null && !onPluginNotificationPosted(sbn, rankingMap)) {
93 mEntryManager.removeNotification(key, rankingMap);
96 .updateRanking(rankingMap);
101 mEntryManager.updateNotification(sbn, rankingMap);
103 mEntryManager.addNotification(sbn, rankingMap);
111 final RankingMap rankingMap) {
    [all...]
NotificationEntryManager.java 124 protected NotificationListenerService.RankingMap mLatestRankingMap;
190 public NotificationListenerService.RankingMap getLatestRankingMap() {
194 public void setLatestRankingMap(NotificationListenerService.RankingMap latestRankingMap) {
476 public void removeNotification(String key, NotificationListenerService.RankingMap ranking) {
636 NotificationListenerService.RankingMap ranking) {
    [all...]
NotificationData.java 45 import android.service.notification.NotificationListenerService.RankingMap;
352 private RankingMap mRankingMap;
373 // RankingMap as received from NoMan
463 public Entry remove(String key, RankingMap ranking) {
474 public void updateRanking(RankingMap ranking) {
630 private void updateRankingAndSort(RankingMap ranking) {
  /frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
NotificationListenerController.java 17 import android.service.notification.NotificationListenerService.RankingMap;
33 default boolean onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
36 default boolean onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
45 default RankingMap getCurrentRanking(RankingMap currentRanking) {
55 RankingMap getRankingMap();
  /cts/tests/app/app/src/android/app/stubs/
MockNotificationListener.java 33 public RankingMap mRankingMap;
76 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
82 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
88 public void onNotificationRankingUpdate(RankingMap rankingMap) {
89 mRankingMap = rankingMap;
  /cts/tests/tests/notificationlegacy/src/android/app/notification/legacy/cts/
MockNotificationListener.java 33 public RankingMap mRankingMap;
76 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
82 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
88 public void onNotificationRankingUpdate(RankingMap rankingMap) {
89 mRankingMap = rankingMap;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationListenerWithPlugins.java 66 public RankingMap getCurrentRanking() {
67 RankingMap currentRanking = super.getCurrentRanking();
84 final RankingMap rankingMap) {
86 if (plugin.onNotificationPosted(sbn, rankingMap)) {
98 final RankingMap rankingMap) {
100 if (plugin.onNotificationRemoved(sbn, rankingMap)) {
107 public RankingMap onPluginRankingUpdate(RankingMap rankingMap)
    [all...]
  /frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/
AssistantTest.java 43 import android.service.notification.NotificationListenerService.RankingMap;
155 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class));
161 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_CANCEL);
169 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class));
181 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class));
197 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class));
211 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class));
213 sbn, mock(RankingMap.class), stats, NotificationListenerService.REASON_CANCEL);
216 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class));
235 mAssistant.onNotificationPosted(sbn, mock(RankingMap.class))
    [all...]
  /packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
Listener.java 31 import android.service.notification.NotificationListenerService.RankingMap;
93 private RankingMap mRankingMap;
97 final RankingMap mRankingMap;
99 public Delta(StatusBarNotification sbn, RankingMap rankingMap) {
101 mRankingMap = rankingMap;
277 public void onNotificationRankingUpdate(RankingMap rankingMap) {
280 new Delta(null, rankingMap)).sendToTarget();
284 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap)
    [all...]
  /frameworks/base/core/java/android/service/notification/
NotificationListenerService.java 284 private RankingMap mRankingMap;
334 * @param rankingMap The current ranking map that can be used to retrieve ranking information
337 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
378 * @param rankingMap The current ranking map that can be used to retrieve ranking information
382 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
403 * @param rankingMap The current ranking map that can be used to retrieve ranking information
407 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap,
    [all...]
NotificationAssistantService.java 106 * @param rankingMap The current ranking map that can be used to retrieve ranking information
112 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap,
114 onNotificationRemoved(sbn, rankingMap, reason);
156 * {@link #onNotificationPosted(StatusBarNotification, RankingMap)} callback for the
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
MockListener.java 125 public void onNotificationRankingUpdate(RankingMap rankingMap) {
126 String[] orderedKeys = rankingMap.getOrderedKeys();
132 rankingMap.getRanking(key, rank);
147 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
165 onNotificationRankingUpdate(rankingMap);
169 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
174 onNotificationRankingUpdate(rankingMap);
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
NotificationListenerTest.java 54 @Mock private NotificationListenerService.RankingMap mRanking;
114 // RankingMap may be modified by plugins.
NotificationRemoteInputManagerTest.java 41 @Mock private NotificationListenerService.RankingMap mRanking;
NotificationDataTest.java 106 mNotificationData.updateRanking(mock(NotificationListenerService.RankingMap.class));
NotificationEntryManagerTest.java 86 @Mock private NotificationListenerService.RankingMap mRankingMap;
  /frameworks/base/packages/ExtServices/src/android/ext/services/notification/
Assistant.java 194 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
197 Ranking ranking = getRanking(sbn.getKey(), rankingMap);
216 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap,
282 private Ranking getRanking(String key, RankingMap rankingMap) {
287 rankingMap.getRanking(key, ranking);
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationStation.java 40 import android.service.notification.NotificationListenerService.RankingMap;
91 private RankingMap mRanking;
102 public void onNotificationPosted(StatusBarNotification sbn, RankingMap ranking) {
110 public void onNotificationRemoved(StatusBarNotification notification, RankingMap ranking) {
118 public void onNotificationRankingUpdate(RankingMap ranking) {
  /packages/apps/Launcher3/src/com/android/launcher3/notification/
NotificationListener.java 289 public void onNotificationRankingUpdate(RankingMap rankingMap) {
290 super.onNotificationRankingUpdate(rankingMap);
291 String[] keys = rankingMap.getOrderedKeys();
  /cts/tests/app/src/android/app/cts/
NotificationManagerTest.java 492 NotificationListenerService.RankingMap rankingMap = mListener.mRankingMap;
494 for (String key : rankingMap.getOrderedKeys()) {
496 rankingMap.getRanking(key, outRanking);
506 rankingMap = mListener.mRankingMap;
507 for (String key : rankingMap.getOrderedKeys()) {
509 rankingMap.getRanking(key, outRanking);
    [all...]
  /frameworks/base/config/
preloaded-classes     [all...]
boot-image-profile.txt     [all...]
  /prebuilts/sdk/25/
android.jar 
  /prebuilts/sdk/26/
android.jar 

Completed in 1983 milliseconds