Add CarrierConfig exception list to disable MAC randomization

MAC randomization will be disabled for WifiNetworkSuggestions with
a valid carrierId and a SSID in the CarrierConfig list
KEY_SUGGESTION_SSID_LIST_WITH_MAC_RANDOMIZATION_DISABLED.

The reason a carrierId is required is because disabling MAC
randomization is meant to be used only on a few widely known
networks that do not supoort randomized MACs.

Bug: 171928471
Test: atest com.android.server.wifi
Change-Id: I3d452fd032d8dc3aaf0a1d6b4a56a4bda900e6f3
4 files changed