Remove dependency on libnetd_client

NetworkUtils can just use the NDK to achieve the same.

Also make sure network handles can have the local nameservers flag, for
the JNI API, and create/parse them accordingly in Network.

Bug: 171540887
Test: atest CtsNetTestCases (in particular MultinetworkApiTest,
          DnsResolverTest, NetworkTest)
Change-Id: I2e7b78263f7ca0cab9458854858a7423f6bd2854
4 files changed
tree: 727b039c2b4cfb9bbd6aa08a75bd75870456e052
  1. framework/
  2. service/
  3. OWNERS
  4. TEST_MAPPING