History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ab2b1ad5b0c902c3e8b3c9afd786e3b79e30c95 21-Apr-2016 Jeremy Joslin <jjoslin@google.com> Set WifiNetworkScoreCache DBG to false.

Also made the constants final.

BUG:28317300
Change-Id: I32ad6d1e4dbd3f5cc1cdbde8803b66e48b9928c6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
8d629bd8bbbb2a0c055dbb2f93c556192771e921 05-Apr-2016 Jeremy Joslin <jjoslin@google.com> Print the meteredHint in the dump.

BUG: 27702356
Change-Id: I473236869a665945afb3625786c162fd09a0e8f9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
3ab8ec5cfa986b07e1c948af0f45bd333edef24c 21-Mar-2016 Jeremy Joslin <jjoslin@google.com> Allow ephemeral WiFi conns to be marked as metered

Pass through the metered hint from the score cache to the
WifiStateMachine when making an ephemeral connection. The
NetworkPolicyManagerService already looks for the hint after
every NETWORK_STATE_CHANGED_ACTION and takes the correct action.

BUG: 27120794
Change-Id: I3d4a5030724e8e0fb1084c67d74fb768bd9ad2b5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
086e68a257abf43dc999433b4de00cd896c06d3a 23-Jun-2015 Jeremy Joslin <jjoslin@google.com> Protect from NPEs.

Protect against possible NPEs in both buildNetworkKey() methods.

BUG:21957885
Change-Id: I6e1ab7ec0d67432470addc29aab3c68cbe005920
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
16fdf07021858fd116d96a5fb00ddb3c166d5ae6 05-Dec-2014 Jeff Davidson <jpd@google.com> Stabilize ephemeral connections in the face of new BSSIDs.

Currently we only check whether the most recently seen BSSID has a
score before deciding to disconnect an ephemeral network. This causes
unnecessary flapping - if multiple BSSIDs are in visible range, and
the scorer likes one of them but has no score for the other (or is
still looking up the score), we will drop the connection.

Instead, as long as we've recently seen a scored BSSID (in the last
minute), we keep the connection alive.

A scorer can still initiate an immediate disconnect from an unwanted
network by nulling scores for all BSSIDs.

The timeout (and whether we use this new behavior at all) is
controlled by a Settings.Global flag.

Bug: 18637384
Change-Id: I6bde3c9eef12caf2cc51c449abffc1c69f60c17f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
81c9ea6c343bc7f8d87095237e59844a974d0b70 06-Nov-2014 Jeff Davidson <jpd@google.com> Make use of scorer-specified heuristics in RssiCurve.

Treat Byte#MIN_VALUE equivalently to a null score curve. This allows a
scorer to define an RSSI threshold below which a network should not be
used. Currently, any non-null score curve will result in us connecting
to a given network regardless of RSSI.

Also, instead of applying a hard-coded dBm boost to the currently
active network, make use of the boost specified in the RSSI curve
itself, allowing the scorer to fine-tune this boost.

Bug: 15432594
Change-Id: I7a8f5f68ef074827d4b1cfbbed0841448498f179
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
1db63db890fcb9051f402fdfd449eb0b80e2053c 30-Jul-2014 vandwalle <vandwalle@google.com> fix getNetworkScore

Change-Id: I60bc5c458938f662b2550e48839cb455764dc037
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
2451dbcc4f9641df188326215b204b798eb70c46 23-Jul-2014 vandwalle <vandwalle@google.com> autojoin fixes:

- make use of network scorer for autojoin
- Bug:16484607

Change-Id: If658d82bb6e3f61ed0476d41b40bb274a1931b2f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
f6c6d3ccda924ad5f11883bc346b4eb4ada1bc06 24-May-2014 Jeff Davidson <jpd@google.com> Use a consistent network key format in wifi score cache.

This doesn't handle SSID which can't be encoded as UTF-8, but will
work for most SSIDs.

Bug: 15188549
Change-Id: If12e83c4d43ed1b5d686ec1dfb9c1980bb0d4697
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
0c8b99a3b78e458a5617cc449e2efe69c5bdd531 16-May-2014 vandwalle <vandwalle@google.com> fix for autojoin controller not requesting steen scores

Change-Id: I2546241c8b1eefe963f840c4a98a3f817694039c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
f13817203179f41620514718c8668ae7e418f8af 10-May-2014 Jeff Davidson <jpd@google.com> Add a basic dump() function to WifiNetworkScoreCache.

Will get the current cached set of scan results and dump the current
score for each one depending on the RSSI.

Change-Id: Ic524906aef2bdfe2fa9f9a9e5364c80d028ddfdb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java
f22d23092ab37286a5ef9d257d5bb32c421d2669 06-May-2014 vandwalle <vandwalle@google.com> autojoin initial implementation

Change-Id: Iea4e5c0b8e988e410d2f9885ecaf6317d34cc1d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiNetworkScoreCache.java