blob: cd8fd3a0d721d55ee3fd016a3dee23105f8d04ef [file] [log] [blame]
markchien9d353822019-12-16 20:15:20 +08001# Don't jar-jar the entire package because this test use some
2# internal classes (like ArrayUtils in com.android.internal.util)
3rule com.android.internal.util.BitUtils* com.android.networkstack.tethering.util.BitUtils@1
markchien075432d2021-05-07 00:30:01 +08004rule com.android.internal.util.IndentingPrintWriter* com.android.networkstack.tethering.util.IndentingPrintWriter@1
5rule com.android.internal.util.IState* com.android.networkstack.tethering.util.IState@1
markchien9d353822019-12-16 20:15:20 +08006rule com.android.internal.util.MessageUtils* com.android.networkstack.tethering.util.MessageUtils@1
markchien9d353822019-12-16 20:15:20 +08007rule com.android.internal.util.State* com.android.networkstack.tethering.util.State@1
8rule com.android.internal.util.StateMachine* com.android.networkstack.tethering.util.StateMachine@1
markchienb799fa32020-01-08 20:58:23 +08009rule com.android.internal.util.TrafficStatsConstants* com.android.networkstack.tethering.util.TrafficStatsConstants@1
markchiene59f5e32022-04-02 00:45:53 +080010# Keep other com.android.internal.util as-is
11rule com.android.internal.util.** @0
markchien9d353822019-12-16 20:15:20 +080012
markchiena8ac97c2020-06-30 22:56:12 +080013rule android.util.LocalLog* com.android.networkstack.tethering.util.LocalLog@1
Remi NGUYEN VAN8f59ec02020-09-23 17:03:33 +090014
markchiene3126482020-10-26 13:53:05 +080015# Classes from net-utils-framework-common
16rule com.android.net.module.util.** com.android.networkstack.tethering.util.@1
17
Patrick Rohr31579182022-02-03 21:41:28 +010018# Classes from net-tests-utils
19rule com.android.testutils.TestBpfMap* com.android.networkstack.tethering.testutils.TestBpfMap@1
20
Remi NGUYEN VAN8f59ec02020-09-23 17:03:33 +090021# TODO: either stop using frameworks-base-testutils or remove the unit test classes it contains.
22# TestableLooper from "testables" can be used instead of TestLooper from frameworks-base-testutils.
23zap android.os.test.TestLooperTest*
markchiene3126482020-10-26 13:53:05 +080024zap com.android.test.filters.SelectTestTests*
Remi NGUYEN VAN0015f042021-07-27 14:30:14 +090025
26# When used in combined test suites like ConnectivityCoverageTests, these test jarjar rules are
27# combined with the jarjar-rules.txt of other included modules (like NetworkStack jarjar rules).
28# They will effectively be added after the following line break. Note that jarjar stops at the first
29# matching rule, so any rule in this file takes precedence over rules in the following ones.