diff options
| author | 2019-02-24 15:26:50 -0800 | |
|---|---|---|
| committer | 2019-02-25 15:09:54 -0800 | |
| commit | 21709bca30fe7b3aa8d14c217590123ed93f8551 (patch) | |
| tree | 35f70b55cd7bf191ae6c79c407b921524189ee9f | |
| parent | a04f505ece28b71f3fa8df1995a67d85033cb110 (diff) | |
wifi.proto: Add candidate nominator and experiment to ConnectionEvent
Adds fields for connection nominator and currently active network
selector experiment ID to ConnectEvent.
Bug: 112196799
Test: compiles
Change-Id: I5182d576c05ec230250038e61e3f447387c5cf12
| -rw-r--r-- | proto/src/wifi.proto | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto index 0a51c1d54814..29b03c956e82 100644 --- a/proto/src/wifi.proto +++ b/proto/src/wifi.proto @@ -654,6 +654,39 @@ message ConnectionEvent { HLF_UNWANTED = 4; } + // Entity that recommended connecting to this network. + enum ConnectionNominator { + // Unknown nominator + NOMINATOR_UNKNOWN = 0; + + // User selected network manually + NOMINATOR_MANUAL = 1; + + // Saved network + NOMINATOR_SAVED = 2; + + // Suggestion API + NOMINATOR_SUGGESTION = 3; + + // Passpoint + NOMINATOR_PASSPOINT = 4; + + // Carrier suggestion + NOMINATOR_CARRIER = 5; + + // External scorer + NOMINATOR_EXTERNAL_SCORED = 6; + + // Netrec + NOMINATOR_NETREC = 7; + + // User connected choice override + NOMINATOR_SAVED_USER_CONNECT_CHOICE = 8; + + // Open Network Available Pop-up + NOMINATOR_OPEN_NETWORK_AVAILABLE = 9; + } + // Start time of the connection. optional int64 start_time_millis = 1;// [(datapol.semantic_type) = ST_TIMESTAMP]; @@ -683,6 +716,12 @@ message ConnectionEvent { // Connection is using locally generated random MAC address. optional bool use_randomized_mac = 10 [default = false]; + + // Who chose to connect. + optional ConnectionNominator connection_nominator = 11; + + // The currently running network selector when this connection event occurred. + optional int32 network_selector_experiment_id = 12; } // Number of occurrences of a specific RSSI poll rssi value |