WifiScanner: Create @hide API's with executor
Add/Modify @hide versions of the following API's which accept an executor
along with the listener:
a) startSingleScan
b) startDisconnectedPnoScan
c) staryConnectedPnoScan
These new @hide API's will be used by wifi service to ensure that the
listener callbacks happen on the wifi service thread.
Note: This uses the infra support added in WifiScanner class recently
for the public registerScanListener API which accepts an executor.
Bug: 145746458
Test: Device boots up and connects to wifi networks.
Change-Id: I6feaf4614153dabe2f493dcfcbbbf2dc8cf7b71e
2 files changed