[passpoint] match the best scanDetail to the provider

For each scanDetail matches all home providers if possible. if no home
matches all roaming.
For each provider nominates all home candidates if possible, if no home
nominates all roaming.
Blocks all no internet, wan is down and not passpoint candidates.

Bug: 139879966
Bug: 144715355
Bug: 136939831
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Change-Id: Ic33d2d48cc643b1e688b80be173fdd071ba58c0d
8 files changed
tree: 10e01b74108060787486a07a95ebcbcb00a2763d
  1. apex/
  2. service/
  3. PREUPLOAD.cfg