Enforce that NetworkAgentInfo fields are never null.

These fields have been recently audited, confirmed never to be
null, and annotated @NonNull. Ensure that they can never become
null by throwing exceptions in the codepaths that set them.
Also remove some null checks.

Test: atest FrameworksNetTests
Change-Id: I6ce5bb4d69a990f1c857c599b7e50e372352eb87
5 files changed
tree: 78cd83b60060081354e62749acd6a386029de66f
  1. core/
  2. service/
  3. services/
  4. tests/
  5. OWNERS