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/
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)) {
400 public static boolean showNotificationEvenIfUnprovisioned(StatusBarNotification sbn) { argument
443 isSystemNotification(StatusBarNotification sbn) argument
456 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.java612 for (StatusBarNotification sbn : notifications) {
613 addNotification(sbn, currentRanking, null /* oldEntry */);
620 public void onNotificationPosted(final StatusBarNotification sbn,
622 if (DEBUG) Log.d(TAG, "onNotificationPosted: " + sbn);
623 if (sbn != null) {
627 processForRemoteInput(sbn.getNotification());
628 String key = sbn.getKey();
636 && mGroupManager.isChildInGroupWithSummary(sbn)) {
638 Log.d(TAG, "Ignoring group child due to existing summary: " + sbn);
650 updateNotification(sbn, rankingMa
1011 applyColorsAndBackgrounds(StatusBarNotification sbn, NotificationData.Entry entry) argument
1141 saveImportanceCloseControls(StatusBarNotification sbn, ExpandableNotificationRow row, NotificationGuts guts, View done) argument
2028 shouldAutoCancel(StatusBarNotification sbn) argument
2039 register(ExpandableNotificationRow row, StatusBarNotification sbn) argument
2188 createNotificationViews(StatusBarNotification sbn) argument
2206 createIcon(StatusBarNotification sbn) argument
2326 shouldShowOnKeyguard(StatusBarNotification sbn) argument
2479 updateNotificationViews(Entry entry, StatusBarNotification sbn) argument
2508 updatePublicContentView(Entry entry, StatusBarNotification sbn) argument
2542 shouldPeek(Entry entry, StatusBarNotification sbn) argument
2600 isSnoozedPackage(StatusBarNotification sbn) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationGroupManager.java52 public boolean isGroupExpanded(StatusBarNotification sbn) { argument
53 NotificationGroup group = mGroupMap.get(getGroupKey(sbn));
60 public void setGroupExpanded(StatusBarNotification sbn, boolean expanded) { argument
61 NotificationGroup group = mGroupMap.get(getGroupKey(sbn));
84 * @param sbn the notification the entry has, which doesn't need to be the same as it's internal
88 final StatusBarNotification sbn) {
89 String groupKey = getGroupKey(sbn);
98 if (isGroupChild(sbn)) {
112 final StatusBarNotification sbn = added.notification;
113 boolean isGroupChild = isGroupChild(sbn);
87 onEntryRemovedInternal(NotificationData.Entry removed, final StatusBarNotification sbn) argument
211 isSummaryOfSuppressedGroup(StatusBarNotification sbn) argument
215 isOnlyChild(StatusBarNotification sbn) argument
220 isOnlyChildInGroup(StatusBarNotification sbn) argument
229 getTotalNumberOfChildren(StatusBarNotification sbn) argument
268 isChildInGroupWithSummary(StatusBarNotification sbn) argument
288 isSummaryOfGroup(StatusBarNotification sbn) argument
303 getGroupSummary(StatusBarNotification sbn) argument
312 getLogicalGroupSummary( StatusBarNotification sbn) argument
326 toggleGroupExpansion(StatusBarNotification sbn) argument
335 isIsolated(StatusBarNotification sbn) argument
339 isGroupSummary(StatusBarNotification sbn) argument
346 isGroupChild(StatusBarNotification sbn) argument
353 getGroupKey(StatusBarNotification sbn) argument
429 shouldIsolate(StatusBarNotification sbn) argument
[all...]
H A DPhoneStatusBar.java1598 StatusBarNotification sbn = entry.notification;
1601 .recoverBuilder(mContext, sbn.getNotification().clone());
1602 CharSequence[] oldHistory = sbn.getNotification().extras
1619 newNotification.contentView = sbn.getNotification().contentView;
1620 newNotification.bigContentView = sbn.getNotification().bigContentView;
1621 newNotification.headsUpContentView = sbn.getNotification().headsUpContentView;
1623 StatusBarNotification newSbn = new StatusBarNotification(sbn.getPackageName(),
1624 sbn.getOpPkg(),
1625 sbn.getId(), sbn
2667 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.java536 StatusBarNotification sbn = r.sbn;
537 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(),
538 sbn.getId(), Notification.FLAG_AUTO_CANCEL,
1509 tmp[i] = mNotificationList.get(i).sbn;
1535 final StatusBarNotification sbn = mNotificationList.get(i).sbn;
1536 if (sbn.getPackageName().equals(pkg) && sbn
3771 isVisibleToListener(StatusBarNotification sbn, ManagedServiceInfo listener) argument
3796 TrimCache(StatusBarNotification sbn) argument
3878 notifyEnqueued(final ManagedServiceInfo info, final StatusBarNotification sbn, int importance, boolean fromUser) argument
4016 notifyPostedLocked(StatusBarNotification sbn, StatusBarNotification oldSbn) argument
4054 notifyRemovedLocked(StatusBarNotification sbn) argument
4119 notifyPosted(final ManagedServiceInfo info, final StatusBarNotification sbn, NotificationRankingUpdate rankingUpdate) argument
4130 notifyRemoved(ManagedServiceInfo info, StatusBarNotification sbn, NotificationRankingUpdate rankingUpdate) argument
4229 matches(StatusBarNotification sbn) argument
[all...]

Completed in 199 milliseconds