commit | 57826ec3eeb4e96ac5be0054dd9fa96190fcbc23 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Feb 01 22:26:22 2021 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Feb 02 16:17:22 2021 +0900 |
tree | d2b1e397293149e8a31d96af6ff3005c9b8c27e2 | |
parent | f3163aafec2987ca86c67a893bd2a898ac463a2a [diff] |
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