summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2018-04-06 18:48:27 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-04-06 18:48:27 +0000
commite7154b6d5a9300c8bfbfc46bf8e65ff1ab446c62 (patch)
treec10dc8c1989512d5b9ab832693a8a36182264daa
parent50c069f7c1e8735580b559fbe6a96e5a7d4f6c36 (diff)
parent3cad62417be2090629e42db78cf5ac53ff805a77 (diff)
Merge "Add new WifiWake metrics" into pi-dev
-rw-r--r--proto/src/wifi.proto15
1 files changed, 14 insertions, 1 deletions
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index 934ad882a635..e05416e95858 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -1271,9 +1271,16 @@ message WifiWakeStats {
// Start time of session in milliseconds.
optional int64 start_time_millis = 1;
- // The number of networks the lock was initialized with at start.
+ // The number of networks the lock was provided with at start.
optional int32 locked_networks_at_start = 2;
+ // The number of networks in the lock at the time of the initialize event. Only valid if
+ // initialize_event is recorded.
+ optional int32 locked_networks_at_initialize = 6;
+
+ // Event for fully initializing the WakeupLock (i.e. WakeupLock is "locked").
+ optional Event initialize_event = 7;
+
// Event for unlocking the WakeupLock. Does not occur if lock was initialized with 0 networks.
optional Event unlock_event = 3;
@@ -1289,4 +1296,10 @@ message WifiWakeStats {
// Session information for every Wifi Wake session (up to a maximum of 10).
repeated Session sessions = 2;
+
+ // Number of ignored calls to start (due to WakeupController already being active).
+ optional int32 num_ignored_starts = 3;
+
+ // Number of Wifi Wake sessions that have recorded wakeup events.
+ optional int32 num_wakeups = 4;
}