/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupManager.java | 42 public boolean isGroupExpanded(StatusBarNotification sbn) { argument 43 NotificationGroup group = mGroupMap.get(sbn.getGroupKey()); 50 public void setGroupExpanded(StatusBarNotification sbn, boolean expanded) { argument 51 NotificationGroup group = mGroupMap.get(sbn.getGroupKey()); 73 * @param sbn the notification the entry has, which doesn't need to be the same as it's internal 77 final StatusBarNotification sbn) { 78 Notification notif = sbn.getNotification(); 79 String groupKey = sbn.getGroupKey(); 104 setGroupExpanded(sbn, false); 116 StatusBarNotification sbn 76 onEntryRemovedInternal(NotificationData.Entry removed, final StatusBarNotification sbn) argument 146 isVisible(StatusBarNotification sbn) argument 157 hasGroupChildren(StatusBarNotification sbn) argument 197 isChildInGroupWithSummary(StatusBarNotification sbn) argument 208 getGroupSummary(StatusBarNotification sbn) argument [all...] |
H A D | PhoneStatusBar.java | 2036 protected boolean isSnoozedPackage(StatusBarNotification sbn) { argument 2037 return mHeadsUpManager.isSnoozed(sbn.getPackageName()); 2075 final StatusBarNotification sbn = entry.entry.notification; 2076 final Notification notification = sbn.getNotification(); 2083 sbn.getKey());
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 49 final StatusBarNotification sbn; field in class:NotificationRecord 87 public NotificationRecord(StatusBarNotification sbn, int score) argument 89 this.sbn = sbn; 91 mOriginalFlags = sbn.getNotification().flags; 93 mCreationTimeMs = sbn.getPostTime(); 110 public Notification getNotification() { return sbn.getNotification(); } 111 public int getFlags() { return sbn.getNotification().flags; } 112 public UserHandle getUser() { return sbn.getUser(); } 113 public String getKey() { return sbn [all...] |
H A D | NotificationComparator.java | 35 final int leftScore = left.sbn.getScore(); 36 final int rightScore = right.sbn.getScore();
|
H A D | PackagePriorityExtractor.java | 43 record.sbn.getPackageName(), record.sbn.getUid());
|
H A D | PackageVisibilityExtractor.java | 43 record.sbn.getPackageName(), record.sbn.getUid());
|
H A D | NotificationManagerService.java | 540 StatusBarNotification sbn = r.sbn; 541 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(), 542 sbn.getId(), Notification.FLAG_AUTO_CANCEL, 1272 tmp[i] = mNotificationList.get(i).sbn; 1297 final StatusBarNotification sbn = mNotificationList.get(i).sbn; 1298 if (sbn.getPackageName().equals(pkg) && sbn 3214 isVisibleToListener(StatusBarNotification sbn, ManagedServiceInfo listener) argument 3293 notifyPostedLocked(StatusBarNotification sbn, StatusBarNotification oldSbn) argument 3341 notifyRemovedLocked(StatusBarNotification sbn) argument 3406 notifyPosted(final ManagedServiceInfo info, final StatusBarNotification sbn, NotificationRankingUpdate rankingUpdate) argument 3417 notifyRemoved(ManagedServiceInfo info, StatusBarNotification sbn, NotificationRankingUpdate rankingUpdate) argument 3541 matches(StatusBarNotification sbn) argument [all...] |
H A D | ZenModeFiltering.java | 96 return record != null && record.sbn != null && record.sbn.getNotification() != null 97 ? record.sbn.getNotification().extras : null; 193 return record != null && (isDefaultPhoneApp(record.sbn.getPackageName()) 214 return Objects.equals(defaultApp, record.sbn.getPackageName());
|
H A D | NotificationUsageStats.java | 786 writeEvent(r.sbn.getPostTime(), EVENT_TYPE_POST, r); 932 cv.put(COL_EVENT_USER_ID, r.sbn.getUser().getIdentifier()); 964 outCv.put(COL_KEY, r.sbn.getKey()); 965 outCv.put(COL_PKG, r.sbn.getPackageName()); 969 outCv.put(COL_NOTIFICATION_ID, r.sbn.getId()); 970 if (r.sbn.getTag() != null) { 971 outCv.put(COL_TAG, r.sbn.getTag()); 973 outCv.put(COL_WHEN_MS, r.sbn.getPostTime());
|
/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationListenerService.java | 161 * @param sbn A data structure encapsulating the original {@link android.app.Notification} 165 public void onNotificationPosted(StatusBarNotification sbn) { argument 172 * @param sbn A data structure encapsulating the original {@link android.app.Notification} 178 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { argument 179 onNotificationPosted(sbn); 195 * @param sbn A data structure encapsulating at least the original information (tag and id) 199 public void onNotificationRemoved(StatusBarNotification sbn) { argument 216 * @param sbn A data structure encapsulating at least the original information (tag and id) 223 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { argument 224 onNotificationRemoved(sbn); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 243 StatusBarNotification sbn = entry.notification; 245 if (shouldFilterOut(sbn)) { 255 boolean shouldFilterOut(StatusBarNotification sbn) { argument 257 showNotificationEvenIfUnprovisioned(sbn))) { 261 if (!mEnvironment.isNotificationForCurrentProfiles(sbn)) { 265 if (sbn.getNotification().visibility == Notification.VISIBILITY_SECRET && 266 mEnvironment.shouldHideSensitiveContents(sbn.getUserId())) { 271 && mGroupManager.isChildInGroupWithSummary(sbn)) { 294 public static boolean showNotificationEvenIfUnprovisioned(StatusBarNotification sbn) { argument 295 return "android".equals(sbn 335 isSystemNotification(StatusBarNotification sbn) argument 346 isNotificationForCurrentProfiles(StatusBarNotification sbn) argument [all...] |
H A D | BaseStatusBar.java | 454 for (StatusBarNotification sbn : notifications) { 455 addNotification(sbn, currentRanking, null /* oldEntry */); 462 public void onNotificationPosted(final StatusBarNotification sbn, 464 if (DEBUG) Log.d(TAG, "onNotificationPosted: " + sbn); 465 if (sbn != null) { 470 String key = sbn.getKey(); 478 && mGroupManager.isChildInGroupWithSummary(sbn)) { 480 Log.d(TAG, "Ignoring group child due to existing summary: " + sbn); 492 updateNotification(sbn, rankingMap); 494 addNotification(sbn, rankingMa 816 applyColorsAndBackgrounds(StatusBarNotification sbn, NotificationData.Entry entry) argument 1584 register(ExpandableNotificationRow row, StatusBarNotification sbn) argument 1694 createNotificationViews(StatusBarNotification sbn) argument 1712 createIcon(StatusBarNotification sbn) argument 1807 shouldShowOnKeyguard(StatusBarNotification sbn) argument 2035 shouldInterrupt(Entry entry, StatusBarNotification sbn) argument 2079 isSnoozedPackage(StatusBarNotification sbn) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 182 protected boolean isSnoozedPackage(StatusBarNotification sbn) { argument
|