No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 43d33ee760 Update FrameworksNetTestsLib dependencies on VPN
In change ID: Ia2279bd1023296e3c949fa05bd74e921bf17da79,
ConnectivityServiceTest dependencies on VpnManagerService were removed,
adding a more limited dependency on LockdownVpnTracker instead. This
updates the "keep" rules for services.core-vpn to reflect that.

services.core-vpn is a subset of services.core that only includes the
classes in the "keep" rules, and their dependencies. This is because
ConnectivityServiceTests still depends on internal VPN classes, but
other usage of hidden API should not be added to the tests.

Using VpnManagerService causes problems for calculating coverage, as it
has indirect dependencies on many classes that end up included in the
test and show as uncovered in the dashboards including
NetworkPolicyManagerService.

The dependency on NPMS was found by looking at coverage reports and
unzipping services.core-vpn.jar. The fact that it is included due to
indirect dependencies from VpnManagerService was discovered by running a
dependency analysis tool (https://depfind.sourceforge.io/) on
services.core-vpn.jar in the out/ directory, with:

$ bin/DependencyExtractor services.core-vpn.jar > /tmp/graph.xml
$ bin/c2c /tmp/graph.xml -show-inbounds > /tmp/inbounds.txt

And running a script on the /tmp/inbounds.txt graph to find the path
from VpnManagerService to NPMS.

Bug: 259632671
Test: m
Change-Id: Idc6c9e6e998dbf968fd97582f904cb7aed56b5b5
2023-05-17 11:52:38 +09:00
bpf_progs remove inprocess tethering 2023-04-28 20:11:14 +00:00
common Fix errorprone warnings that should be errors 2022-11-02 10:13:14 -07:00
Cronet cronet: delete option to disable cronet in tm-mainline-prod 2023-05-12 10:15:01 -07:00
framework cronet: Move cronet defaults to framework/Android.bp 2023-05-12 10:15:01 -07:00
framework-t Remove the ServiceTypeClient after socket destroyed 2023-05-11 15:17:21 +08:00
nearby Merge "Update the instructions for configuring Fast Pair provider simulator." 2023-04-25 09:05:35 +00:00
netd get rid of needless use of NONEXISTENT_COOKIE which is simply 0 2023-04-19 11:53:38 +00:00
service Merge changes from topic "firewall_socket_destroy" 2023-05-12 09:18:40 +00:00
service-t Try to fix and diagnose Perfetto flush errors. 2023-05-12 18:12:00 -07:00
tests Update FrameworksNetTestsLib dependencies on VPN 2023-05-17 11:52:38 +09:00
Tethering Merge changes from topic "delete-cronet-disabled-support" 2023-05-12 22:37:29 +00:00
tools gn2bp: delete obsolete version in p/m/C 2023-03-29 16:23:45 -07:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +00:00
OWNERS_core_networking_xts Allow jchalard@, maze@ and reminv@ to approve fixes for flaky tests. 2022-10-06 09:06:20 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING [Cronet] Filter out large tests from presubmit 2023-04-03 18:10:01 +00:00