summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2018-11-14 17:53:19 -0800
committerBenedict Wong <benedictwong@google.com>2019-03-06 15:37:52 -0800
commit6c24213d2e430eaf7d541814484510128800d90f (patch)
treef0901d4847a7c30abd2c1971d3f900a989069ead /tools/aapt2/java/JavaClassGenerator.cpp
parente40eab608af245357705852cdad52b6d615ff518 (diff)
Implement TestNetworkService
This change adds the relevant JNI implementations, as well as the implementations and NetworkAgent tracking code in the TestNetworkService. TestNetworkService (And Manager) is designed for use exclusively in testing code, allowing for the creation of TUN and IPsec backed networks in test code. Specifically, this allows for testing of components such as IP, DHCP, or DNS clients, as well as kernel features such as IPsec. Access to the TestNetworkService will be conditioned upon the MANAGE_TEST_NETWORKS permission that will be granted only to the Shell. CTS will use UiAutomation.adoptShellPermissionIdentity() to gain the ability to use this service. Bug: 72950854 Test: CTS tests passing Change-Id: Ie66ba631a548b5f9c6b5ed0797582f86688debe5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions