Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DNotificationStats.java36 public final class NotificationStats implements Parcelable { class
108 public NotificationStats() { in NotificationStats() method in NotificationStats
115 protected NotificationStats(Parcel in) { in NotificationStats() method in NotificationStats
143 …atic final @android.annotation.NonNull Creator<NotificationStats> CREATOR = new Creator<Notificati…
145 public NotificationStats createFromParcel(Parcel in) {
146 return new NotificationStats(in);
150 public NotificationStats[] newArray(int size) {
151 return new NotificationStats[size];
275 NotificationStats that = (NotificationStats) o; in equals()
DINotificationListener.aidl24 import android.service.notification.NotificationStats;
39 in NotificationRankingUpdate update, in NotificationStats stats, int reason); in onNotificationRemoved()
DNotificationStats.aidl19 parcelable NotificationStats;
DNotificationListenerService.java457 @NonNull RankingMap rankingMap, @NonNull NotificationStats stats, int reason) { in onNotificationRemoved()
1340 NotificationRankingUpdate update, NotificationStats stats, int reason) { in onNotificationRemoved()
2139 NotificationStats stats = (NotificationStats) args.arg4;
DNotificationAssistantService.java172 @NonNull NotificationStats stats, int reason) { in onNotificationRemoved()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLogger.java30 import android.service.notification.NotificationStats;
70 @NotificationStats.DismissalSurface int dismissalSurface) { in logNotificationCancelled()
179 @NotificationStats.DismissalSurface int surface) { in fromCancelReason()
181 if (surface == NotificationStats.DISMISSAL_NOT_DISMISSED) { in fromCancelReason()
189 if (surface == NotificationStats.DISMISSAL_OTHER) { in fromCancelReason()
207 case NotificationStats.DISMISSAL_PEEK: in fromCancelReason()
209 case NotificationStats.DISMISSAL_AOD: in fromCancelReason()
211 case NotificationStats.DISMISSAL_SHADE: in fromCancelReason()
DNotificationDelegate.java22 import android.service.notification.NotificationStats;
35 @NotificationStats.DismissalSurface int dismissalSurface, in onNotificationClear()
36 @NotificationStats.DismissalSentiment int dismissalSentiment, in onNotificationClear()
DNotificationRecord.java53 import android.service.notification.NotificationStats;
179 private final NotificationStats mStats;
223 mStats = new NotificationStats(); in NotificationRecord()
1136 public NotificationStats getStats() { in getStats()
1148 public void recordDismissalSurface(@NotificationStats.DismissalSurface int surface) { in recordDismissalSurface()
1152 public void recordDismissalSentiment(@NotificationStats.DismissalSentiment int sentiment) { in recordDismissalSentiment()
DNotificationManagerService.java210 import android.service.notification.NotificationStats;
965 @NotificationStats.DismissalSurface int dismissalSurface,
966 @NotificationStats.DismissalSentiment int dismissalSentiment,
7616 if (r.getStats().getDismissalSurface() == NotificationStats.DISMISSAL_NOT_DISMISSED) {
7617 r.recordDismissalSurface(NotificationStats.DISMISSAL_OTHER);
7979 r.recordDismissalSentiment(NotificationStats.DISMISS_SENTIMENT_NEUTRAL);
9329 NotificationStats notificationStats) {
9356 final NotificationStats stats = mAssistants.isServiceTokenValidLocked(info.service)
9541 NotificationRankingUpdate rankingUpdate, NotificationStats stats, int reason) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DDismissedByUserStats.java19 import android.service.notification.NotificationStats.DismissalSentiment;
20 import android.service.notification.NotificationStats.DismissalSurface;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifInflaterImpl.java19 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
21 import android.service.notification.NotificationStats;
100 int dismissalSurface = NotificationStats.DISMISSAL_SHADE; in getDismissCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DBubbleCoordinator.java19 import static android.service.notification.NotificationStats.DISMISSAL_OTHER;
20 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java24 import android.service.notification.NotificationStats;
308 int dismissalSurface = NotificationStats.DISMISSAL_SHADE; in logNotificationClear()
310 dismissalSurface = NotificationStats.DISMISSAL_PEEK; in logNotificationClear()
312 dismissalSurface = NotificationStats.DISMISSAL_AOD; in logNotificationClear()
314 int dismissalSentiment = NotificationStats.DISMISS_SENTIMENT_NEUTRAL; in logNotificationClear()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java20 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
40 import android.service.notification.NotificationStats;
604 int dismissalSurface = NotificationStats.DISMISSAL_SHADE; in createRemoveRunnable()
606 dismissalSurface = NotificationStats.DISMISSAL_PEEK; in createRemoveRunnable()
608 dismissalSurface = NotificationStats.DISMISSAL_AOD; in createRemoveRunnable()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java43 import android.service.notification.NotificationStats;
1280 @NotificationStats.DismissalSurface int dismissalSurface, in onNotificationClear()
1281 @NotificationStats.DismissalSentiment int dismissalSentiment, in onNotificationClear()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java139 import android.service.notification.NotificationStats;
1380 ArgumentCaptor<NotificationStats> captor = ArgumentCaptor.forClass(NotificationStats.class); in testCancelNotificationWhilePostedAndEnqueued()
1382 assertEquals(NotificationStats.DISMISSAL_OTHER, captor.getValue().getDismissalSurface()); in testCancelNotificationWhilePostedAndEnqueued()
1445 ArgumentCaptor<NotificationStats> captor = ArgumentCaptor.forClass(NotificationStats.class); in testUserInitiatedClearAll_noLeak()
1447 assertEquals(NotificationStats.DISMISSAL_OTHER, captor.getValue().getDismissalSurface()); in testUserInitiatedClearAll_noLeak()
3590 r.getSbn().getId(), r.getUserId(), r.getKey(), NotificationStats.DISMISSAL_AOD, in testStats_dismissalSurface()
3591 NotificationStats.DISMISS_SENTIMENT_POSITIVE, nv); in testStats_dismissalSurface()
3594 assertEquals(NotificationStats.DISMISSAL_AOD, r.getStats().getDismissalSurface()); in testStats_dismissalSurface()
3613 r.getSbn().getId(), r.getUserId(), r.getKey(), NotificationStats.DISMISSAL_AOD, in testStats_dismissalSentiment()
3614 NotificationStats.DISMISS_SENTIMENT_NEGATIVE, nv); in testStats_dismissalSentiment()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java23 import static android.service.notification.NotificationStats.DISMISSAL_SHADE;
24 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
/frameworks/base/api/
Dtest-lint-baseline.txt440 GetterSetterNames: android.service.notification.NotificationStats#setDirectReplied():
442 GetterSetterNames: android.service.notification.NotificationStats#setExpanded():
444 GetterSetterNames: android.service.notification.NotificationStats#setSeen():
446 GetterSetterNames: android.service.notification.NotificationStats#setSnoozed():
448 GetterSetterNames: android.service.notification.NotificationStats#setViewedSettings():
1460 MissingNullability: android.service.notification.NotificationStats#writeToParcel(android.os.Parcel,…
Dtest-current.txt3706 …ificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int);
3709 public final class NotificationStats implements android.os.Parcelable {
3710 ctor public NotificationStats();
3728 …static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
Dsystem-current.txt9900 …ificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int);
9903 public final class NotificationStats implements android.os.Parcelable {
9904 ctor public NotificationStats();
9905 ctor protected NotificationStats(android.os.Parcel);
9923 …static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java19 import static android.service.notification.NotificationStats.DISMISSAL_SHADE;
20 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
/frameworks/base/non-updatable-api/
Dsystem-current.txt8782 …ificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int);
8785 public final class NotificationStats implements android.os.Parcelable {
8786 ctor public NotificationStats();
8787 ctor protected NotificationStats(android.os.Parcel);
8805 …static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
/frameworks/base/config/
Dpreloaded-classes5593 android.service.notification.NotificationStats$1
5594 android.service.notification.NotificationStats
Dboot-image-profile.txt17679 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
17702 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
17755 …fication/NotificationListenerService$RankingMap;Landroid/service/notification/NotificationStats;I)V
17764 HSPLandroid/service/notification/NotificationStats;-><init>()V
17765 HPLandroid/service/notification/NotificationStats;->writeToParcel(Landroid/os/Parcel;I)V
45824 Landroid/service/notification/NotificationStats$1;
45825 Landroid/service/notification/NotificationStats;
/frameworks/base/services/
Dart-profile21513 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
21522 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
21551 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
21552 …/android/server/notification/NotificationRecord;ILandroid/service/notification/NotificationStats;)V
21915 …server/notification/NotificationRecord;->getStats()Landroid/service/notification/NotificationStats;