1 /*
2  * Copyright (C) 2018 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License
15  */
16 
17 package com.android.systemui.statusbar.notification.logging;
18 
19 /**
20  * Constants for counter tags for Notification-related actions/views.
21  */
22 public class NotificationCounters {
23     /** Counter tag for notification dismissal. */
24     public static final String NOTIFICATION_DISMISSED = "notification_dismissed";
25 
26     /** Counter tag for when the blocking helper is shown to the user. */
27     public static final String BLOCKING_HELPER_SHOWN = "blocking_helper_shown";
28     /** Counter tag for when the blocking helper is dismissed via a miscellaneous interaction. */
29     public static final String BLOCKING_HELPER_DISMISSED = "blocking_helper_dismissed";
30     /** Counter tag for when the user hits 'stop notifications' in the blocking helper. */
31     public static final String BLOCKING_HELPER_STOP_NOTIFICATIONS =
32             "blocking_helper_stop_notifications";
33     /** Counter tag for when the user hits 'deliver silently' in the blocking helper. */
34     public static final String BLOCKING_HELPER_DELIVER_SILENTLY =
35             "blocking_helper_deliver_silently";
36     /** Counter tag for when the user hits 'show silently' in the blocking helper. */
37     public static final String BLOCKING_HELPER_TOGGLE_SILENT =
38             "blocking_helper_toggle_silent";
39     /** Counter tag for when the user hits 'keep showing' in the blocking helper. */
40     public static final String BLOCKING_HELPER_KEEP_SHOWING =
41             "blocking_helper_keep_showing";
42     /**
43      * Counter tag for when the user hits undo in context of the blocking helper - this can happen
44      * multiple times per view.
45      */
46     public static final String BLOCKING_HELPER_UNDO = "blocking_helper_undo";
47     /** Counter tag for when the user hits the notification settings icon in the blocking helper. */
48     public static final String BLOCKING_HELPER_NOTIF_SETTINGS =
49             "blocking_helper_notif_settings";
50 }
51