Pause PNO scans for single scan

Since PNO scans and regular scans are being scheduled by
WifiStateMachine and WifiScanner respectively. We need a
stop gap solution to pause wpa_supplicant PNO scans during
single scans.

TODO's:
Will move this logic in entirety to within Scanner once we
have WifiConnectivity manager using Scanner for all scans.

BUG: 27481309
TEST: Compiles & unit-test passes
TEST: Used PMC app to run single scan along with PNO to verify
behaviour manually.

Change-Id: I0731192dcad2dc5b697f645d588580303818f370
3 files changed
tree: 8e717f78db4785737bd360f5f2d707d7be01e7a1
  1. service/
  2. tests/