Lines Matching defs:sbn
69 public Delta(StatusBarNotification sbn, RankingMap rankingMap) {
70 mSbn = sbn;
168 StatusBarNotification sbn = sNotifications.get(mTmpRanking.getRank());
169 if ((sbn.getNotification().flags & Notification.FLAG_AUTO_CANCEL) != 0 &&
170 sbn.getNotification().contentIntent != null) {
172 sbn.getNotification().contentIntent.send();
174 Log.d(TAG, "failed to send intent for " + sbn.getKey(), e);
185 StatusBarNotification sbn = sNotifications.get(mTmpRanking.getRank());
186 if (sbn.getNotification().contentIntent != null) {
188 sbn.getNotification().contentIntent.send();
190 Log.d(TAG, "failed to send intent for " + sbn.getKey(), e);
193 if ((sbn.getNotification().flags & Notification.FLAG_AUTO_CANCEL) != 0) {
232 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) {
234 new Delta(sbn, rankingMap)).sendToTarget();
238 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) {
240 new Delta(sbn, rankingMap)).sendToTarget();
246 for (StatusBarNotification sbn : getActiveNotifications()) {
247 sNotifications.add(sbn);