Lines Matching defs:sbn

81     final StatusBarNotification sbn;
141 public NotificationRecord(Context context, StatusBarNotification sbn,
144 this.sbn = sbn;
145 mOriginalFlags = sbn.getNotification().flags;
147 mCreationTimeMs = sbn.getPostTime();
165 mContext.getPackageManager().getApplicationInfoAsUser(sbn.getPackageName(),
166 0, UserHandle.getUserId(sbn.getUid()));
178 final Notification n = sbn.getNotification();
214 final Notification notification = sbn.getNotification();
245 final Notification notification = sbn.getNotification();
258 final Notification n = sbn.getNotification();
284 final Notification n = sbn.getNotification();
347 if (previous.sbn.getOverrideGroupKey() != null && !sbn.isAppGroup()) {
348 sbn.setOverrideGroupKey(previous.sbn.getOverrideGroupKey());
353 public Notification getNotification() { return sbn.getNotification(); }
354 public int getFlags() { return sbn.getNotification().flags; }
355 public UserHandle getUser() { return sbn.getUser(); }
356 public String getKey() { return sbn.getKey(); }
358 public int getUserId() { return sbn.getUserId(); }
361 proto.write(NotificationRecordProto.KEY, sbn.getKey());
367 proto.write(NotificationRecordProto.FLAGS, sbn.getNotification().flags);
385 final Notification notification = sbn.getNotification();
393 pw.println(prefix + "uid=" + sbn.getUid() + " userId=" + sbn.getUserId());
397 pw.println(prefix + "key=" + sbn.getKey());
544 this.sbn.getPackageName(), this.sbn.getUser(), this.sbn.getId(),
545 this.sbn.getTag(), this.mImportance, this.sbn.getKey(),
546 this.sbn.getNotification());
759 if (n.when != 0 && n.when <= sbn.getPostTime()) {
767 return sbn.getPostTime();
797 return sbn.getGroupKey();
801 sbn.setOverrideGroupKey(overrideGroupKey);
807 mGroupLogTag = shortenTag(sbn.getGroup());
890 .setPackageName(sbn.getPackageName())
891 .addTaggedData(MetricsEvent.NOTIFICATION_ID, sbn.getId())
892 .addTaggedData(MetricsEvent.NOTIFICATION_TAG, sbn.getTag())
904 sbn.getNotification().isGroupSummary() ? 1 : 0)