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
Martijn Coenen 021d8b08c1 Modify VPN unit tests to include SDK sandbox UIDs.
VPN configurations in T should automatically include the corresponding
SDK sandbox UID of an application.

The existing tests used a UID range outside the regular application
range, which means the new sandbox UIDs wouldn't be tested. Modified the
UIDs to run in the regular UID range of [10000, 19999]. Changed the
tests to include the SDK sandbox UID where necessary.

Also, changed the entire class to only run on T+, since that is the only
place where the SDK sandbox UIDs will be added. Since VPN code is not
mainline updatable, having coverage on earlier releases doesn't really
help anyway.

Finally, fixed up testNetworkBlockedStatusAlwaysOnVpn() in
ConnectivityServiceTest to include the sandbox UIDs as well.

Bug: 225317905
Test: atest VpnTest
Test: atest ConnectivityServiceTest

Change-Id: I83009344c270e520ac8ad1558c067cf7e46b1d2e
2022-05-12 08:07:29 +00:00
bpf_progs Merge "enable btf = true for block/clatd/dscp_policy/netd bpf programs" 2022-05-06 15:32:33 +00:00
framework Merge "Do not remove profile network preference for different uids" 2022-05-09 09:40:52 +00:00
framework-t Unicast state of existing ethernet interfaces when registering new Ethernet Listener. 2022-04-28 18:59:44 +09:00
nearby Rename "service-nearby" to "service-nearby-pre-jarjar" 2022-03-10 04:32:19 +00:00
netd BpfHandler: only allow to tag INET/INET6 socket 2022-03-07 16:04:32 +08:00
service Merge "Fallback should be evaluated for each preference" 2022-05-11 21:05:18 +00:00
service-t Merge "Register service on the specified network" 2022-05-11 05:57:04 +00:00
tests Modify VPN unit tests to include SDK sandbox UIDs. 2022-05-12 08:07:29 +00:00
Tethering Ignore UDP offload test on kernel which is older than 4.14 2022-05-05 09:35:00 +00: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 add prohr to OWNERS_core_networking 2022-01-11 18:54:31 +00:00
OWNERS_core_networking_xts Add an OWNERS_core_networking_xts for CTS/GTS/... and use it. 2022-01-18 01:42:39 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING ConnectivityCoverageTests refactoring 2022-04-06 19:35:28 +09:00