Replace INetworkPolicyManager to NetworkPolicyManager

Connectivity service is going to become a mainline module which
will not able to access hidden APIs. Thus, use formal API
Context#getSystemService() to get network policy service instead
of hidden API ServiceManager#getService().

Bug: 170598012
Test: atest FrameworksNetTests FrameworksNetIntegrationTests
Change-Id: I4f286264b5800b2b922f85a76ddd20d64d53000a
4 files changed
tree: 22cb6a0901ad3ce5237ce2a5e8c5baa96c2cc21d
  1. core/
  2. service/
  3. services/
  4. tests/
  5. OWNERS