WifiConfigManagerNew: Implement add/update & remove
Implement the network addition/updation & remove methods.
This doesn't yet include passpoint/ephemeral network handling and other
stuff like sending broadcasts, etc.
For network additions, we need to:
1. Set defaults for the network.
2. Merge parameters set in the provided configuration.
For network updates, we need to:
1. Ensure that the UID has the necessary permission for updates.
2. Merge parameters set in the provided configuration.
BUG: 29606878
Change-Id: I14eac8d34ff8004ae0edd06063423e0bf29e979a
TEST: Unit tests.
5 files changed