[CTS][WIFI] Replace deprecated calls to WifiManager#setWifiEnabled() with shell command
The WifiManager#setWifiEnabled() is deprecated and no longer functions
for non-Settings apps.
Replace that call with the equivalent shell command which can be spawned
from the CTS test.
Bug: 121284726
Test: atest android.net.cts.ConnectivityManagerTest
Test: atest SingleDeviceTest
Test: atest WifiRttTest
Test: atest ConcurrencyTest
Test: atest ScanResultTest
Test: atest WifiInfoTest
Test: atest WifiEnterpriseConfigTest
Change-Id: Ib9b5e05e51f9369a045e13f02cd78c979ba807b3
7 files changed
tree: 65633392df272dd619571d741fbed0880077e182
- tests/