Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/service/notification/
DNotificationStats.java37 public final class NotificationStats implements Parcelable { class
121 public NotificationStats() { in NotificationStats() method in NotificationStats
128 protected NotificationStats(Parcel in) { in NotificationStats() method in NotificationStats
162 …atic final @android.annotation.NonNull Creator<NotificationStats> CREATOR = new Creator<Notificati…
164 public NotificationStats createFromParcel(Parcel in) {
165 return new NotificationStats(in);
169 public NotificationStats[] newArray(int size) {
170 return new NotificationStats[size];
312 NotificationStats that = (NotificationStats) o; in equals()
DINotificationListener.aidl25 import android.service.notification.NotificationStats;
40 in NotificationRankingUpdate update, in NotificationStats stats, int reason); in onNotificationRemoved()
DNotificationStats.aidl19 parcelable NotificationStats;
DNotificationListenerService.java564 @NonNull RankingMap rankingMap, @NonNull NotificationStats stats, int reason) { in onNotificationRemoved()
1496 NotificationRankingUpdate update, NotificationStats stats, int reason) { in onNotificationRemoved()
2432 NotificationStats stats = (NotificationStats) args.arg4; in handleMessage()
DNotificationAssistantService.java210 @NonNull NotificationStats stats, int reason) { in onNotificationRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DOnUserInteractionCallbackImpl.java19 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
24 import android.service.notification.NotificationStats;
70 int dismissalSurface = NotificationStats.DISMISSAL_SHADE; in getDismissedByUserStats()
72 dismissalSurface = NotificationStats.DISMISSAL_PEEK; in getDismissedByUserStats()
74 dismissalSurface = NotificationStats.DISMISSAL_AOD; in getDismissedByUserStats()
76 dismissalSurface = NotificationStats.DISMISSAL_LOCKSCREEN; in getDismissedByUserStats()
/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/services/core/java/com/android/server/notification/
DNotificationRecordLogger.java32 import android.service.notification.NotificationStats;
112 @NotificationStats.DismissalSurface int dismissalSurface) { in logNotificationCancelled()
232 @NotificationStats.DismissalSurface int surface) { in fromCancelReason()
234 if (surface == NotificationStats.DISMISSAL_NOT_DISMISSED) { in fromCancelReason()
243 case NotificationStats.DISMISSAL_PEEK: in fromCancelReason()
245 case NotificationStats.DISMISSAL_AOD: in fromCancelReason()
247 case NotificationStats.DISMISSAL_SHADE: in fromCancelReason()
249 case NotificationStats.DISMISSAL_BUBBLE: in fromCancelReason()
251 case NotificationStats.DISMISSAL_LOCKSCREEN: in fromCancelReason()
253 case NotificationStats.DISMISSAL_OTHER: in fromCancelReason()
DNotificationDelegate.java23 import android.service.notification.NotificationStats;
36 @NotificationStats.DismissalSurface int dismissalSurface, in onNotificationClear()
37 @NotificationStats.DismissalSentiment int dismissalSentiment, in onNotificationClear()
DNotificationRecord.java63 import android.service.notification.NotificationStats;
193 private final NotificationStats mStats;
249 mStats = new NotificationStats(); in NotificationRecord()
1290 public NotificationStats getStats() { in getStats()
1319 public void recordDismissalSurface(@NotificationStats.DismissalSurface int surface) { in recordDismissalSurface()
1323 public void recordDismissalSentiment(@NotificationStats.DismissalSentiment int sentiment) { in recordDismissalSentiment()
DNotificationManagerService.java287 import android.service.notification.NotificationStats;
1357 @NotificationStats.DismissalSurface int dismissalSurface,
1358 @NotificationStats.DismissalSentiment int dismissalSentiment,
9700 if (r.getStats().getDismissalSurface() == NotificationStats.DISMISSAL_NOT_DISMISSED) {
9701 r.recordDismissalSurface(NotificationStats.DISMISSAL_OTHER);
10072 r.recordDismissalSentiment(NotificationStats.DISMISS_SENTIMENT_NEUTRAL);
10085 r.recordDismissalSentiment(NotificationStats.DISMISS_SENTIMENT_NEUTRAL);
12129 NotificationStats notificationStats) {
12168 final NotificationStats stats = mAssistants.isServiceTokenValidLocked(info.service)
12344 NotificationRankingUpdate rankingUpdate, NotificationStats stats, int reason) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java28 import android.service.notification.NotificationStats;
205 NotificationStats.DISMISSAL_OTHER, in clearNotificationIfPresent()
206 NotificationStats.DISMISS_SENTIMENT_POSITIVE, notifVisibility); in clearNotificationIfPresent()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordLoggerTest.java23 import static android.service.notification.NotificationStats.DISMISSAL_BUBBLE;
24 import static android.service.notification.NotificationStats.DISMISSAL_OTHER;
DNotificationListenersTest.java77 import android.service.notification.NotificationStats;
577 NotificationStats rs0 = mock(NotificationStats.class); in testNotifyRemovedLockedInLockdownMode()
581 NotificationStats rs1 = mock(NotificationStats.class); in testNotifyRemovedLockedInLockdownMode()
816 mListeners.notifyRemovedLocked(r, 0, mock(NotificationStats.class)); in testRedaction_whenRemoved()
833 mListeners.notifyRemovedLocked(r, 0, mock(NotificationStats.class)); in testRedaction_noneIfFlagDisabled()
DNotificationManagerServiceTest.java259 import android.service.notification.NotificationStats;
2361 ArgumentCaptor<NotificationStats> captor = ArgumentCaptor.forClass(NotificationStats.class); in testCancelNotificationWhilePostedAndEnqueued()
2363 assertEquals(NotificationStats.DISMISSAL_OTHER, captor.getValue().getDismissalSurface()); in testCancelNotificationWhilePostedAndEnqueued()
2412 ArgumentCaptor<NotificationStats> captor = ArgumentCaptor.forClass(NotificationStats.class); in testUserInitiatedClearAll_noLeak()
2414 assertEquals(NotificationStats.DISMISSAL_OTHER, captor.getValue().getDismissalSurface()); in testUserInitiatedClearAll_noLeak()
6202 r.getKey(), NotificationStats.DISMISSAL_AOD, in testStats_dismissalSurface()
6203 NotificationStats.DISMISS_SENTIMENT_POSITIVE, nv); in testStats_dismissalSurface()
6206 assertEquals(NotificationStats.DISMISSAL_AOD, r.getStats().getDismissalSurface()); in testStats_dismissalSurface()
6225 r.getKey(), NotificationStats.DISMISSAL_AOD, in testStats_dismissalSentiment()
6226 NotificationStats.DISMISS_SENTIMENT_NEGATIVE, nv); in testStats_dismissalSentiment()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java31 import android.service.notification.NotificationStats;
225 NotificationStats.DISMISSAL_SHADE, // Add DISMISSAL_MEDIA? in getDismissedByUserStats()
226 NotificationStats.DISMISS_SENTIMENT_NEUTRAL, in getDismissedByUserStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java25 import static android.service.notification.NotificationStats.DISMISSAL_BUBBLE;
26 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java79 import android.service.notification.NotificationStats;
1762 @NotificationStats.DismissalSurface int dismissalSurface, in onNotificationClear()
1763 @NotificationStats.DismissalSentiment int dismissalSentiment, in onNotificationClear()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java19 import static android.service.notification.NotificationStats.DISMISSAL_SHADE;
20 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifCollectionTest.java26 import static android.service.notification.NotificationStats.DISMISSAL_SHADE;
27 import static android.service.notification.NotificationStats.DISMISS_SENTIMENT_NEUTRAL;
/frameworks/base/core/api/
Dsystem-current.txt12921 …ificationListenerService.RankingMap, @NonNull android.service.notification.NotificationStats, int);
12929 public final class NotificationStats implements android.os.Parcelable {
12930 ctor public NotificationStats();
12931 ctor protected NotificationStats(android.os.Parcel);
12951 …static final android.os.Parcelable.Creator<android.service.notification.NotificationStats> CREATOR;
/frameworks/base/boot/
Dpreloaded-classes7089 android.service.notification.NotificationStats$1
7090 android.service.notification.NotificationStats
Dboot-image-profile.txt13638 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
13669 …fication/NotificationListenerService$RankingMap;Landroid/service/notification/NotificationStats;I)V
29493 Landroid/service/notification/NotificationStats$1;
29494 Landroid/service/notification/NotificationStats;
/frameworks/base/config/
Dpreloaded-classes7093 android.service.notification.NotificationStats$1
7094 android.service.notification.NotificationStats
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt48956 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
48978 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
49029 …/service/notification/NotificationRankingUpdate;Landroid/service/notification/NotificationStats;I)V
49158 Landroid/service/notification/NotificationStats;->mDirectReplied:Z
49159 Landroid/service/notification/NotificationStats;->mDismissalSurface:I
49160 Landroid/service/notification/NotificationStats;->mExpanded:Z
49161 Landroid/service/notification/NotificationStats;->mInteracted:Z
49162 Landroid/service/notification/NotificationStats;->mSeen:Z
49163 Landroid/service/notification/NotificationStats;->mSnoozed:Z
49164 Landroid/service/notification/NotificationStats;->mViewedSettings:Z

12