wifi: Merge oem paid & oem private network factories
Keeping 2 separate factories for catching these requests is not really
useful. Also, If a request has both oem paid & oem private net
capabilities set, then the request is not being sent to either factories
(since neither can serve that request).
Merge the 2 factories & handle requests appropriately.
Also, fixed some logs in NetworkSuggestionNominator.
Bug: 182512201
Test: atest com.android.server.wifi
Test: atest android.net.wifi.cts (added a test which sets both net caps)
Change-Id: I63573b24fd47420abf627365ac9012cc1f445d2f
12 files changed