ac059de6ada8a24bc38c8441c882636f641f6f44
CtsNetUtils.toggleWifi() expects to receive a CONNECTIVITY_ACTION broadcast after disconnecting from wifi if wifi is enabled. The wifi may be connected but not validated since wifi just turns back to connected from the previous test. In this case, the system default netwok will not be wifi, so there is no CONNECTIVITY_ACTION broadcast after disconnecting wifi. It should ensure the wifi is system default network first before proceeding with other verifications. Bug: 192213759 Test: atest CtsNetTestCases --iterations 20 Change-Id: I82f0634883362e35b88854aae28e61b75a3cd7cc
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%