diff options
| author | Michael Plass <mplass@google.com> | 2018-02-28 16:08:47 -0800 |
|---|---|---|
| committer | Michael Plass <mplass@google.com> | 2018-03-20 16:20:14 -0700 |
| commit | f1510fbe7a87bce9100a520240282d8565906fba (patch) | |
| tree | 9f92235c640bc993d9456b7d673e0c3fcc31c1d5 /core/java | |
| parent | 83ad4e53b63810b5a57ede50b24ac2a622ab2957 (diff) | |
Add Settings.Global.WIFI_SCORE_PARAMS
For experimentally varying parameters of the framework's various wifi
scoring methods.
Bug: 65216267
Test: atest SettingsBackupTest
Change-Id: I6b1476aff8c18e4dd2b5ae8d41b5a48d2b4de283
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/provider/Settings.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 79b6ea6e5a7c..ce09a8285aef 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -9618,6 +9618,21 @@ public final class Settings { public static final String WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED = "wifi_connected_mac_randomization_enabled"; + /** + * Parameters to adjust the performance of framework wifi scoring methods. + * <p> + * Encoded as a comma-separated key=value list, for example: + * "rssi5=-80:-77:-70:-57,rssi2=-83:-80:-73:-60,horizon=15" + * This is intended for experimenting with new parameter values, + * and is normally unset or empty. The example does not include all + * parameters that may be honored. + * Default values are provided by code or device configurations. + * Errors in the parameters will cause the entire setting to be ignored. + * @hide + */ + public static final String WIFI_SCORE_PARAMS = + "wifi_score_params"; + /** * The maximum number of times we will retry a connection to an access * point for which we have failed in acquiring an IP address from DHCP. |
