WifiServiceImpl: Additional permission checks for startScan

Only allow apps to scan if they have the necessary permissions to
retrieve scan results.

Bug: 78649632
Test: Unit tests
Test: Scans from settings still works.
Change-Id: I865967d6e411f0bed19b5ec592ada5a4c230f853
2 files changed