WifiScanningService: Support multiple scanner impls for PNO scan

Create a new helper class to track PNO scan across multiple impls:
a) Pass the PNO scan request to all of the available impls.
b) Wait till a PNO match is reported from any of of the impls.
c) Consolidate the failure from different impls and pass it to external clients.

As long as at-least 1 of the impls PNO succeeded, failures from other
impls are ignored (since there is a possibility of a PNO match).

Bug: 140111024
Test: atest com.android.server.wifi.scanner
Change-Id: Ib670c38d5e54132f58a3b41194fb8ef99ea7d0aa
2 files changed
tree: 24a6f18a7cf045bf44c1b636c010d578a621628e
  1. service/
  2. PREUPLOAD.cfg