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

/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
H A DRanker.java52 public Adjustment onNotificationEnqueued(StatusBarNotification sbn, int importance, argument
54 if (DEBUG) Log.i(TAG, "ENQUEUED " + sbn.getKey());
59 public void onNotificationPosted(StatusBarNotification sbn) { argument
60 if (DEBUG) Log.i(TAG, "POSTED " + sbn.getKey());
63 if (!sbn.isAppGroup()) {
68 = mUnbundledNotifications.get(sbn.getUserId());
72 mUnbundledNotifications.put(sbn.getUserId(), unbundledNotificationsByUser);
74 = unbundledNotificationsByUser.get(sbn.getPackageName());
79 notificationsForPackage.add(sbn.getKey());
80 unbundledNotificationsByUser.put(sbn
104 onNotificationRemoved(StatusBarNotification sbn) argument
117 maybeUnbundle(StatusBarNotification sbn, boolean notificationGone, int user) argument
[all...]
/frameworks/base/core/java/android/service/notification/
H A DNotificationRankerService.java134 * @param sbn the new notification
139 abstract public Adjustment onNotificationEnqueued(StatusBarNotification sbn, argument
224 StatusBarNotification sbn;
226 sbn = sbnHolder.get();
233 args.arg1 = sbn;
296 StatusBarNotification sbn = (StatusBarNotification) args.arg1;
300 Adjustment adjustment = onNotificationEnqueued(sbn, importance, user);
H A DNotificationListenerService.java219 * @param sbn A data structure encapsulating the original {@link android.app.Notification}
223 public void onNotificationPosted(StatusBarNotification sbn) { argument
230 * @param sbn A data structure encapsulating the original {@link android.app.Notification}
236 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { argument
237 onNotificationPosted(sbn);
253 * @param sbn A data structure encapsulating at least the original information (tag and id)
257 public void onNotificationRemoved(StatusBarNotification sbn) { argument
274 * @param sbn A data structure encapsulating at least the original information (tag and id)
281 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { argument
282 onNotificationRemoved(sbn);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationGroupManager.java51 public boolean isGroupExpanded(StatusBarNotification sbn) { argument
52 NotificationGroup group = mGroupMap.get(getGroupKey(sbn));
59 public void setGroupExpanded(StatusBarNotification sbn, boolean expanded) { argument
60 NotificationGroup group = mGroupMap.get(getGroupKey(sbn));
83 * @param sbn the notification the entry has, which doesn't need to be the same as it's internal
87 final StatusBarNotification sbn) {
88 String groupKey = getGroupKey(sbn);
97 if (isGroupChild(sbn)) {
111 final StatusBarNotification sbn = added.notification;
112 boolean isGroupChild = isGroupChild(sbn);
86 onEntryRemovedInternal(NotificationData.Entry removed, final StatusBarNotification sbn) argument
210 isSummaryOfSuppressedGroup(StatusBarNotification sbn) argument
214 isOnlyChild(StatusBarNotification sbn) argument
219 isOnlyChildInGroup(StatusBarNotification sbn) argument
228 getTotalNumberOfChildren(StatusBarNotification sbn) argument
267 isChildInGroupWithSummary(StatusBarNotification sbn) argument
287 isSummaryOfGroup(StatusBarNotification sbn) argument
302 getGroupSummary(StatusBarNotification sbn) argument
311 getLogicalGroupSummary( StatusBarNotification sbn) argument
325 toggleGroupExpansion(StatusBarNotification sbn) argument
334 isIsolated(StatusBarNotification sbn) argument
338 isGroupSummary(StatusBarNotification sbn) argument
345 isGroupChild(StatusBarNotification sbn) argument
352 getGroupKey(StatusBarNotification sbn) argument
428 shouldIsolate(StatusBarNotification sbn) argument
[all...]
H A DPhoneStatusBar.java1610 StatusBarNotification sbn = entry.notification;
1613 .recoverBuilder(mContext, sbn.getNotification().clone());
1614 CharSequence[] oldHistory = sbn.getNotification().extras
1631 newNotification.contentView = sbn.getNotification().contentView;
1632 newNotification.bigContentView = sbn.getNotification().bigContentView;
1633 newNotification.headsUpContentView = sbn.getNotification().headsUpContentView;
1635 StatusBarNotification newSbn = new StatusBarNotification(sbn.getPackageName(),
1636 sbn.getOpPkg(),
1637 sbn.getId(), sbn
2644 isSnoozedPackage(StatusBarNotification sbn) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java360 StatusBarNotification sbn = entry.notification;
362 if (shouldFilterOut(sbn)) {
373 boolean shouldFilterOut(StatusBarNotification sbn) { argument
375 showNotificationEvenIfUnprovisioned(sbn))) {
379 if (!mEnvironment.isNotificationForCurrentProfiles(sbn)) {
384 (sbn.getNotification().visibility == Notification.VISIBILITY_SECRET
385 || mEnvironment.shouldHideNotifications(sbn.getUserId())
386 || mEnvironment.shouldHideNotifications(sbn.getKey()))) {
391 && mGroupManager.isChildInGroupWithSummary(sbn)) {
414 public static boolean showNotificationEvenIfUnprovisioned(StatusBarNotification sbn) { argument
457 isSystemNotification(StatusBarNotification sbn) argument
470 isNotificationForCurrentProfiles(StatusBarNotification sbn) argument
[all...]
H A DNotificationGuts.java177 void bindImportance(final PackageManager pm, final StatusBarNotification sbn, argument
184 mINotificationManager.getImportance(sbn.getPackageName(), sbn.getUid());
193 (nonBlockablePkgs != null && nonBlockablePkgs.contains(sbn.getPackageName()));
204 pm.getPackageInfo(sbn.getPackageName(), PackageManager.GET_SIGNATURES);
226 void saveImportance(final StatusBarNotification sbn) { argument
231 mINotificationManager.setImportance(sbn.getPackageName(), sbn.getUid(), progress);
H A DBaseStatusBar.java607 for (StatusBarNotification sbn : notifications) {
608 addNotification(sbn, currentRanking, null /* oldEntry */);
615 public void onNotificationPosted(final StatusBarNotification sbn,
617 if (DEBUG) Log.d(TAG, "onNotificationPosted: " + sbn);
618 if (sbn != null) {
622 processForRemoteInput(sbn.getNotification());
623 String key = sbn.getKey();
631 && mGroupManager.isChildInGroupWithSummary(sbn)) {
633 Log.d(TAG, "Ignoring group child due to existing summary: " + sbn);
645 updateNotification(sbn, rankingMa
1012 applyColorsAndBackgrounds(StatusBarNotification sbn, NotificationData.Entry entry) argument
1142 saveImportanceCloseControls(StatusBarNotification sbn, ExpandableNotificationRow row, NotificationGuts guts, View done) argument
2030 shouldAutoCancel(StatusBarNotification sbn) argument
2041 register(ExpandableNotificationRow row, StatusBarNotification sbn) argument
2190 createNotificationViews(StatusBarNotification sbn) argument
2208 createIcon(StatusBarNotification sbn) argument
2310 shouldShowOnKeyguard(StatusBarNotification sbn) argument
2463 updateNotificationViews(Entry entry, StatusBarNotification sbn) argument
2492 updatePublicContentView(Entry entry, StatusBarNotification sbn) argument
2526 shouldPeek(Entry entry, StatusBarNotification sbn) argument
2584 isSnoozedPackage(StatusBarNotification sbn) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java194 protected boolean isSnoozedPackage(StatusBarNotification sbn) { argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java60 final StatusBarNotification sbn; field in class:NotificationRecord
105 public NotificationRecord(Context context, StatusBarNotification sbn) argument
107 this.sbn = sbn;
108 mOriginalFlags = sbn.getNotification().flags;
110 mCreationTimeMs = sbn.getPostTime();
118 final Notification n = sbn.getNotification();
179 if (previous.sbn.getOverrideGroupKey() != null && !sbn.isAppGroup()) {
180 sbn
[all...]
H A DNotificationManagerService.java538 StatusBarNotification sbn = r.sbn;
539 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(),
540 sbn.getId(), Notification.FLAG_AUTO_CANCEL,
1512 tmp[i] = mNotificationList.get(i).sbn;
1538 final StatusBarNotification sbn = mNotificationList.get(i).sbn;
1539 if (sbn.getPackageName().equals(pkg) && sbn
3773 isVisibleToListener(StatusBarNotification sbn, ManagedServiceInfo listener) argument
3798 TrimCache(StatusBarNotification sbn) argument
3880 notifyEnqueued(final ManagedServiceInfo info, final StatusBarNotification sbn, int importance, boolean fromUser) argument
4018 notifyPostedLocked(StatusBarNotification sbn, StatusBarNotification oldSbn) argument
4056 notifyRemovedLocked(StatusBarNotification sbn) argument
4121 notifyPosted(final ManagedServiceInfo info, final StatusBarNotification sbn, NotificationRankingUpdate rankingUpdate) argument
4132 notifyRemoved(ManagedServiceInfo info, StatusBarNotification sbn, NotificationRankingUpdate rankingUpdate) argument
4231 matches(StatusBarNotification sbn) argument
[all...]

Completed in 6697 milliseconds