Home
last modified time | relevance | path

Searched refs:StatusBarNotification (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java19 import android.service.notification.StatusBarNotification;
44 private HashMap<String, StatusBarNotification> mIsolatedEntries = new HashMap<>();
52 public boolean isGroupExpanded(StatusBarNotification sbn) { in isGroupExpanded()
60 public void setGroupExpanded(StatusBarNotification sbn, boolean expanded) { in setGroupExpanded()
88 final StatusBarNotification sbn) { in onEntryRemovedInternal()
112 final StatusBarNotification sbn = added.notification; in onEntryAdded()
170 for (StatusBarNotification sbn : mIsolatedEntries.values()) { in getNumberOfIsolatedChildren()
179 for (StatusBarNotification sbn : mIsolatedEntries.values()) { in getIsolatedChild()
188 StatusBarNotification oldNotification) { in onEntryUpdated()
211 public boolean isSummaryOfSuppressedGroup(StatusBarNotification sbn) { in isSummaryOfSuppressedGroup()
[all …]
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java31 public class StatusBarNotification implements Parcelable { class
49 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, in StatusBarNotification() method in StatusBarNotification
56 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, in StatusBarNotification() method in StatusBarNotification
76 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, in StatusBarNotification() method in StatusBarNotification
95 public StatusBarNotification(Parcel in) { in StatusBarNotification() method in StatusBarNotification
191 public static final Parcelable.Creator<StatusBarNotification> CREATOR
192 = new Parcelable.Creator<StatusBarNotification>()
194 public StatusBarNotification createFromParcel(Parcel parcel)
196 return new StatusBarNotification(parcel);
199 public StatusBarNotification[] newArray(int size)
[all …]
DNotificationListenerService.java223 public void onNotificationPosted(StatusBarNotification sbn) { in onNotificationPosted()
236 public void onNotificationPosted(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationPosted()
257 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved()
281 public void onNotificationRemoved(StatusBarNotification sbn, RankingMap rankingMap) { in onNotificationRemoved()
509 public StatusBarNotification[] getActiveNotifications() { in getActiveNotifications()
523 public StatusBarNotification[] getActiveNotifications(int trim) { in getActiveNotifications()
539 public StatusBarNotification[] getActiveNotifications(String[] keys) { in getActiveNotifications()
556 public StatusBarNotification[] getActiveNotifications(String[] keys, int trim) { in getActiveNotifications()
560 ParceledListSlice<StatusBarNotification> parceledList = getNotificationInterface() in getActiveNotifications()
562 List<StatusBarNotification> list = parceledList.getList(); in getActiveNotifications()
[all …]
DIStatusBarNotificationHolder.aidl19 import android.service.notification.StatusBarNotification;
24 StatusBarNotification get(); in get()
DNotificationRankerService.java139 abstract public Adjustment onNotificationEnqueued(StatusBarNotification sbn, in onNotificationEnqueued()
224 StatusBarNotification sbn; in onNotificationEnqueued()
296 StatusBarNotification sbn = (StatusBarNotification) args.arg1; in handleMessage()
DStatusBarNotification.aidl19 parcelable StatusBarNotification;
DINotificationListener.aidl20 import android.service.notification.StatusBarNotification;
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
DRankingHelperTest.java23 import android.service.notification.StatusBarNotification;
59 mRecordGroupGSortA = new NotificationRecord(getContext(), new StatusBarNotification( in setUp()
68 mRecordGroupGSortB = new NotificationRecord(getContext(), new StatusBarNotification( in setUp()
75 mRecordNoGroup = new NotificationRecord(getContext(), new StatusBarNotification( in setUp()
82 mRecordNoGroup2 = new NotificationRecord(getContext(), new StatusBarNotification( in setUp()
90 mRecordNoGroupSortA = new NotificationRecord(getContext(), new StatusBarNotification( in setUp()
DBuzzBeepBlinkTest.java30 import android.service.notification.StatusBarNotification;
157 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, id, mTag, mUid, mPid, in getNotificationRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java25 import android.service.notification.StatusBarNotification;
51 public StatusBarNotification notification;
65 public Entry(StatusBarNotification n, StatusBarIconView ic) { in Entry()
187 final StatusBarNotification na = a.notification;
188 final StatusBarNotification nb = b.notification;
339 final StatusBarNotification oldSbn = entry.notification.clone(); in updateRankingAndSort()
360 StatusBarNotification sbn = entry.notification; in filterAndSort()
373 boolean shouldFilterOut(StatusBarNotification sbn) { in shouldFilterOut()
400 public static boolean showNotificationEvenIfUnprovisioned(StatusBarNotification sbn) { in showNotificationEvenIfUnprovisioned()
433 StatusBarNotification n = e.notification; in dumpEntry()
[all …]
DBaseStatusBar.java64 import android.service.notification.StatusBarNotification;
607 final StatusBarNotification[] notifications = getActiveNotifications();
612 for (StatusBarNotification sbn : notifications) {
620 public void onNotificationPosted(final StatusBarNotification sbn,
660 public void onNotificationRemoved(StatusBarNotification sbn,
897 public boolean isNotificationForCurrentProfiles(StatusBarNotification n) { in isNotificationForCurrentProfiles()
907 protected void setNotificationShown(StatusBarNotification n) { in setNotificationShown()
992 protected void performRemoveNotification(StatusBarNotification n) { in performRemoveNotification()
1011 protected void applyColorsAndBackgrounds(StatusBarNotification sbn, in applyColorsAndBackgrounds()
1073 final StatusBarNotification sbn = row.getStatusBarNotification(); in bindGuts()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationBigPictureTemplateViewWrapper.java23 import android.service.notification.StatusBarNotification;
39 public void notifyContentUpdated(StatusBarNotification notification) { in notifyContentUpdated()
44 private void updateImageTag(StatusBarNotification notification) { in updateImageTag()
DNotificationMediaTemplateViewWrapper.java20 import android.service.notification.StatusBarNotification;
38 private void resolveViews(StatusBarNotification notification) { in resolveViews()
43 public void notifyContentUpdated(StatusBarNotification notification) { in notifyContentUpdated()
DNotificationBigTextTemplateViewWrapper.java20 import android.service.notification.StatusBarNotification;
39 private void resolveViews(StatusBarNotification notification) { in resolveViews()
44 public void notifyContentUpdated(StatusBarNotification notification) { in notifyContentUpdated()
DNotificationMessagingTemplateViewWrapper.java24 import android.service.notification.StatusBarNotification;
57 public void notifyContentUpdated(StatusBarNotification notification) { in notifyContentUpdated()
DNotificationCustomViewWrapper.java27 import android.service.notification.StatusBarNotification;
109 public void notifyContentUpdated(StatusBarNotification notification) { in notifyContentUpdated()
DNotificationTemplateViewWrapper.java22 import android.service.notification.StatusBarNotification;
117 private void resolveTemplateViews(StatusBarNotification notification) { in resolveTemplateViews()
134 public void notifyContentUpdated(StatusBarNotification notification) { in notifyContentUpdated()
DNotificationViewWrapper.java23 import android.service.notification.StatusBarNotification;
85 public void notifyContentUpdated(StatusBarNotification notification) { in notifyContentUpdated()
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
DRanker.java25 import android.service.notification.StatusBarNotification;
52 public Adjustment onNotificationEnqueued(StatusBarNotification sbn, int importance, in onNotificationEnqueued()
59 public void onNotificationPosted(StatusBarNotification sbn) { in onNotificationPosted()
104 public void onNotificationRemoved(StatusBarNotification sbn) { in onNotificationRemoved()
117 private void maybeUnbundle(StatusBarNotification sbn, boolean notificationGone, int user) { in maybeUnbundle()
159 for (StatusBarNotification sbn : getActiveNotifications()) { in onListenerConnected()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java111 import android.service.notification.StatusBarNotification;
312 final ArrayDeque<StatusBarNotification> mBuffer;
316 mBuffer = new ArrayDeque<StatusBarNotification>(mBufferSize); in Archive()
329 public void record(StatusBarNotification nr) { in record()
340 public Iterator<StatusBarNotification> descendingIterator() { in descendingIterator()
344 public StatusBarNotification[] getArray(int count) { in getArray()
346 final StatusBarNotification[] a in getArray()
347 = new StatusBarNotification[Math.min(count, mBuffer.size())]; in getArray()
348 Iterator<StatusBarNotification> iter = descendingIterator(); in getArray()
536 StatusBarNotification sbn = r.sbn;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
DTvStatusBar.java23 import android.service.notification.StatusBarNotification;
47 public void addNotification(StatusBarNotification notification, RankingMap ranking, in addNotification()
194 protected boolean isSnoozedPackage(StatusBarNotification sbn) { in isSnoozedPackage()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl33 import android.service.notification.StatusBarNotification;
62 StatusBarNotification[] getActiveNotifications(String callingPkg); in getActiveNotifications()
63 StatusBarNotification[] getHistoricalNotifications(String callingPkg, int count); in getHistoricalNotifications()
DNotificationManager.java40 import android.service.notification.StatusBarNotification;
947 public StatusBarNotification[] getActiveNotifications() { in getActiveNotifications()
951 final ParceledListSlice<StatusBarNotification> parceledList in getActiveNotifications()
953 final List<StatusBarNotification> list = parceledList.getList(); in getActiveNotifications()
954 return list.toArray(new StatusBarNotification[list.size()]); in getActiveNotifications()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notification/
DVisualStabilityManagerTest.java17 import android.service.notification.StatusBarNotification;
49 mEntry = new NotificationData.Entry(mock(StatusBarNotification.class), in setUp()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl22 import android.service.notification.StatusBarNotification;

12