diff options
author | Arc Wang <arcwang@google.com> | 2019-04-15 18:16:58 +0800 |
---|---|---|
committer | Arc Wang <arcwang@google.com> | 2019-04-23 11:26:45 +0800 |
commit | 036f404d88bf857cd18eff3c1acf40f8ae7a0b64 (patch) | |
tree | f4d68870b270e0f347de8c528365a98d1f460257 | |
parent | 606f1c9ffb1c74dd5648455feef64e6daae72cac (diff) |
Add action metrics for Wi-Fi provision features
// ACTION: Share a Wi-Fi network by generating a QR code
ACTION_SETTINGS_SHARE_WIFI_QR_CODE
// ACTION: Connect to a Wi-Fi network by scanning a QR code
ACTION_SETTINGS_ENROLL_WIFI_QR_CODE
// ACTION: Share Wi-Fi hotspot by generating a QR code
ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE
Bug: 130521826
Test: manual
Change-Id: I99e55b53c49830347e48f688aa38afc3912e71b1
-rw-r--r-- | core/proto/android/app/settings_enums.proto | 9 | ||||
-rw-r--r-- | proto/src/metrics_constants/metrics_constants.proto | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/core/proto/android/app/settings_enums.proto b/core/proto/android/app/settings_enums.proto index c828cac4ed78..1ff7418a3ef8 100644 --- a/core/proto/android/app/settings_enums.proto +++ b/core/proto/android/app/settings_enums.proto @@ -665,6 +665,15 @@ enum Action { //ACTION: Log result for each card's eligibility check ACTION_CONTEXTUAL_CARD_ELIGIBILITY = 1686; + + // ACTION: Share a Wi-Fi network by generating a QR code + ACTION_SETTINGS_SHARE_WIFI_QR_CODE = 1710; + + // ACTION: Connect to a Wi-Fi network by scanning a QR code + ACTION_SETTINGS_ENROLL_WIFI_QR_CODE = 1711; + + // ACTION: Share Wi-Fi hotspot by generating a QR code + ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE = 1712; } /** diff --git a/proto/src/metrics_constants/metrics_constants.proto b/proto/src/metrics_constants/metrics_constants.proto index bf76fdbfda46..21c6035da038 100644 --- a/proto/src/metrics_constants/metrics_constants.proto +++ b/proto/src/metrics_constants/metrics_constants.proto @@ -7197,6 +7197,15 @@ message MetricsEvent { // OS: Q DIALOG_PREFERRED_SIM_PICKER = 1709; + // ACTION: Share a Wi-Fi network by generating a QR code + ACTION_SETTINGS_SHARE_WIFI_QR_CODE = 1710; + + // ACTION: Connect to a Wi-Fi network by scanning a QR code + ACTION_SETTINGS_ENROLL_WIFI_QR_CODE = 1711; + + // ACTION: Share Wi-Fi hotspot by generating a QR code + ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE = 1712; + // ---- End Q Constants, all Q constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS |