Remove dependency on hidden NetworkCapabilities APIs

The testing code is now being moved to a separate repository and is
cleaner to not depend on hidden internals of the Connectivity APIs.

Test: atest CtsHostsideNetworkPolicyTests

Bug: 322115994
Change-Id: I1cf0c05a8b0199844a5a1c1eedaafb919ad08659
2 files changed