Searched refs:NotificationRecord (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
H A DGlobalSortKeyComparator.java23 public class GlobalSortKeyComparator implements Comparator<NotificationRecord> {
25 public int compare(NotificationRecord left, NotificationRecord right) {
H A DNotificationSignalExtractor.java23 * on the {@link NotificationRecord} object. These annotations will
39 public RankingReconsideration process(NotificationRecord notification);
H A DNotificationComparator.java24 implements Comparator<NotificationRecord> {
27 public int compare(NotificationRecord left, NotificationRecord right) {
H A DNotificationIntrusivenessExtractor.java39 public RankingReconsideration process(NotificationRecord record) {
61 public void applyChangesLocked(NotificationRecord record) {
H A DNotificationUsageStats.java67 public synchronized void registerPostedByApp(NotificationRecord notification) {
81 public void registerUpdatedByApp(NotificationRecord notification, NotificationRecord old) {
91 public synchronized void registerRemovedByApp(NotificationRecord notification) {
105 public synchronized void registerDismissedByUser(NotificationRecord notification) {
119 public synchronized void registerClickedByUser(NotificationRecord notification) {
132 * <p>Called after {@link #registerClickedByUser(NotificationRecord)}.</p>
134 public synchronized void registerCancelDueToClick(NotificationRecord notification) {
146 public synchronized void registerCancelUnknown(NotificationRecord notification) {
154 private AggregatedStats[] getAggregatedStatsLocked(NotificationRecord recor
[all...]
H A DPackagePriorityExtractor.java31 public RankingReconsideration process(NotificationRecord record) {
H A DPackageVisibilityExtractor.java31 public RankingReconsideration process(NotificationRecord record) {
H A DRankingReconsideration.java87 * {@link NotificationRecord}.
96 public abstract void applyChangesLocked(NotificationRecord record);
H A DRankingHelper.java63 private final ArrayMap<String, NotificationRecord> mProxyByGroupTmp;
92 mProxyByGroupTmp = new ArrayMap<String, NotificationRecord>();
106 public void extractSignals(NotificationRecord r) {
223 public void sort(ArrayList<NotificationRecord> notificationList) {
236 final NotificationRecord record = notificationList.get(i);
247 final NotificationRecord record = notificationList.get(i);
248 NotificationRecord groupProxy = mProxyByGroupTmp.get(record.getGroupKey());
281 public int indexOf(ArrayList<NotificationRecord> notificationList, NotificationRecord target) {
H A DZenModeHelper.java164 public boolean shouldIntercept(NotificationRecord record) {
211 private boolean shouldInterceptAudience(NotificationRecord record) {
420 private static boolean isSystem(NotificationRecord record) {
424 private static boolean isAlarm(NotificationRecord record) {
430 private static boolean isEvent(NotificationRecord record) {
434 public boolean isCall(NotificationRecord record) {
450 private boolean isDefaultMessagingApp(NotificationRecord record) {
458 private boolean isMessage(NotificationRecord record) {
H A DNotificationManagerService.java218 final ArrayList<NotificationRecord> mNotificationList =
219 new ArrayList<NotificationRecord>();
220 final ArrayMap<String, NotificationRecord> mNotificationsByKey =
221 new ArrayMap<String, NotificationRecord>();
223 final ArrayMap<String, NotificationRecord> mSummaryByGroupKey = new ArrayMap<>();
544 NotificationRecord r = mNotificationsByKey.get(key);
562 NotificationRecord r = mNotificationsByKey.get(key);
653 NotificationRecord r = mNotificationsByKey.get(key);
662 NotificationRecord r = mNotificationsByKey.get(key);
674 NotificationRecord
[all...]
H A DZenLog.java64 public static void traceIntercepted(NotificationRecord record, String reason) {
69 public static void traceNotIntercepted(NotificationRecord record, String reason) {
120 public static void traceDisableEffects(NotificationRecord record, String reason) {
H A DNotificationRecord.java46 public final class NotificationRecord { class
74 public NotificationRecord(StatusBarNotification sbn, int score) method in class:NotificationRecord
83 public void copyRankingInformation(NotificationRecord previous) {
197 "NotificationRecord(0x%08x: pkg=%s user=%s id=%d tag=%s score=%d key=%s: %s)",
H A DValidateNotificationPeople.java113 public RankingReconsideration process(NotificationRecord record) {
201 final NotificationRecord record) {
456 public void applyChangesLocked(NotificationRecord operand) {
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
H A DRankingHelperTest.java33 private NotificationRecord mRecordGroupGSortA;
34 private NotificationRecord mRecordGroupGSortB;
35 private NotificationRecord mRecordNoGroup;
36 private NotificationRecord mRecordNoGroup2;
37 private NotificationRecord mRecordNoGroupSortA;
52 mRecordGroupGSortA = new NotificationRecord(new StatusBarNotification(
61 mRecordGroupGSortB = new NotificationRecord(new StatusBarNotification(
68 mRecordNoGroup = new NotificationRecord(new StatusBarNotification(
75 mRecordNoGroup2 = new NotificationRecord(new StatusBarNotification(
83 mRecordNoGroupSortA = new NotificationRecord(ne
[all...]

Completed in 849 milliseconds