1# INetworkStatsProvider / INetworkStatsProviderCallback are referenced from net-tests-utils, which
2# may be used by tests that do not apply connectivity jarjar rules.
3# TODO: move files to a known internal package (like android.net.connectivity.visiblefortesting)
4# so that they do not need jarjar
5android\.net\.netstats\.provider\.INetworkStatsProvider(\$.+)?
6android\.net\.netstats\.provider\.INetworkStatsProviderCallback(\$.+)?
7
8# INetworkAgent / INetworkAgentRegistry are used in NetworkAgentTest
9# TODO: move files to android.net.connectivity.visiblefortesting
10android\.net\.INetworkAgent(\$.+)?
11android\.net\.INetworkAgentRegistry(\$.+)?
12
13# IConnectivityDiagnosticsCallback used in ConnectivityDiagnosticsManagerTest
14# TODO: move files to android.net.connectivity.visiblefortesting
15android\.net\.IConnectivityDiagnosticsCallback(\$.+)?
16
17# Classes used by tethering as a hidden API are compiled as a lib in target
18# connectivity-internal-api-util. Because it's used by tethering, it can't
19# be jarjared. Classes in android.net.connectivity are exempt from being
20# listed here because they are already in the target package and as such
21# are already not jarjared.
22# Because Tethering can be installed on R without Connectivity, any use
23# of these classes must be protected by a check for >= S SDK.
24# It's unlikely anybody else declares a hidden class with this name ?
25android\.net\.RoutingCoordinatorManager(\$.+)?
26android\.net\.LocalNetworkInfo(\$.+)?
27
28# KeepaliveUtils is used by ConnectivityManager CTS
29# TODO: move into service-connectivity so framework-connectivity stops using
30# ServiceConnectivityResources (callers need high permissions to find/query the resource apk anyway)
31# and have a ConnectivityManager test API instead
32android\.net\.util\.KeepaliveUtils(\$.+)?
33
34# TODO (b/217115866): add jarjar rules for Nearby
35android\.nearby\..+
36
37# Don't touch anything that's already under android.net.http (cronet)
38# This is required since android.net.http contains api classes and hidden classes.
39# TODO: Remove this after hidden classes are moved to different package
40android\.net\.http\..+
41