/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryProtoHelper.java | 16 package com.android.server.notification; 27 import com.android.server.notification.NotificationHistoryProto.Notification; 80 HistoricalNotification notification = readNotification(proto, stringPool); in readNotification() local 81 if (filter.matchesPackageAndChannelFilter(notification) in readNotification() 83 notifications.addNotificationToWrite(notification); in readNotification() 94 final HistoricalNotification.Builder notification = new HistoricalNotification.Builder(); in readNotification() local 100 notification.setPackage(pkg); in readNotification() 105 notification.setPackage(pkg); in readNotification() 109 notification.setChannelName(channelName); in readNotification() 113 notification.setChannelName(stringPool.get(parser.readInt( in readNotification() [all …]
|
D | NotificationRecord.java | 16 package com.android.server.notification; 24 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTR… 25 import static android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSIT… 50 import android.service.notification.Adjustment; 51 import android.service.notification.NotificationListenerService; 52 import android.service.notification.NotificationRecordProto; 53 import android.service.notification.NotificationStats; 54 import android.service.notification.SnoozeCriterion; 55 import android.service.notification.StatusBarNotification; 274 final Notification notification = getSbn().getNotification(); in calculateLights() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/ |
D | NotificationsModule.java | 17 package com.android.systemui.statusbar.notification.dagger; 38 import com.android.systemui.statusbar.notification.ForegroundServiceDismissalFeatureController; 39 import com.android.systemui.statusbar.notification.NotificationEntryManager; 40 import com.android.systemui.statusbar.notification.NotificationEntryManagerLogger; 41 import com.android.systemui.statusbar.notification.VisualStabilityManager; 42 import com.android.systemui.statusbar.notification.collection.NotifPipeline; 43 import com.android.systemui.statusbar.notification.collection.NotificationRankingManager; 44 import com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinder; 45 import com.android.systemui.statusbar.notification.collection.notifcollection.CommonNotifCollection; 46 import com.android.systemui.statusbar.notification.collection.provider.HighPriorityProvider; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationRankingManager.kt | 17 package com.android.systemui.statusbar.notification.collection in <lambda>() 21 import android.service.notification.NotificationListenerService.Ranking in <lambda>() 22 import android.service.notification.NotificationListenerService.RankingMap in <lambda>() 23 import android.service.notification.StatusBarNotification in <lambda>() 25 import com.android.systemui.statusbar.notification.NotificationEntryManagerLogger in <lambda>() 26 import com.android.systemui.statusbar.notification.NotificationFilter in <lambda>() 27 import com.android.systemui.statusbar.notification.NotificationSectionsFeatureManager in <lambda>() 28 import com.android.systemui.statusbar.notification.collection.provider.HighPriorityProvider in <lambda>() 29 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier in <lambda>() 30 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.Companion.TY… in <lambda>() [all …]
|
D | NotifPipeline.java | 17 package com.android.systemui.statusbar.notification.collection; 19 import com.android.systemui.statusbar.notification.collection.listbuilder.OnBeforeFinalizeFilterLis… 20 import com.android.systemui.statusbar.notification.collection.listbuilder.OnBeforeRenderListListene… 21 import com.android.systemui.statusbar.notification.collection.listbuilder.OnBeforeSortListener; 22 import com.android.systemui.statusbar.notification.collection.listbuilder.OnBeforeTransformGroupsLi… 23 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifComparator; 24 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifFilter; 25 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifPromoter; 26 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifSection; 27 import com.android.systemui.statusbar.notification.collection.notifcollection.CommonNotifCollection; [all …]
|
D | NotifCollection.java | 17 package com.android.systemui.statusbar.notification.collection; 19 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL; 20 import static android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL; 21 import static android.service.notification.NotificationListenerService.REASON_CANCEL_ALL; 22 import static android.service.notification.NotificationListenerService.REASON_CHANNEL_BANNED; 23 import static android.service.notification.NotificationListenerService.REASON_CLICK; 24 import static android.service.notification.NotificationListenerService.REASON_ERROR; 25 import static android.service.notification.NotificationListenerService.REASON_GROUP_OPTIMIZATION; 26 import static android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELE… 27 import static android.service.notification.NotificationListenerService.REASON_LISTENER_CANCEL; [all …]
|
D | NotifInflaterImpl.java | 17 package com.android.systemui.statusbar.notification.collection; 19 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL; 21 import android.service.notification.NotificationStats; 25 import com.android.systemui.statusbar.notification.InflationException; 26 import com.android.systemui.statusbar.notification.collection.inflation.NotifInflater; 27 import com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl; 28 import com.android.systemui.statusbar.notification.collection.notifcollection.DismissedByUserStats; 29 import com.android.systemui.statusbar.notification.logging.NotificationLogger; 30 import com.android.systemui.statusbar.notification.row.NotifInflationErrorManager; 31 import com.android.systemui.statusbar.notification.row.NotificationContentInflater;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | HybridNotificationView.java | 17 package com.android.systemui.statusbar.notification.row; 31 import com.android.systemui.statusbar.notification.TransformState; 76 … public boolean transformTo(TransformState ownState, TransformableView notification, in onFinishInflate() 79 TransformState otherState = notification.getCurrentState( in onFinishInflate() 91 TransformableView notification, float transformationAmount) { in onFinishInflate() 93 TransformState otherState = notification.getCurrentState( in onFinishInflate() 127 public void transformTo(TransformableView notification, Runnable endRunnable) { in transformTo() argument 128 mTransformationHelper.transformTo(notification, endRunnable); in transformTo() 132 public void transformTo(TransformableView notification, float transformationAmount) { in transformTo() argument 133 mTransformationHelper.transformTo(notification, transformationAmount); in transformTo() [all …]
|
D | HybridGroupManager.java | 17 package com.android.systemui.statusbar.notification.row; 23 import android.service.notification.StatusBarNotification; 92 View contentView, StatusBarNotification notification, in bindFromNotification() argument 94 return bindFromNotificationWithStyle(reusableView, contentView, notification, in bindFromNotification() 100 StatusBarNotification notification, in bindFromNotificationWithStyle() argument 105 CharSequence titleText = resolveTitle(notification.getNotification()); in bindFromNotificationWithStyle() 106 CharSequence contentText = resolveText(notification.getNotification()); in bindFromNotificationWithStyle() 112 public static CharSequence resolveText(Notification notification) { in resolveText() argument 113 CharSequence contentText = notification.extras.getCharSequence(Notification.EXTRA_TEXT); in resolveText() 115 contentText = notification.extras.getCharSequence(Notification.EXTRA_BIG_TEXT); in resolveText() [all …]
|
/frameworks/base/core/java/android/app/ |
D | NotificationHistory.java | 314 final HistoricalNotification notification = mNotificationsToWrite.get(i); in poolStringsFromNotifications() local 315 mStringsToWrite.add(notification.getPackage()); in poolStringsFromNotifications() 316 mStringsToWrite.add(notification.getChannelName()); in poolStringsFromNotifications() 317 mStringsToWrite.add(notification.getChannelId()); in poolStringsFromNotifications() 318 if (!TextUtils.isEmpty(notification.getConversationId())) { in poolStringsFromNotifications() 319 mStringsToWrite.add(notification.getConversationId()); in poolStringsFromNotifications() 327 public void addNotificationToWrite(@NonNull HistoricalNotification notification) { in addNotificationToWrite() argument 328 if (notification == null) { in addNotificationToWrite() 331 mNotificationsToWrite.add(notification); in addNotificationToWrite() 338 public void addNewNotificationToWrite(@NonNull HistoricalNotification notification) { in addNewNotificationToWrite() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/debug/ |
D | AdbNotificationsTest.java | 53 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_UsbTransportType() local 57 assertEquals(title, notification.extras.getCharSequence(Notification.EXTRA_TITLE, "")); in testCreateNotification_UsbTransportType() 58 assertEquals(message, notification.extras.getCharSequence(Notification.EXTRA_TEXT, "")); in testCreateNotification_UsbTransportType() 61 if (notification.contentIntent != null) { in testCreateNotification_UsbTransportType() 62 assertFalse(TextUtils.isEmpty(notification.contentIntent.getIntent().getPackage())); in testCreateNotification_UsbTransportType() 73 Notification notification = AdbNotifications.createNotification(mContext, in testCreateNotification_WifiTransportType() local 77 assertEquals(title, notification.extras.getCharSequence(Notification.EXTRA_TITLE, "")); in testCreateNotification_WifiTransportType() 78 assertEquals(message, notification.extras.getCharSequence(Notification.EXTRA_TEXT, "")); in testCreateNotification_WifiTransportType() 81 if (notification.contentIntent != null) { in testCreateNotification_WifiTransportType() 82 assertFalse(TextUtils.isEmpty(notification.contentIntent.getIntent().getPackage())); in testCreateNotification_WifiTransportType()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 17 package android.service.notification; 66 private final Notification notification; field in StatusBarNotification 78 String tag, int uid, int initialPid, Notification notification, UserHandle user, in StatusBarNotification() argument 81 if (notification == null) throw new NullPointerException(); in StatusBarNotification() 89 this.notification = notification; in StatusBarNotification() 102 int initialPid, int score, Notification notification, UserHandle user, in StatusBarNotification() argument 105 if (notification == null) throw new NullPointerException(); in StatusBarNotification() 113 this.notification = notification; in StatusBarNotification() 131 this.notification = new Notification(in); in StatusBarNotification() 164 ? "c:" + notification.getChannelId() in groupKey() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationPanelLogger.java | 17 package com.android.systemui.statusbar.notification.logging; 19 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE… 20 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE… 21 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE… 22 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE… 23 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE… 24 import static com.android.systemui.statusbar.notification.stack.NotificationSectionsManagerKt.BUCKE… 27 import android.service.notification.StatusBarNotification; 31 import com.android.systemui.statusbar.notification.collection.NotificationEntry; 32 import com.android.systemui.statusbar.notification.logging.nano.Notifications; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationListContainer.java | 17 package com.android.systemui.statusbar.notification.stack; 19 import static com.android.systemui.statusbar.notification.ActivityLaunchAnimator.ExpandAnimationPar… 26 import com.android.systemui.statusbar.notification.NotificationActivityStarter; 27 import com.android.systemui.statusbar.notification.VisibilityLocationProvider; 28 import com.android.systemui.statusbar.notification.collection.NotificationEntry; 29 import com.android.systemui.statusbar.notification.collection.SimpleNotificationListContainer; 30 import com.android.systemui.statusbar.notification.logging.NotificationLogger; 31 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 32 import com.android.systemui.statusbar.notification.row.ExpandableView;
|
D | ForegroundServiceSectionController.kt | 17 package com.android.systemui.statusbar.notification.stack in <lambda>() 20 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL in <lambda>() 21 import android.service.notification.NotificationListenerService.REASON_APP_CANCEL_ALL in <lambda>() 22 import android.service.notification.NotificationListenerService.REASON_CANCEL in <lambda>() 23 import android.service.notification.NotificationListenerService.REASON_CANCEL_ALL in <lambda>() 24 import android.service.notification.NotificationListenerService.REASON_CLICK in <lambda>() 25 import android.service.notification.NotificationListenerService.REASON_GROUP_SUMMARY_CANCELED in <lambda>() 30 import com.android.systemui.statusbar.notification.collection.NotificationEntry in <lambda>() 32 import com.android.systemui.statusbar.notification.ForegroundServiceDismissalFeatureController in <lambda>() 33 import com.android.systemui.statusbar.notification.NotificationEntryListener in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | HighPriorityProviderTest.java | 17 package com.android.systemui.statusbar.notification.collection; 23 import static com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.TYPE_… 24 import static com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.TYPE_… 39 import com.android.systemui.statusbar.notification.collection.provider.HighPriorityProvider; 40 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier; 84 final Notification notification = new Notification.Builder(mContext, "test") in peopleNotification() local 87 .setNotification(notification) in peopleNotification() 101 final Notification notification = new Notification.Builder(mContext, "test") in messagingStyle() local 105 .setNotification(notification) in messagingStyle() 118 final Notification notification = mock(Notification.class); in lowImportanceForeground() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/init/ |
D | NotificationsControllerImpl.kt | 17 package com.android.systemui.statusbar.notification.init 19 import android.service.notification.StatusBarNotification 24 import com.android.systemui.statusbar.notification.NotificationActivityStarter 25 import com.android.systemui.statusbar.notification.NotificationClicker 26 import com.android.systemui.statusbar.notification.NotificationEntryManager 27 import com.android.systemui.statusbar.notification.NotificationListController 28 import com.android.systemui.statusbar.notification.collection.NotifPipeline 29 import com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl 30 import com.android.systemui.statusbar.notification.collection.init.NotifPipelineInitializer 31 import com.android.systemui.statusbar.notification.collection.TargetSdkResolver [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationEntryManagerInflationTest.java | 17 package com.android.systemui.statusbar.notification.row; 21 import static com.android.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CON… 34 import android.service.notification.NotificationListenerService; 35 import android.service.notification.NotificationListenerService.Ranking; 36 import android.service.notification.StatusBarNotification; 56 import com.android.systemui.statusbar.notification.ConversationNotificationProcessor; 57 import com.android.systemui.statusbar.notification.ForegroundServiceDismissalFeatureController; 58 import com.android.systemui.statusbar.notification.NotificationClicker; 59 import com.android.systemui.statusbar.notification.NotificationEntryListener; 60 import com.android.systemui.statusbar.notification.NotificationEntryManager; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/init/ |
D | NotifPipelineInitializer.java | 17 package com.android.systemui.statusbar.notification.collection.init; 25 import com.android.systemui.statusbar.notification.collection.NotifCollection; 26 import com.android.systemui.statusbar.notification.collection.NotifInflaterImpl; 27 import com.android.systemui.statusbar.notification.collection.NotifPipeline; 28 import com.android.systemui.statusbar.notification.collection.NotifViewManager; 29 import com.android.systemui.statusbar.notification.collection.ShadeListBuilder; 30 import com.android.systemui.statusbar.notification.collection.coalescer.GroupCoalescer; 31 import com.android.systemui.statusbar.notification.collection.coordinator.NotifCoordinators; 32 import com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl; 33 import com.android.systemui.statusbar.notification.stack.NotificationListContainer;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | DynamicChildBindController.java | 17 package com.android.systemui.statusbar.notification; 19 import static com.android.systemui.statusbar.notification.row.NotificationContentInflater.FLAG_CONT… 20 import static com.android.systemui.statusbar.notification.row.NotificationContentInflater.FLAG_CONT… 21 import static com.android.systemui.statusbar.notification.stack.NotificationChildrenContainer.NUMBE… 23 import com.android.systemui.statusbar.notification.collection.NotifPipeline; 24 import com.android.systemui.statusbar.notification.collection.NotificationEntry; 25 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 26 import com.android.systemui.statusbar.notification.row.RowContentBindParams; 27 import com.android.systemui.statusbar.notification.row.RowContentBindStage;
|
D | NotificationEntryListener.java | 16 package com.android.systemui.statusbar.notification; 19 import android.service.notification.NotificationListenerService; 20 import android.service.notification.NotificationListenerService.RankingMap; 21 import android.service.notification.StatusBarNotification; 26 import com.android.systemui.statusbar.notification.collection.NotificationEntry; 79 default void onInflationError(StatusBarNotification notification, Exception exception) { in onInflationError() argument
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/ |
D | CarNotificationModule.java | 17 package com.android.systemui.car.notification; 21 import com.android.car.notification.CarHeadsUpNotificationManager; 22 import com.android.car.notification.CarNotificationListener; 23 import com.android.car.notification.CarUxRestrictionManagerWrapper; 24 import com.android.car.notification.NotificationClickHandlerFactory; 25 import com.android.car.notification.NotificationDataManager; 26 import com.android.car.notification.headsup.CarHeadsUpNotificationContainer;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ViewTransformationHelper.java | 30 import com.android.systemui.statusbar.notification.TransformState; 31 import com.android.systemui.statusbar.notification.stack.StackStateAnimator; 104 public void transformTo(final TransformableView notification, final Runnable endRunnable) { in transformTo() argument 112 transformTo(notification, animation.getAnimatedFraction()); in transformTo() 142 public void transformTo(TransformableView notification, float transformationAmount) { in transformTo() argument 148 ownState, notification, transformationAmount)) { in transformTo() 152 TransformState otherState = notification.getCurrentState(viewType); in transformTo() 157 ownState.disappear(transformationAmount, notification); in transformTo() 165 public void transformFrom(final TransformableView notification) { in transformFrom() argument 173 transformFrom(notification, animation.getAnimatedFraction()); in transformFrom() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | BubbleCoordinator.java | 17 package com.android.systemui.statusbar.notification.collection.coordinator; 19 import static android.service.notification.NotificationStats.DISMISSAL_OTHER; 20 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL; 24 import com.android.systemui.statusbar.notification.collection.NotifCollection; 25 import com.android.systemui.statusbar.notification.collection.NotifPipeline; 26 import com.android.systemui.statusbar.notification.collection.NotificationEntry; 27 import com.android.systemui.statusbar.notification.collection.listbuilder.pluggable.NotifFilter; 28 import com.android.systemui.statusbar.notification.collection.notifcollection.DismissedByUserStats; 29 import com.android.systemui.statusbar.notification.collection.notifcollection.NotifDismissIntercept… 30 import com.android.systemui.statusbar.notification.logging.NotificationLogger;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationBigPictureTemplateViewWrapper.java | 17 package com.android.systemui.statusbar.notification.row.wrapper; 23 import android.service.notification.StatusBarNotification; 26 import com.android.systemui.statusbar.notification.ImageTransformState; 27 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 45 private void updateImageTag(StatusBarNotification notification) { in updateImageTag() argument 46 final Bundle extras = notification.getNotification().extras; in updateImageTag()
|