79545bef4e8d6c1d891f7396665b5c457bc31617 |
|
09-Mar-2018 |
Michael Plass <mplass@google.com> |
[wifi_score_params] plumb to the various scorers Also hook up horizon in VelocityBasedConnectedScore. Bug: 65216267 Test: Unit tests Test: Install on phone, then adb logcat -d | grep WifiScoringParams Test: For various foo, adb shell settings put global wifi_score_params foo Test: adb shell settings delete global wifi_score_params Change-Id: I333918c3951c9431dadd29de44058a869bdc60d4
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
7f2a1e30dd5d14320ffc7b185ac25fdb79fe52b0 |
|
23-Jan-2018 |
Etan Cohen <etancohen@google.com> |
Update SmallTest library android.test.suitebuilder.annotation.SmallTest is deprecated and replaced by android.support.test.filters.SmallTest. Update all test files. No other change (except import order cleaning up to pass preload format check). Bug: 72324160 Test: all unit tests pass Change-Id: Icc4abe3b3b37926d583c0d4ae510a7d7c74c1a03
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
32a2c670100b84fb049f55ad5a8a300c60a48aa5 |
|
31-May-2017 |
Randy Pan <zpan@google.com> |
SavedNetworkEvaluator: ignore ephemeral networks Ephemeral networks should be evaluted by ScoredNetworkEvaluator. Otherwise, an ephemeral network might be chosen over a saved network. Plus, the SaveNetworkEvaluator's scoring algorithm is different from the ScoredNetworkEvalutor, so the result coming out from these two evalutors can be very different. Bug: 62197617 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I3237b4ca50dd6964dd8678011e6a9940c0ca1d0b
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
2cf3661d146e2bdd0d761028e91df775c8eabca3 |
|
14-Apr-2017 |
Amin Shaikh <ashaikh@google.com> |
Remove CURATE_SAVED_OPEN_NETWORKS - Update SavedNetworkEvaluator to no longer reference this setting. - Update SavedNetworkEvaluatorTest#setCandidateScanResultsForAllSavedNetworks to ensure that candidate ScanResults are added to saved secure networks in addition to useExternalScores saved networks and open networks Bug: 37356724 Test: ./tests/wifitests/runtests.sh Change-Id: I87794f339a9910fb343d1994910320efe0feafa2
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
13fb8e99c1a793c42e102e4f16f63de02f6eeed3 |
|
29-Mar-2017 |
Randy Pan <zpan@google.com> |
Clean up saved network score calculation 1) Apply band specific RSSI saturation threshold. 2) Remove the no internet penalty since the network should have been blacklisted because of DISABLED_NO_INTERNET. 3) Clean up a couple of line indents. Bug: 36223866 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I9e5a9dda5ba38248ae0d6ed3ac64c46d655c4280
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
c22ad7f19888f7967edcf30080543bb632ddd68d |
|
03-Mar-2017 |
Randy Pan <zpan@google.com> |
Same BSSID award When firmware roaming is supported, apply the same BSSID award to all of the BSSIDs under the same network as the currently connected BSSID. This is under the assumption that firmware will roam to that better BSSID. This might save a disconnection triggered by network switch when the score of the currently connected BSSID is lower than a network with a different SSID, but within the currently connected network there is a BSSID better than the currently connected BSSID. Bug: 35642269 Test: runtest.sh Change-Id: Ie09170d0cb11565f72e3b45b702d39c88ababba9
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
17c2a7b30e5680b11fc0073ce322ee7bc14ef2c5 |
|
03-Feb-2017 |
Randy Pan <zpan@google.com> |
Local log buffer shared by connectivity modules Move the creation of the local log buffer for connectivity modules to WifiInjector. Then pass it over to all the connectivity modules. Dump the log buffer via WifiConnectivityManager. While there, removed the null check in localLog() for all the connectivity modules. Bug: 35642622 Test: runtest.sh and manual test Change-Id: I31866c6fecdd9f50061f47e34e16c701ff230a6c
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
235642dba4359c1e68618f27c949e744765cbbcc |
|
07-Feb-2017 |
Amin Shaikh <ashaikh@google.com> |
Move adjustCandidateWithUserSelection to WifiNetworkSelector WifiNetworkSelector#setUserConnectChoice contains all of the logic for favoring a user selected network over other visible networks present at the last round on network selection. However, the logic for using this data is contained in SavedNetworkEvaluator#adjustCandidateWithUserSelection. This has the side effect that RecommendedNetworkEvaluator or any new NetworkEvaluator in the future can override the user's explicit intent to choose a specific network. This change moves adjustCandidateWithUserSelection to WifiNetworkSelector, fixing this bug and bringing all user connect choice logic into the same class, WifiNetworkSelector. Set a candidate ScanResult for every WifiConfiguration in SavedNetworkEvaluator, regardless of whether it is externally scored. This ensures that the user connect choice is respected if an externally scored network is selected by a user over a secure saved network. Bug: 34971941 Test: ./runtests.sh Change-Id: I8730aee89dbee0ebb97161a56f00c026139ef5c9
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
2a70519406937402c761a6ce418c15e3b5598688 |
|
04-Mar-2017 |
Rebecca Silberstein <silberst@google.com> |
FrameworkFacade: add helper to ease testing WifiController, RecommendedNetworkEvaluator and SavedNetworkEvaluator all use ContentObservers in their implementations. The tests for these classes started failing when a change was made to include the Context object when registering ContentObservers. This changed caused the tests for these methods to fail due to a mix of mocks and actual objects. This CL adds a helper to FrameworkFacade that allow the tests to pass, and even better, updates them to use ArgumentCaptors to get a handle on the ContentObservers. This will allow the tests to be enhanced and easily call the observers to test functionality for changes related to the observers. Bug: 35908602 Test: frameworks/base/wifi/tests/runtests.sh Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I2e4a39febf575c1335cec57b9e21e28cb3e0fffd
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
e4b4b229331da3964671606f18557b2e7f681b45 |
|
20-Jan-2017 |
Amin Shaikh <ashaikh@google.com> |
Skip open networks in SavedNetworkEvaluator. - Only if CURATE_SAVED_OPEN_NETWORKS is enabled. Bug: 34392914 Test: ./runtests.sh Change-Id: I47b5848e21e0851d4e5e3a1b1f49aa8e8c876fcc Merged-In: I47b5848e21e0851d4e5e3a1b1f49aa8e8c876fcc
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
d0258ee4816148ff4ab9ac6b854fc5c51ea53be3 |
|
05-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Implement RecommendedNetworkEvaluator. - Gate usage on NETWORK_RECOMMENDATIONS_ENABLED flag - Delegate WifiConfiguration selection to NetworkScoreManager - Added RecommendedNetworkEvaluatorTest Test: runtest frameworks-wifi Bug: 33158114 Change-Id: I10b870df891269fd474daa2db53d43ac5050af2c
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
55d639b26a6d44b73befdd76e52c3b1a87825b88 |
|
19-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for ExternalScoreEvaluator While there, add a few null checks. Updated SavedNetowrkEvaluatorTest accordingly. Bug: 31273721 Test: Unit tests passed. Change-Id: I32b0a92239968c0fdfd9f81934b3da33f85721f5
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|
e48f426a5a30319f215e3285687049bcc898812e |
|
16-Sep-2016 |
Randy Pan <zpan@google.com> |
Unit tests for SavedNetworkEvaluator Bug: 31273721 Test: unit tests passed. Change-Id: I69411213c1b96b8a4b35927ab582902ebad50b1b
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/SavedNetworkEvaluatorTest.java
|