Merge "Add Settings.Global.WIFI_SCORE_PARAMS" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dddd69ef3e
@@ -9650,6 +9650,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.
|
||||
|
||||
@@ -450,6 +450,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,
|
||||
|
||||
Reference in New Issue
Block a user