android_packages_modules_Co.../tests/unit/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN ed8efa75b4 Fix jarjar-related failures in coverage tests
Instead of jarjaring the whole com.android.internal.util package, apply
the jarjar rules per-class. Jarjaring the whole package causes problems
in tests, as for example ConnectivityServiceTest depends on Vpn that
uses other internal utils as hidden API, and these should not be
jarjared.

Also avoid jarjaring INetdUnsolicitedEventListener which is used by
NetdEventListenerServiceTest, and ensure KeepalivePacketDataUtilTest
expects the right package name in toString.

Generally the problems appear because ConnectivityCoverageTests also
includes tests for classes that are not part of the connectivity module,
and use hidden APIs that refer to classes that should not be jarjared.
Some of the tests could be excluded from the coverage suite instead, but
keeping them is helpful for future modularization efforts.

Test: Build service-connectivity, dexdump classes and verify jarjared
      atest ConnectivityCoverageTests
Change-Id: Id6b7e6833d49fa03d9442d7c1c3e4dc16fb48dfc
2021-07-14 15:22:56 +09:00
..
ipmemorystore Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
nsd Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
util Add new network capabilities to support automotive head unit via USB 2021-07-08 09:44:39 +09:00
ConnectivityManagerTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
Ikev2VpnProfileTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
IpMemoryStoreTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
IpSecAlgorithmTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
IpSecConfigTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
IpSecManagerTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
IpSecTransformTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
KeepalivePacketDataUtilTest.java Fix jarjar-related failures in coverage tests 2021-07-14 15:22:56 +09:00
MacAddressTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
NetworkIdentityTest.kt Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
NetworkStatsHistoryTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
NetworkStatsTest.java Merge "Add tests for in-kernel VPN/VCN dataplane" 2021-07-02 18:42:15 +00:00
NetworkTemplateTest.kt Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
NetworkUtilsTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
QosSocketFilterTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
TelephonyNetworkSpecifierTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
VpnManagerTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00
VpnTransportInfoTest.java Re-skip connectivity unit tests before S 2021-06-30 12:00:28 +09:00