markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 1 | # Don't jar-jar the entire package because this test use some |
| 2 | # internal classes (like ArrayUtils in com.android.internal.util) |
| 3 | rule com.android.internal.util.BitUtils* com.android.networkstack.tethering.util.BitUtils@1 |
markchien | 075432d | 2021-05-07 00:30:01 +0800 | [diff] [blame] | 4 | rule com.android.internal.util.IndentingPrintWriter* com.android.networkstack.tethering.util.IndentingPrintWriter@1 |
| 5 | rule com.android.internal.util.IState* com.android.networkstack.tethering.util.IState@1 |
markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 6 | rule com.android.internal.util.MessageUtils* com.android.networkstack.tethering.util.MessageUtils@1 |
markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 7 | rule com.android.internal.util.State* com.android.networkstack.tethering.util.State@1 |
| 8 | rule com.android.internal.util.StateMachine* com.android.networkstack.tethering.util.StateMachine@1 |
markchien | b799fa3 | 2020-01-08 20:58:23 +0800 | [diff] [blame] | 9 | rule com.android.internal.util.TrafficStatsConstants* com.android.networkstack.tethering.util.TrafficStatsConstants@1 |
markchien | e59f5e3 | 2022-04-02 00:45:53 +0800 | [diff] [blame] | 10 | # Keep other com.android.internal.util as-is |
| 11 | rule com.android.internal.util.** @0 |
markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 12 | |
markchien | a8ac97c | 2020-06-30 22:56:12 +0800 | [diff] [blame] | 13 | rule android.util.LocalLog* com.android.networkstack.tethering.util.LocalLog@1 |
Remi NGUYEN VAN | 8f59ec0 | 2020-09-23 17:03:33 +0900 | [diff] [blame] | 14 | |
markchien | e312648 | 2020-10-26 13:53:05 +0800 | [diff] [blame] | 15 | # Classes from net-utils-framework-common |
| 16 | rule com.android.net.module.util.** com.android.networkstack.tethering.util.@1 |
| 17 | |
Patrick Rohr | 3157918 | 2022-02-03 21:41:28 +0100 | [diff] [blame] | 18 | # Classes from net-tests-utils |
| 19 | rule com.android.testutils.TestBpfMap* com.android.networkstack.tethering.testutils.TestBpfMap@1 |
| 20 | |
Remi NGUYEN VAN | 8f59ec0 | 2020-09-23 17:03:33 +0900 | [diff] [blame] | 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. |
| 23 | zap android.os.test.TestLooperTest* |
markchien | e312648 | 2020-10-26 13:53:05 +0800 | [diff] [blame] | 24 | zap com.android.test.filters.SelectTestTests* |
Remi NGUYEN VAN | 0015f04 | 2021-07-27 14:30:14 +0900 | [diff] [blame] | 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. |