Improve testing for network blocking.

This simplifies the uidNetworkingBlocked method and makes it more
realistic by supporting more combinations of rules than just the
four used by this test.

Also support RULE_ALLOW_METERED, and add test coverage for it.

Test: test-only change
Change-Id: Id4f6c7f41429f3ae7841d3214b3e5e95ec591f85
1 file changed
tree: d2b1e397293149e8a31d96af6ff3005c9b8c27e2
  1. core/
  2. framework/
  3. service/
  4. services/
  5. tests/
  6. OWNERS