From 53a7e8c844584938fa390049abb969f1f93fc099 Mon Sep 17 00:00:00 2001 From: Sundeep Ghuman Date: Mon, 13 Feb 2017 13:13:07 -0800 Subject: [PATCH] Create TRON events for Wifi Network Recommendations. We will log which evaluator was used to provide the event, and whether or not the recommendation resulted in a successful connection. Bug: 34384405 Test: NA Change-Id: I091c4d7f81c5c612248374817cb5c107b6aa20e2 --- proto/src/metrics_constants.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto index 36dee49905c4c..8d2f0c3145bf2 100644 --- a/proto/src/metrics_constants.proto +++ b/proto/src/metrics_constants.proto @@ -3416,6 +3416,19 @@ message MetricsEvent { // ACTION: Settings advanced button is expanded ACTION_SETTINGS_ADVANCED_BUTTON_EXPAND = 834; + // ACTION: Logs the number of times the saved network evaluator was used to + // recommend a wifi network + WIFI_NETWORK_RECOMMENDATION_SAVED_NETWORK_EVALUATOR = 835; + + // ACTION: Logs the number of times the recommended network evaluator was + // used to recommend a wifi network + WIFI_NETWORK_RECOMMENDATION_RECOMMENDED_NETWORK_EVALUATOR = 836; + + // ACTION: Logs the number of times a recommended network was resulted in a + // successful connection + // VALUE: true if the connection was successful, false if the connection failed + WIFI_NETWORK_RECOMMENDATION_CONNECTION_SUCCESS = 837; + // ---- End O Constants, all O constants go above this line ---- // Add new aosp constants above this line.