Adding tron logging events for standalone headsets.
Standalone headsets will use tron to log headset events.
Bug: 62103076
Test: Builds and logger can log events
Change-Id: I761ddae4501aa8b8d0d9dacc91f04fd13a2c771c
diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto
index b3a4007..2edcd71 100644
--- a/proto/src/metrics_constants.proto
+++ b/proto/src/metrics_constants.proto
@@ -4134,6 +4134,31 @@
// OS: O DR
ACTION_APP_LOCATION_CHECK = 1021;
+ // Device headset status
+ // CATEGORY: OTHER
+ // SUBTYPE: 1 is DON, 2 is DOFF
+ // OS: O DR
+ ACTION_HEADSET_STATUS = 1022;
+
+ // Device Headset Plug status
+ // CATEGORY: OTHER
+ // SUBTYPE: 1 is AC power, 2 is USB power, 3 is Unplug
+ // OS: O DR
+ ACTION_HEADSET_PLUG = 1023;
+
+ // Device Headset battery level on Plug
+ // CATEGORY: OTHER
+ // FIELD - The battery percentage when the user decided to plug in
+ // Type: integer
+ // OS: O DR
+ FIELD_PLUG_BATTERY_PERCENTAGE = 1024;
+
+ // Device Headset Pose status
+ // CATEGORY: OTHER
+ // SUBTYPE: 1 is 6DOF, 2 is 3DOF
+ // OS: O DR
+ ACTION_HEADSET_POSE_STATUS = 1025;
+
// Add new aosp constants above this line.
// END OF AOSP CONSTANTS
}