Add a first NetworkAgent CTS test

This is a basic test that only tests register(), markConnected(),
unregister and onNetworkUnwanted. It provides the backbone for
the tests, a harness to test callbacks on NetworkAgent, and
demonstrates how the instrumentation in
ConnectivityService can be used to test this API.

Test: this
Bug: 139268426
Change-Id: I022c9e237fdaec27338047c171c04e5a96cf89e3
3 files changed
tree: 457a0af8d273aeea392c97b42a511bbea463e01f
  1. tests/