Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dddd69ef authored by Michael Plass's avatar Michael Plass Committed by Android (Google) Code Review
Browse files

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

parents 3e4df186 f1510fbe
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -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.
+1 −0
Original line number Diff line number Diff line
@@ -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,