Support discovering services with a NetworkRequest

A common mistake when using service discovery is to mismanage networks,
expecting to find or be able to access services on networks that may not
be available yet, or may be stale/lost.

This new API allows clients to start service discovery with just a
NetworkRequest, letting NsdManager track networks and notify when
services are found/lost for each network.

Bug: 190249673
Test: atest NsdManagerTest
Change-Id: I12e799aa48fce2d1a35f708c5617386b1cc70f21
1 file changed
tree: 2816ec7bf0a66ebb21ea22461b81d015aea5a9a1
  1. framework/
  2. framework-t/
  3. service-t/
  4. services/
  5. tests/