Searched refs:sbn (Results 1 - 3 of 3) sorted by relevance

/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
H A DListener.java69 public Delta(StatusBarNotification sbn, RankingMap rankingMap) { argument
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
232 onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) argument
238 onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) argument
[all...]
H A DNotificationListenerActivity.java123 StatusBarNotification sbn = (StatusBarNotification) tag;
124 Log.d(TAG, " on " + sbn.getKey());
127 .putExtra(Listener.EXTRA_KEY, sbn.getKey()));
135 StatusBarNotification sbn = (StatusBarNotification) tag;
136 Log.d(TAG, " on " + sbn.getKey());
139 .putExtra(Listener.EXTRA_KEY, sbn.getKey()));
187 final StatusBarNotification sbn = mNotifications.get(position);
188 final String key = sbn.getKey();
203 StatusBarNotification sbn = mNotifications.get(position);
209 if (sbn
[all...]
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationStation.java187 for (StatusBarNotification sbn : resultset) {
189 info.pkg = sbn.getPackageName();
190 info.user = sbn.getUserId();
191 info.icon = loadIconDrawable(info.pkg, info.user, sbn.getNotification().icon);
194 if (sbn.getNotification().extras != null) {
195 info.title = sbn.getNotification().extras.getString(
198 info.title = sbn.getNotification().extras.getString(
203 info.title = sbn.getNotification().tickerText;
209 info.timestamp = sbn.getPostTime();
210 info.priority = sbn
[all...]

Completed in 111 milliseconds