summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2017-10-30 21:21:53 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-10-30 21:21:53 +0000
commit884a7e4816d0e564d12d5b034756e4ccfe0697f4 (patch)
treeac24694280e9a07908b87cc99284076c6f37f010
parenta17d0ac384e356a8a53278d207ac8d5ad346b703 (diff)
parentde3b7af41c4223e59d1984170ff5ce2dbf0f79c3 (diff)
Merge "Add metric for anomaly detection"
-rw-r--r--proto/src/metrics_constants.proto25
1 files changed, 25 insertions, 0 deletions
diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto
index 7b257ab468a6..f82d435dd360 100644
--- a/proto/src/metrics_constants.proto
+++ b/proto/src/metrics_constants.proto
@@ -4725,6 +4725,31 @@ message MetricsEvent {
// Tag FIELD_CLASS_NAME: Class name of the activity that is being disabled for autofill
AUTOFILL_SERVICE_DISABLED_ACTIVITY = 1232;
+ // ACTION: Stop an app and turn on background check
+ // CATEGORY: SETTINGS
+ // OS: P
+ ACTION_APP_STOP_AND_BACKGROUND_CHECK = 1233;
+
+ // FIELD: The action type for each anomaly
+ // CATEGORY: SETTINGS
+ // OS: P
+ FIELD_ANOMALY_ACTION_TYPE = 1234;
+
+ // OPEN: Settings -> Battery -> Wakelock anomaly
+ // CATEGORY: SETTINGS
+ // OS: P
+ ANOMALY_TYPE_WAKELOCK = 1235;
+
+ // OPEN: Settings -> Battery -> Wakeup alarm anomaly
+ // CATEGORY: SETTINGS
+ // OS: P
+ ANOMALY_TYPE_WAKEUP_ALARM = 1236;
+
+ // OPEN: Settings -> Battery -> Unoptimized bt anomaly
+ // CATEGORY: SETTINGS
+ // OS: P
+ ANOMALY_TYPE_UNOPTIMIZED_BT = 1237;
+
// Add new aosp constants above this line.
// END OF AOSP CONSTANTS
}