Wifi: enhance pre-scan check and simplify network selection sufficiency check.

1) Skip single scan scheduled by periodic scan alarm if current RSSI ssufficient
2) Simplify pre-network-selection sufficiency check. Skip selection only if
 +) Current network has internet access, active traffic and sufficient RSSI.
 +) or current network is in OSU process.
3) Move to rely on network selection scorer to stick with user selected network.

Bug: 141714375
Test: unit test with atest com.android.server.wifi
Test: manual test with phone.
Change-Id: Id232b59a546271d7f0798bc6a85ca6ccd65621e9
8 files changed
tree: ac14360e7488ae64328703e97348b2d492aadee8
  1. apex/
  2. service/
  3. PREUPLOAD.cfg