WifiScanningServiceImpl: Pass the band scanned in ScanData

Replace the existing |isAllChannelsScanned| variable with the exact band
that was scanned. Existing users of |isAllChannelsScanned| will
check for both {2g + 5g} & {2g + 5g + dfs} to ensure there is
no functionality change.

Also, add permission check for for |registerScanListener|. This should
only be available to wifi stack (holding NETWORK_STACK permission).

Bug: 119316884
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: Will send for integration tests.
Change-Id: I797aa099ea5f756aef037cc4232f28d95540f95b
15 files changed