summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Charlie Wang <charliewang@google.com> 2017-06-28 21:26:38 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-06-28 21:26:38 +0000
commitb5e79ad0d3bd672d37e9b88b002e7ad91e358448 (patch)
tree2cd37edeca4a62223b0acfa73cacfc54bfb92798
parent29c70316dfe9011daace3de5d20430334ce75985 (diff)
parent566ec70c1e2eb054a982b4aea0a02709e38936d7 (diff)
Merge "Adding fields for time elapsed for headset device events." into oc-dr1-dev
-rw-r--r--proto/src/metrics_constants.proto33
1 files changed, 32 insertions, 1 deletions
diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto
index 2edcd71721ca..4d9b0ddde14b 100644
--- a/proto/src/metrics_constants.proto
+++ b/proto/src/metrics_constants.proto
@@ -4153,11 +4153,42 @@ message MetricsEvent {
// OS: O DR
FIELD_PLUG_BATTERY_PERCENTAGE = 1024;
+ // 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_UNPLUG_BATTERY_PERCENTAGE = 1025;
+
// Device Headset Pose status
// CATEGORY: OTHER
// SUBTYPE: 1 is 6DOF, 2 is 3DOF
// OS: O DR
- ACTION_HEADSET_POSE_STATUS = 1025;
+ ACTION_HEADSET_POSE_STATUS = 1026;
+
+ // Device Headset Usage session time
+ // CATEGORY: OTHER
+ // FIELD - The time the headset was used in a session
+ // OS: O DR
+ FIELD_SESSION_TIME_MS = 1027;
+
+ // Device Headset Idle time
+ // CATEGORY: OTHER
+ // FIELD - The time in between each session
+ // OS: O DR
+ FIELD_TIME_ELAPSED_BETWEEN_SESSION_MS = 1028;
+
+ // Device Headset charge session time
+ // CATEGORY: OTHER
+ // FIELD - The time taken for each charge
+ // OS: O DR
+ FIELD_TIME_OF_CHARGE_MS = 1029;
+
+ // Device Headset time between charge
+ // CATEGORY: OTHER
+ // FIELD - The time in between each charge
+ // OS: O DR
+ FIELD_TIME_ELAPSED_BETWEEN_CHARGE_MS = 1030;
// Add new aosp constants above this line.
// END OF AOSP CONSTANTS