WifiBackupDataParser: Copy over IpConfigStore class

IpConfigStore class is used to deserialize old wifi backup format (Pre
N). IpConfigstore in it's current form inside framework/base/services/core
has a lot of @hide dependencies & is part of services.net jar.
Copy over the IpConfigStore class to wifi &
remove all the unnecessary parts (i.e code used for writing is never
needed for wifi) and convert all @hide API's for
StaticIpConfiguration, etc to the public equivalent ones introduced in
R.

Note: This is a pretty safe copy because we don't need to incorporate
any further changes that may introduced to the original copy of
IpConfigStore since we need to restore data from a fixed old release.

Also, fix couple of minor @hide API dependencies in NetdWrapper.

Bug: 145533326
Test: Compiles & ensured that no new @hide dependencies are introduced.
Change-Id: I5322de1872a97295822f4f189d311e5e5f717c69
3 files changed
tree: c696d9f461846d53d5b8c331346ae83700668401
  1. apex/
  2. service/
  3. PREUPLOAD.cfg