blob: 09abd17950d997fea19e8a6fb540966e75b38416 [file] [log] [blame]
# INetworkStatsProvider / INetworkStatsProviderCallback are referenced from net-tests-utils, which
# may be used by tests that do not apply connectivity jarjar rules.
# TODO: move files to a known internal package (like android.net.connectivity.visiblefortesting)
# so that they do not need jarjar
android\.net\.netstats\.provider\.INetworkStatsProvider(\$.+)?
android\.net\.netstats\.provider\.INetworkStatsProviderCallback(\$.+)?
# INetworkAgent / INetworkAgentRegistry are used in NetworkAgentTest
# TODO: move files to android.net.connectivity.visiblefortesting
android\.net\.INetworkAgent(\$.+)?
android\.net\.INetworkAgentRegistry(\$.+)?
# IConnectivityDiagnosticsCallback used in ConnectivityDiagnosticsManagerTest
# TODO: move files to android.net.connectivity.visiblefortesting
android\.net\.IConnectivityDiagnosticsCallback(\$.+)?
# Classes used by tethering as a hidden API are compiled as a lib in target
# connectivity-internal-api-util. Because it's used by tethering, it can't
# be jarjared. Classes in android.net.connectivity are exempt from being
# listed here because they are already in the target package and as such
# are already not jarjared.
# Because Tethering can be installed on R without Connectivity, any use
# of these classes must be protected by a check for >= S SDK.
# It's unlikely anybody else declares a hidden class with this nameĀ ?
android\.net\.RoutingCoordinatorManager(\$.+)?
android\.net\.LocalNetworkInfo(\$.+)?
# KeepaliveUtils is used by ConnectivityManager CTS
# TODO: move into service-connectivity so framework-connectivity stops using
# ServiceConnectivityResources (callers need high permissions to find/query the resource apk anyway)
# and have a ConnectivityManager test API instead
android\.net\.util\.KeepaliveUtils(\$.+)?
# TODO (b/217115866): add jarjar rules for Nearby
android\.nearby\..+
# Don't touch anything that's already under android.net.http (cronet)
# This is required since android.net.http contains api classes and hidden classes.
# TODO: Remove this after hidden classes are moved to different package
android\.net\.http\..+