WifiManagerTest: Add scan tests with wifi off

2 Tests added in the CL:
1) test_scan_with_wifi_off_and_location_scan_on: Wifi off, location scan
on. The scan request should succeeed.
2) test_scan_with_wifi_off_and_location_scan_off: Wifi off, location scan
off. The scan request should fail.

Bug: 71583104
Test: Ran `act.py -c wifi_manager.config -tb dut-name -tc
WifiManagerTest:test_scan_with_wifi_off_and_location_scan_on
WifiManagerTest:test_scan_with_wifi_off_and_location_scan_off`

Ensured from the logs that the scan was done in scan only mode:
...
01-04 10:07:02.272 V sl4a.JsonRpcServer:85: Session 1 Received:
{"params": [], "method": "wifiStartScan", "id": 22}
01-04 10:07:02.274   WifiStateMachine: processed=ScanModeState
org=ScanModeState dest=<null> what=131143(0x20047) screenOn
handle_status=1 CMD_START_SCAN rt=72798651/72798651 1000 14 ic=0
...
01-04 10:07:02.277 V WifiHAL : event received NL80211_CMD_TRIGGER_SCAN
...
01-04 10:07:02.277 D wpa_supplicant: wlan0: External program started a
scan
Change-Id: I844903ec67b38dbffc52412a61d6fb7664260d55
(cherry picked from commit 23af36131c66a50d027aa0cc15f98ba1514519f2)
1 file changed
tree: e93d3c2c6c38ee4d781679a1e5a2677e1c6dbd8a
  1. acts/
  2. tools/
  3. Android.mk
  4. PREUPLOAD.cfg