/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 | 416 for (StatusBarNotification sbn : notifications) { 417 addNotification(sbn, currentRanking); 424 public void onNotificationPosted(final StatusBarNotification sbn, 426 if (DEBUG) Log.d(TAG, "onNotificationPosted: " + sbn); 430 Notification n = sbn.getNotification(); 431 boolean isUpdate = mNotificationData.get(sbn.getKey()) != null 432 || isHeadsUp(sbn.getKey()); 438 mNotificationData.isGroupWithSummary(sbn.getGroupKey())) { 440 Log.d(TAG, "Ignoring group child due to existing summary: " + sbn); 445 removeNotification(sbn.getKey(), rankingMap) 842 final StatusBarNotification sbn = row.getStatusBarNotification(); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
MockListener.java | 217 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { 218 if (!mTestPackages.contains(sbn.getPackageName())) { return; } 219 Log.d(TAG, "posted: " + sbn.getTag()); 220 mPosted.add(sbn.getTag()); 223 notification.put(JSON_TAG, sbn.getTag()); 224 notification.put(JSON_ID, sbn.getId()); 225 notification.put(JSON_PACKAGE, sbn.getPackageName()); 226 notification.put(JSON_WHEN, sbn.getNotification().when); 227 notification.put(JSON_ICON, sbn.getNotification().icon); 228 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 | 549 StatusBarNotification sbn = r.sbn; 550 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(), 551 sbn.getId(), Notification.FLAG_AUTO_CANCEL, 1574 final StatusBarNotification sbn = mNotificationList.get(i).sbn; local 1658 final StatusBarNotification sbn = iter.next(); local 1935 StatusBarNotification sbn = r.sbn; local 1989 StatusBarNotification sbn = r.sbn; 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...] |
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |