Searched defs:sbn (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Car/Stream/src/com/android/car/stream/notifications/
H A DStreamNotificationListenerService.java29 public void onNotificationPosted(StatusBarNotification sbn) { argument
36 public void onNotificationRemoved(StatusBarNotification sbn) { argument
/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationKeyData.java43 public static NotificationKeyData fromNotification(StatusBarNotification sbn) { argument
44 Notification notif = sbn.getNotification();
45 return new NotificationKeyData(sbn.getKey(), notif.getShortcutId(), notif.number);
H A DNotificationListener.java201 public void onNotificationPosted(final StatusBarNotification sbn) { argument
202 super.onNotificationPosted(sbn);
203 mWorkerHandler.obtainMessage(MSG_NOTIFICATION_POSTED, new NotificationPostedMsg(sbn))
215 NotificationPostedMsg(StatusBarNotification sbn) { argument
216 packageUserKey = PackageUserKey.fromNotification(sbn);
217 notificationKey = NotificationKeyData.fromNotification(sbn);
218 shouldBeFilteredOut = shouldBeFilteredOut(sbn);
223 public void onNotificationRemoved(final StatusBarNotification sbn) { argument
224 super.onNotificationRemoved(sbn);
226 = new Pair<>(PackageUserKey.fromNotification(sbn),
266 shouldBeFilteredOut(StatusBarNotification sbn) argument
[all...]
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
H A DMessagingConverter.java33 public static boolean canConvert(StatusBarNotification sbn) { argument
34 Notification notification = sbn.getNotification();
41 CarExtender ce = new CarExtender(sbn.getNotification());
75 public static MessageContactDetails convert(StatusBarNotification sbn) { argument
76 CarExtender ce = new CarExtender(sbn.getNotification());
81 largeIcon = sbn.getNotification().largeIcon;
H A DStatusBarNotificationListener.java40 public void onNotificationPosted(StatusBarNotification sbn) { argument
41 if (MessagingConverter.canConvert(sbn) && mHandler != null) {
43 msg.obj = sbn;
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
H A DListener.java99 public Delta(StatusBarNotification sbn, RankingMap rankingMap) { argument
100 mSbn = sbn;
206 StatusBarNotification sbn = sNotifications.get(mTmpRanking.getRank());
207 if ((sbn.getNotification().flags & Notification.FLAG_AUTO_CANCEL) != 0 &&
208 sbn.getNotification().contentIntent != null) {
210 sbn.getNotification().contentIntent.send();
212 Log.d(TAG, "failed to send intent for " + sbn.getKey(), e);
223 StatusBarNotification sbn = sNotifications.get(mTmpRanking.getRank());
224 if (sbn.getNotification().contentIntent != null) {
226 sbn
284 onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) argument
291 onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) argument
[all...]
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationStation.java102 public void onNotificationPosted(StatusBarNotification sbn, RankingMap ranking) {
103 logd("onNotificationPosted: %s, with update for %d", sbn.getNotification(),
278 for (StatusBarNotification sbn : resultset) {
279 if (sbn.getUserId() != UserHandle.USER_ALL & sbn.getUserId() != currentUserId) {
283 final Notification n = sbn.getNotification();
285 info.pkg = sbn.getPackageName();
286 info.user = sbn.getUserId();
294 info.timestamp = sbn.getPostTime();
297 info.key = sbn
315 generateExtraText(StatusBarNotification sbn, HistoricalNotificationInfo info) argument
[all...]

Completed in 125 milliseconds