android_packages_modules_Co.../tests
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
..
common Merge "Remove NetworkIdentitySet usage in CTS" 2022-05-09 04:13:27 +00:00
cts Merge "Register service on the specified network" 2022-05-11 05:57:04 +00:00
deflake Enable/disable FrameworksNetTests 2021-10-01 19:29:50 +08:00
integration Add tests for VPN validation in NetworkMonitor 2022-03-23 11:19:44 +00:00
mts improve mts bpf_existence_test to cover netd/clatd maps and programs in new location 2022-04-23 09:20:29 -07:00
native Merge "ConnectivityNativeBinderTest: Check Kernel Version" 2022-04-21 00:00:14 +00:00
smoketest Update tests for NetworkStats code move. 2022-02-28 04:17:13 +00:00
unit Modify VPN unit tests to include SDK sandbox UIDs. 2022-05-12 08:07:29 +00:00