HomeSort by relevance Sort by last modified time
    Searched defs:sbn (Results 1 - 10 of 10) sorted by null

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationData.java 211 StatusBarNotification sbn = entry.notification; local
213 if (shouldFilterOut(sbn)) {
217 if (sbn.getNotification().isGroupSummary()) {
218 mGroupsWithSummaries.add(sbn.getGroupKey());
228 StatusBarNotification sbn = ent.notification; local
229 if (sbn.getNotification().isGroupChild() &&
230 mGroupsWithSummaries.contains(sbn.getGroupKey())) {
243 boolean shouldFilterOut(StatusBarNotification sbn) {
245 showNotificationEvenIfUnprovisioned(sbn))) {
249 if (!mEnvironment.isNotificationForCurrentProfiles(sbn)) {
    [all...]
BaseStatusBar.java 364 for (StatusBarNotification sbn : notifications) {
365 addNotification(sbn, currentRanking);
372 public void onNotificationPosted(final StatusBarNotification sbn,
374 if (DEBUG) Log.d(TAG, "onNotificationPosted: " + sbn);
378 Notification n = sbn.getNotification();
379 boolean isUpdate = mNotificationData.get(sbn.getKey()) != null
380 || isHeadsUp(sbn.getKey());
386 mNotificationData.isGroupWithSummary(sbn.getGroupKey())) {
388 Log.d(TAG, "Ignoring group child due to existing summary: " + sbn);
393 removeNotification(sbn.getKey(), rankingMap)
780 final StatusBarNotification sbn = row.getStatusBarNotification(); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
MockListener.java 216 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
217 if (!mTestPackages.contains(sbn.getPackageName())) { return; }
218 Log.d(TAG, "posted: " + sbn.getTag());
219 mPosted.add(sbn.getTag());
222 notification.put(JSON_TAG, sbn.getTag());
223 notification.put(JSON_ID, sbn.getId());
224 notification.put(JSON_PACKAGE, sbn.getPackageName());
225 notification.put(JSON_WHEN, sbn.getNotification().when);
226 notification.put(JSON_ICON, sbn.getNotification().icon);
227 notification.put(JSON_FLAGS, sbn.getNotification().flags)
    [all...]
  /frameworks/base/core/java/android/service/notification/
NotificationListenerService.java 136 * @param sbn A data structure encapsulating the original {@link android.app.Notification}
140 public void onNotificationPosted(StatusBarNotification sbn) {
147 * @param sbn A data structure encapsulating the original {@link android.app.Notification}
153 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
154 onNotificationPosted(sbn);
170 * @param sbn A data structure encapsulating at least the original information (tag and id)
174 public void onNotificationRemoved(StatusBarNotification sbn) {
191 * @param sbn A data structure encapsulating at least the original information (tag and id)
198 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
199 onNotificationRemoved(sbn);
608 StatusBarNotification sbn; local
630 StatusBarNotification sbn; local
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationRecord.java 47 final StatusBarNotification sbn; field in class:NotificationRecord
74 public NotificationRecord(StatusBarNotification sbn, int score)
76 this.sbn = sbn;
78 mOriginalFlags = sbn.getNotification().flags;
93 public Notification getNotification() { return sbn.getNotification(); }
94 public int getFlags() { return sbn.getNotification().flags; }
95 public UserHandle getUser() { return sbn.getUser(); }
96 public String getKey() { return sbn.getKey(); }
98 public int getUserId() { return sbn.getUserId();
    [all...]
NotificationManagerService.java 535 StatusBarNotification sbn = r.sbn;
536 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(),
537 sbn.getId(), Notification.FLAG_AUTO_CANCEL,
1506 final StatusBarNotification sbn = mNotificationList.get(i).sbn; local
1585 final StatusBarNotification sbn = iter.next(); local
    [all...]
  /packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
NotificationListenerActivity.java 123 StatusBarNotification sbn = (StatusBarNotification) tag; local
124 Log.d(TAG, " on " + sbn.getKey());
127 .putExtra(Listener.EXTRA_KEY, sbn.getKey()));
135 StatusBarNotification sbn = (StatusBarNotification) tag; local
136 Log.d(TAG, " on " + sbn.getKey());
139 .putExtra(Listener.EXTRA_KEY, sbn.getKey()));
187 final StatusBarNotification sbn = mNotifications.get(position); local
188 final String key = sbn.getKey();
203 StatusBarNotification sbn = mNotifications.get(position); local
209 if (sbn.getKey().equals(mUpdateKey))
    [all...]
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 527 milliseconds