1# Exclude some test prefixes, otherwise the classes reference below can't find
2# them after jarjared.
3android\.compat\..+
4androidx\.test\..+
5com\.android\.frameworks\.tests\..+
6com\.android\.testutils\..+
7com\.android\.dx\.mockito\..+
8com\.android\.internal\.compat\..+
9com\.android\.internal\.org\.bouncycastle\..+
10kotlin\.test\..+
11kotlin\.reflect\..+
12org\.junit\..+
13org\.mockito\..+
14
15# Auto-jarjar-gen can't handle kotlin object expression, exclude the tests which use
16# object expressions.
17#
18# For example: Illegal class access:
19# 'android.net.connectivity.com.android.net.module.util.TrackRecordTest' attempting to access
20# 'com.android.networkstack.tethering.util.TRTInterpreter' (declaration of
21# 'android.net.connectivity.com.android.net.module.util.TrackRecordTest' ...
22#
23# In coverage test, TRTInterpreter don't be jarjar'ed to
24# android.net.connectivity* by frameworks-net-tests-jarjar-rules instead it is
25# jarjar'ed by follow up TetheringTestsJarJarRules.
26# TODO(b/269259216): remove this after fixing Auto-jarjar-gen.
27com\.android\.net\.module\.util\.TrackRecord.*
28