WifiApConfigStore: Switch to new config store mechanism

Use the WifiConfigStore for storing SoftAP configuration.

Also,
a) performs a one time migration from the old config store to the
new store.
b) Instead of creating the default config in the constructor,
create it on first invocation to WifiApConfigStore.getApConfiguration().

Bug: 144487256
Test: Manual verification steps:
a) Migration of softap.conf to WifiConfigStoreSoftap.xml
b) Reboot the device and verify that softap configuration is restored
from the new file.
Test: atest com.android.server.wifi
Change-Id: I5c05a897230e10d585d7a221db39395ebd0dd89b
5 files changed
tree: 51a99a42a168fdcbd5ef034c8bb33ae20c3a781f
  1. service/
  2. PREUPLOAD.cfg