1# 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
4rule 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
6rule com.android.internal.util.MessageUtils* com.android.networkstack.tethering.util.MessageUtils@1
7rule 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
9rule com.android.internal.util.TrafficStatsConstants* com.android.networkstack.tethering.util.TrafficStatsConstants@1
10# Keep other com.android.internal.util as-is
11rule com.android.internal.util.** @0
12
13rule android.util.LocalLog* com.android.networkstack.tethering.util.LocalLog@1
14
15# Classes from net-utils-framework-common
16rule com.android.net.module.util.** com.android.networkstack.tethering.util.@1
17
18# Classes from net-tests-utils
19rule com.android.testutils.TestBpfMap* com.android.networkstack.tethering.testutils.TestBpfMap@1
20
21# 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*
24zap com.android.test.filters.SelectTestTests*
25
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.
30