Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7154b6d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add new WifiWake metrics" into pi-dev

parents 50c069f7 3cad6241
Loading
Loading
Loading
Loading
+14 −1
Original line number Original line Diff line number Diff line
@@ -1271,9 +1271,16 @@ message WifiWakeStats {
    // Start time of session in milliseconds.
    // Start time of session in milliseconds.
    optional int64 start_time_millis = 1;
    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;
    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.
    // Event for unlocking the WakeupLock. Does not occur if lock was initialized with 0 networks.
    optional Event unlock_event = 3;
    optional Event unlock_event = 3;


@@ -1289,4 +1296,10 @@ message WifiWakeStats {


  // Session information for every Wifi Wake session (up to a maximum of 10).
  // Session information for every Wifi Wake session (up to a maximum of 10).
  repeated Session sessions = 2;
  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;
}
}