Wifi usability: Add new entry into wifi.proto for metrics collection

Add predictionHorizonSec into Wifi.proto and it is collected together
with Wifi usability score passed from system app.

Bug: 113262380

Test: frameworks/base/wifi/tests/runtests.sh

Change-Id: I250a187c08dd9a32cace4aaf9a718d1b232c79b2
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto
index 6656919..312e7a3 100644
--- a/proto/src/wifi.proto
+++ b/proto/src/wifi.proto
@@ -962,6 +962,10 @@
 
   // NetworkAgent Wifi usability score of connected wifi
   optional int32 last_wifi_usability_score = 15 [default = -1];
+
+  // Prediction horizon (in second) of Wifi usability score provided by external
+  // system app
+  optional int32 last_prediction_horizon_sec = 16 [default = -1];
 }
 
 // Wi-Fi Aware metrics
@@ -1679,6 +1683,10 @@
   // NetworkAgent wifi usability score of connected wifi.
   // Defaults to -1 if the score was never set.
   optional int32 last_wifi_usability_score = 11 [default = -1];
+
+  // Prediction horizon (in second) of Wifi usability score provided by external
+  // system app
+  optional int32 last_prediction_horizon_sec = 12 [default = -1];
 }
 
 message PasspointProfileTypeCount {
@@ -1811,6 +1819,10 @@
 
   // The total number of beacons received from the last radio chip reset
   optional int64 total_beacon_rx = 22;
+
+  // Prediction horizon (in second) of Wifi usability score provided by external
+  // system app
+  optional int32 prediction_horizon_sec = 23;
 }
 
 message WifiUsabilityStats {