BluetoothSystemServer: add AutoOn user metrics counter
Adding api to understand feature usage from user
Bug: 323060869
Bug: 316946334
Test: atest ServiceBluetoothRoboTests
Change-Id: Ie6ad6fe5fc4c77cb7f2f4f306b0d6829d5263918
diff --git a/stats/express/catalog/bluetooth.cfg b/stats/express/catalog/bluetooth.cfg
index a76df3c..0f2ad0b 100644
--- a/stats/express/catalog/bluetooth.cfg
+++ b/stats/express/catalog/bluetooth.cfg
@@ -67,3 +67,21 @@
owner_email: "wescande@google.com"
unit: UNIT_COUNT
}
+
+express_metric {
+ id: "bluetooth.value_auto_on_disabled"
+ type: COUNTER
+ display_name: "Auto on -- disabled"
+ description: "How many times the user manually disable the AutoOnFeature"
+ owner_email: "wescande@google.com"
+ unit: UNIT_COUNT
+}
+
+express_metric {
+ id: "bluetooth.value_auto_on_enabled"
+ type: COUNTER
+ display_name: "Auto on -- enabled"
+ description: "How many times the user manually enable the AutoOnFeature"
+ owner_email: "wescande@google.com"
+ unit: UNIT_COUNT
+}