WifiConfigStore: Use new API's for migrating config store data
Reads the data returned by OEM to the wifi apex module directory.
For WifiApconfigStore, we read the data from the old key/value file to
the standard WifiConfigStore XML file format on migration.
Bug: 149418926
Test: atest com.android.server.wifi (Need to write some new tests).
Test: Device boots up and connects to wifi networks.
Test: Manual tests:
a) Flash Q build
b) Add saved networks + suggestions + hotspot config
c) Upgrade to RVC build with this CL.
d) Ensure all data has migrated over.
Change-Id: I51afb4e343fcdf835a7c31e0ad952a0a313e6e7c
5 files changed