/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationStatsTest.java | 18 import static android.service.notification.NotificationStats.DISMISSAL_PEEK; 19 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEGATIVE; 26 import android.service.notification.NotificationStats; 42 NotificationStats stats = new NotificationStats(); in testConstructor() 50 assertEquals(NotificationStats.DISMISSAL_NOT_DISMISSED, stats.getDismissalSurface()); in testConstructor() 51 assertEquals(NotificationStats.DISMISS_SENTIMENT_UNKNOWN, stats.getDismissalSentiment()); in testConstructor() 56 NotificationStats stats = new NotificationStats(); in testSeen() 64 NotificationStats stats = new NotificationStats(); in testDirectReplied() 72 NotificationStats stats = new NotificationStats(); in testExpanded() 80 NotificationStats stats = new NotificationStats(); in testSnoozed() [all …]
|
D | NotificationManagerServiceTest.java | 121 import android.service.notification.NotificationStats; 932 ArgumentCaptor<NotificationStats> captor = ArgumentCaptor.forClass(NotificationStats.class); in testCancelNotificationWhilePostedAndEnqueued() 934 assertEquals(NotificationStats.DISMISSAL_OTHER, captor.getValue().getDismissalSurface()); in testCancelNotificationWhilePostedAndEnqueued() 980 ArgumentCaptor<NotificationStats> captor = ArgumentCaptor.forClass(NotificationStats.class); in testUserInitiatedClearAll_noLeak() 982 assertEquals(NotificationStats.DISMISSAL_OTHER, captor.getValue().getDismissalSurface()); in testUserInitiatedClearAll_noLeak() 2860 r.sbn.getId(), r.getUserId(), r.getKey(), NotificationStats.DISMISSAL_AOD, in testStats_dismissalSurface() 2861 NotificationStats.DISMISS_SENTIMENT_POSITIVE, nv); in testStats_dismissalSurface() 2864 assertEquals(NotificationStats.DISMISSAL_AOD, r.getStats().getDismissalSurface()); in testStats_dismissalSurface() 2874 r.sbn.getId(), r.getUserId(), r.getKey(), NotificationStats.DISMISSAL_AOD, in testStats_dismissalSentiment() 2875 NotificationStats.DISMISS_SENTIMENT_NEGATIVE, nv); in testStats_dismissalSentiment() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationStats.java | 34 public final class NotificationStats implements Parcelable { class 106 public NotificationStats() { in NotificationStats() method in NotificationStats 113 protected NotificationStats(Parcel in) { in NotificationStats() method in NotificationStats 141 …atic final @android.annotation.NonNull Creator<NotificationStats> CREATOR = new Creator<Notificati… 143 public NotificationStats createFromParcel(Parcel in) { 144 return new NotificationStats(in); 148 public NotificationStats[] newArray(int size) { 149 return new NotificationStats[size]; 273 NotificationStats that = (NotificationStats) o; in equals()
|
D | INotificationListener.aidl | 24 import android.service.notification.NotificationStats; 39 in NotificationRankingUpdate update, in NotificationStats stats, int reason); in onNotificationRemoved()
|
D | NotificationStats.aidl | 19 parcelable NotificationStats;
|
D | NotificationListenerService.java | 429 @NonNull RankingMap rankingMap, @NonNull NotificationStats stats, int reason) { in onNotificationRemoved() 1308 NotificationRankingUpdate update, NotificationStats stats, int reason) { in onNotificationRemoved() 2031 NotificationStats stats = (NotificationStats) args.arg4;
|
D | NotificationAssistantService.java | 172 @NonNull NotificationStats stats, int reason) { in onNotificationRemoved()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationDelegate.java | 20 import android.service.notification.NotificationStats; 33 @NotificationStats.DismissalSurface int dismissalSurface, in onNotificationClear() 34 @NotificationStats.DismissalSentiment int dismissalSentiment, in onNotificationClear()
|
D | NotificationRecord.java | 55 import android.service.notification.NotificationStats; 178 private final NotificationStats mStats; 217 mStats = new NotificationStats(); in NotificationRecord() 1108 public NotificationStats getStats() { in getStats() 1120 public void recordDismissalSurface(@NotificationStats.DismissalSurface int surface) { in recordDismissalSurface() 1124 public void recordDismissalSentiment(@NotificationStats.DismissalSentiment int sentiment) { in recordDismissalSentiment()
|
D | NotificationManagerService.java | 189 import android.service.notification.NotificationStats; 850 @NotificationStats.DismissalSurface int dismissalSurface, 851 @NotificationStats.DismissalSentiment int dismissalSentiment, 6430 if (r.getStats().getDismissalSurface() == NotificationStats.DISMISSAL_NOT_DISMISSED) { 6431 r.recordDismissalSurface(NotificationStats.DISMISSAL_OTHER); 6781 r.recordDismissalSentiment(NotificationStats.DISMISS_SENTIMENT_NEUTRAL); 7960 NotificationStats notificationStats) { 7987 final NotificationStats stats = mAssistants.isServiceTokenValidLocked(info.service) 8172 NotificationRankingUpdate rankingUpdate, NotificationStats stats, int reason) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationLogger.java | 24 import android.service.notification.NotificationStats; 282 int dismissalSurface = NotificationStats.DISMISSAL_SHADE; in logNotificationClear() 284 dismissalSurface = NotificationStats.DISMISSAL_PEEK; in logNotificationClear() 286 dismissalSurface = NotificationStats.DISMISSAL_AOD; in logNotificationClear() 288 int dismissalSentiment = NotificationStats.DISMISS_SENTIMENT_NEUTRAL; in logNotificationClear()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 42 import android.service.notification.NotificationStats; 1218 @NotificationStats.DismissalSurface int dismissalSurface, in onNotificationClear() 1219 @NotificationStats.DismissalSentiment int dismissalSentiment, in onNotificationClear()
|
/frameworks/base/api/ |
D | test-current.txt | 2677 …ificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int); 2680 public final class NotificationStats implements android.os.Parcelable { 2681 ctor public NotificationStats(); 2699 …static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
|
D | system-current.txt | 6589 …ificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int); 6592 public final class NotificationStats implements android.os.Parcelable { 6593 ctor public NotificationStats(); 6594 ctor protected NotificationStats(android.os.Parcel); 6612 …static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
|
/frameworks/base/config/ |
D | preloaded-classes | 3196 android.service.notification.NotificationStats$1 3197 android.service.notification.NotificationStats
|
/frameworks/base/services/ |
D | art-profile | 9524 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V 9525 …/android/server/notification/NotificationRecord;ILandroid/service/notification/NotificationStats;)V
|