History log of /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6f6fe75572350217e717d4f5465f3ad5918db436 22-Mar-2018 Salvador Martinez <dehboxturtle@google.com> Update wifi header summary text to show metered state

When we detect a network as metered or the user manually overrides
the metered state for a network we should show this in the summary
text for the network. This CL makes it so that this state overrides
the network speed when needed.

Test: robotests
Bug: 68030417
Change-Id: Ia1f3f0a537b6ff711a430466b83664d8f1cad0b6
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiUtils.java
97c85365abe2929f95b16b4fcb26db45cd400647 20-Mar-2018 Salvador Martinez <dehboxturtle@google.com> Update logging util to not crash on null

The logging for the wifi access points could cause a crash if
a bad scan result is passed in for any reason. This CL updates
it to be resilient to that by doing a best effort logging of
the scan results.

Bug: 74507895
Test: robotests
Change-Id: I4eaf948d7279374b1f4d009ef6f4fd0119f22ab7
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiUtils.java
04f7f34a713062ec3fd54a4c19481e9f76819899 24-Jan-2018 Sundeep Ghuman <sghuman@google.com> Remove double cache eviction logic.

WifiTracker and AccessPoint both maintain their own caches of
ScanResults and dictate their own grouping logic. This leads to various
issues, such as dropping APs during network selection. Remove the double
cache eviction logic, making WifiTracker the source of truth for
evicting and grouping ScanResults.

Consolidate on AccessPoint time based eviction logic. In place swap of
logic, with subsequent wifi tracker clean up and cache rekeying to
follow in later CLs. Logic was left as close to original location for
reviewer ease and will be rearranged in following CLs.

Moves existing key generation logic from AccessPointPreference into
AccessPoint.java

BUG: 64989100
Test: runtest runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java
runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
make RunSettingsLibRoboTests
make RunSettingsRoboTests
Manual inspection of WifiSettings jitter when changing networks / moving
across floors.

Change-Id: Id30a34b08e14fc8da2c9d29dfcb5d1e8973cc18c
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiUtils.java
9ee9b39eb4582f0e53b4f40738949c20e28630d4 22-Dec-2017 jackqdyulei <jackqdyulei@google.com> Move debug log summary to WifiUtils

This cl is the first step to clean up the AccessPoint.

Bug: 70983952
Test: RunSettingsLibRoboTests
Change-Id: I23b5b4bee6f4533ea7e59ede3dc9c66af80bf0b6
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiUtils.java