summaryrefslogtreecommitdiffstats
path: root/tests/wifitests/src/com/android/server/wifi/LinkProbeManagerTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Optimize Link Probing unit test to prevent timeoutDavid Su2019-05-301-8/+8
| | | | | | | | | | Pull out Mockito's verify() out of for loops to improve unit test performance and prevent timing out. Bug: 134097394 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I5fbf104579e6ba63a73b48e2625064442141ed70
* Adjust link probe manager parameters using experiment resultsDavid Su2019-05-211-46/+139
| | | | | | | | | Shorten minimum delay between link probes to 6000ms to trigger link probes more frequently using the results of the experiment. Bug: 131091030 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I11f387b16cf56dd1a6dd0520c348ea4dc58b6c83
* Link Probing: Experiments to vary trigger criteriaDavid Su2019-04-231-5/+17
| | | | | | | | | | | Run experiments by varying the delay between probes, the delay after screen on, and the delay after last Tx success. Count the number of probes that *would* be triggered by each experiment, and upload to metrics. Bug: 131091030 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Id795b8acb86c4e64672e3ca5a9147647d93a1115
* Link Probing: Read overlay flag to enable/disable featureDavid Su2019-01-291-2/+50
| | | | | | | | | Read overlay flag to enable feature on supported devices and disable feature on unsupported devices. Bug: 112029045 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: Iafc0ac873234f9d48d3fe421822a86f93470b6e7
* Link Probing: Add feature flagDavid Su2019-01-291-1/+57
| | | | | | | | | | | | Link probing is disabled by default, enable it using 'adb shell settings put global wifi_link_probing_enabled 1' Bug: 112029045 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: Manually check logs that link probing is not occurring when disabled, and link probing occurs when enabled. Change-Id: I302054801e5a2b235db3f56b9bae4155d09293c9
* Trigger link probes under poor network conditions to collect metricsDavid Su2019-01-281-0/+203
When connection stats indicate that network conditions are poor, trigger link probes in order to assess Wifi link quality. Report the results of the link probes (along with the trigger conditions) to metrics. Bug: 112029045 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: Manually recreated poor network conditions and verified that link probes were triggered. Change-Id: I5d0636d9c040e32c52e2127a4845edd902976507