commit | f3963fa27948ab7179631586f3e3b9b6b86fa4ef | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Thu Nov 26 18:05:13 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Nov 27 15:35:38 2020 +0900 |
tree | 7c6060533d3c2036f7a41be7623f36cd8b2cc6e9 | |
parent | 129c01eabf1dd4e95473ec10a79f55e949f8ec77 [diff] |
Allow tests to create TRANSPORT_TEST|TRANSPORT_VPN networks. This CL allows an app that has the MANAGE_TEST_NETWORKS permission to create test VPN networks. The code enforces that such networks can never apply to any UIDs and thus will never carry any traffic. Bug: 173331190 Test: passes existing tests, moved tests pass Change-Id: I5befea0e3b4b6dce4ca0c6a04471a055186b644c