Support initTestNetwork with LinkProperties

This is the follow CL to fix the comment from
https://android-review.googlesource.com/c/platform/frameworks/libs/net/+/1810276/3/common/testutils/devicetests/com/android/testutils/TestNetworkTracker.kt#45

TestNetworkService only default configure interface name, link addresses,
and routing. To support specify some configuration (e.g. dns server) which
TestNetworkService doesn't default configuration, extend iniTestNetwork
pass LinkProperties.

Bug: 183166581
Test: atest EthernetTetheringTest
      atest ConnectivityManagerTest
      atest TetheringModuleTest
      atest CaptivePortalLoginActivityTest
Change-Id: I560d95516159fa05007057614ac47591fbb3a08c
1 file changed
tree: 94659119a1ffa7c04daeb7924baef947f68253f8
  1. staticlibs/