Merge "Add Settings.Global.WIFI_SCORE_PARAMS" into pi-dev

am: dddd69ef3e

Change-Id: I981b1d4fe36044e47b12051bf0dfd499eea2a155
This commit is contained in:
Michael Plass
2018-03-22 15:17:30 +00:00
committed by android-build-merger
2 changed files with 16 additions and 0 deletions

View File

@@ -9658,6 +9658,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.

View File

@@ -451,6 +451,7 @@ public class SettingsBackupTest {
Settings.Global.WIFI_SAVED_STATE,
Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE,
Settings.Global.WIFI_SCAN_INTERVAL_WHEN_P2P_CONNECTED_MS,
Settings.Global.WIFI_SCORE_PARAMS,
Settings.Global.WIFI_SLEEP_POLICY,
Settings.Global.WIFI_SUPPLICANT_SCAN_INTERVAL_MS,
Settings.Global.WIFI_SUSPEND_OPTIMIZATIONS_ENABLED,