blob: 4013d2eca75c6a170670f26934a6ba6710b177d2 [file] [log] [blame]
Colin Cross8e501712022-05-18 18:23:18 +00001# Classes in framework-connectivity are restricted to the android.net package.
2# This cannot be changed because it is harcoded in ART in S.
3# Any missing jarjar rule for framework-connectivity would be caught by the
4# build as an unexpected class outside of the android.net package.
5rule com.android.net.module.util.** android.net.connectivity.@0
6rule com.android.modules.utils.** android.net.connectivity.@0
7rule android.net.NetworkFactory* android.net.connectivity.@0
8
9# From modules-utils-preconditions
10rule com.android.internal.util.Preconditions* android.net.connectivity.@0
11
12# From framework-connectivity-shared-srcs
13rule android.util.LocalLog* android.net.connectivity.@0
14rule android.util.IndentingPrintWriter* android.net.connectivity.@0
15rule com.android.internal.util.IndentingPrintWriter* android.net.connectivity.@0
16rule com.android.internal.util.MessageUtils* android.net.connectivity.@0
17rule com.android.internal.util.WakeupMessage* android.net.connectivity.@0
18rule com.android.internal.util.FileRotator* android.net.connectivity.@0
19rule com.android.internal.util.ProcFileReader* android.net.connectivity.@0
20
21# From framework-connectivity-protos
22rule com.google.protobuf.** android.net.connectivity.@0
23rule android.service.** android.net.connectivity.@0
24
25rule android.sysprop.** com.android.connectivity.@0
26
27rule com.android.internal.messages.** com.android.connectivity.@0
28
29# From dnsresolver_aidl_interface (newer AIDLs should go to android.net.resolv.aidl)
30rule android.net.resolv.aidl.** com.android.connectivity.@0
31rule android.net.IDnsResolver* com.android.connectivity.@0
32rule android.net.ResolverHostsParcel* com.android.connectivity.@0
33rule android.net.ResolverOptionsParcel* com.android.connectivity.@0
34rule android.net.ResolverParamsParcel* com.android.connectivity.@0
35rule android.net.ResolverParamsParcel* com.android.connectivity.@0
36# Also includes netd event listener AIDL, but this is handled by netd-client rules
37
38# From netd-client (newer AIDLs should go to android.net.netd.aidl)
39rule android.net.netd.aidl.** com.android.connectivity.@0
40# Avoid including android.net.INetdEventCallback, used in tests but not part of the module
41rule android.net.INetd com.android.connectivity.@0
42rule android.net.INetd$* com.android.connectivity.@0
43rule android.net.INetdUnsolicitedEventListener* com.android.connectivity.@0
44rule android.net.InterfaceConfigurationParcel* com.android.connectivity.@0
45rule android.net.MarkMaskParcel* com.android.connectivity.@0
46rule android.net.NativeNetworkConfig* com.android.connectivity.@0
47rule android.net.NativeNetworkType* com.android.connectivity.@0
48rule android.net.NativeVpnType* com.android.connectivity.@0
49rule android.net.RouteInfoParcel* com.android.connectivity.@0
50rule android.net.TetherConfigParcel* com.android.connectivity.@0
51rule android.net.TetherOffloadRuleParcel* com.android.connectivity.@0
52rule android.net.TetherStatsParcel* com.android.connectivity.@0
53rule android.net.UidRangeParcel* com.android.connectivity.@0
54rule android.net.metrics.INetdEventListener* com.android.connectivity.@0
55
56# From netlink-client
57rule android.net.netlink.** com.android.connectivity.@0
58
59# From networkstack-client (newer AIDLs should go to android.net.[networkstack|ipmemorystore].aidl)
60rule android.net.networkstack.aidl.** com.android.connectivity.@0
61rule android.net.ipmemorystore.aidl.** com.android.connectivity.@0
62rule android.net.ipmemorystore.aidl.** com.android.connectivity.@0
63rule android.net.DataStallReportParcelable* com.android.connectivity.@0
64rule android.net.DhcpResultsParcelable* com.android.connectivity.@0
65rule android.net.IIpMemoryStore* com.android.connectivity.@0
66rule android.net.INetworkMonitor* com.android.connectivity.@0
67rule android.net.INetworkStackConnector* com.android.connectivity.@0
68rule android.net.INetworkStackStatusCallback* com.android.connectivity.@0
69rule android.net.InformationElementParcelable* com.android.connectivity.@0
70rule android.net.InitialConfigurationParcelable* com.android.connectivity.@0
71rule android.net.IpMemoryStore* com.android.connectivity.@0
72rule android.net.Layer2InformationParcelable* com.android.connectivity.@0
73rule android.net.Layer2PacketParcelable* com.android.connectivity.@0
74rule android.net.NattKeepalivePacketDataParcelable* com.android.connectivity.@0
75rule android.net.NetworkMonitorManager* com.android.connectivity.@0
76rule android.net.NetworkTestResultParcelable* com.android.connectivity.@0
77rule android.net.PrivateDnsConfigParcel* com.android.connectivity.@0
78rule android.net.ProvisioningConfigurationParcelable* com.android.connectivity.@0
79rule android.net.ScanResultInfoParcelable* com.android.connectivity.@0
80rule android.net.TcpKeepalivePacketDataParcelable* com.android.connectivity.@0
81rule android.net.dhcp.DhcpLeaseParcelable* com.android.connectivity.@0
82rule android.net.dhcp.DhcpServingParamsParcel* com.android.connectivity.@0
83rule android.net.dhcp.IDhcpEventCallbacks* com.android.connectivity.@0
84rule android.net.dhcp.IDhcpServer* com.android.connectivity.@0
85rule android.net.ip.IIpClient* com.android.connectivity.@0
86rule android.net.ip.IpClientCallbacks* com.android.connectivity.@0
87rule android.net.ip.IpClientManager* com.android.connectivity.@0
88rule android.net.ip.IpClientUtil* com.android.connectivity.@0
89rule android.net.ipmemorystore.** com.android.connectivity.@0
90rule android.net.networkstack.** com.android.connectivity.@0
91rule android.net.shared.** com.android.connectivity.@0
92rule android.net.util.KeepalivePacketDataUtil* com.android.connectivity.@0
93
94# From connectivity-module-utils
95rule android.net.util.SharedLog* com.android.connectivity.@0
96rule android.net.shared.** com.android.connectivity.@0
97
98# From services-connectivity-shared-srcs
99rule android.net.util.NetworkConstants* com.android.connectivity.@0
100
101# From modules-utils-statemachine
102rule com.android.internal.util.IState* com.android.connectivity.@0
103rule com.android.internal.util.State* com.android.connectivity.@0
104
105# From the API shims
106rule com.android.networkstack.apishim.** com.android.connectivity.@0
107
108# From filegroup framework-connectivity-protos
109rule android.service.*Proto com.android.connectivity.@0
110
111# From mdns-aidl-interface
112rule android.net.mdns.aidl.** android.net.connectivity.@0
113
114# From nearby-service, including proto
115rule service.proto.** com.android.server.nearby.@0
116rule androidx.annotation.Keep* com.android.server.nearby.@0
117rule androidx.collection.** com.android.server.nearby.@0
118rule androidx.core.** com.android.server.nearby.@0
119rule androidx.versionedparcelable.** com.android.server.nearby.@0
120rule com.google.common.** com.android.server.nearby.@0
Remi NGUYEN VANe3bb3a82022-06-07 11:49:16 +0900121rule android.support.v4.** com.android.server.nearby.@0
Colin Cross8e501712022-05-18 18:23:18 +0000122
123# Remaining are connectivity sources in com.android.server and com.android.server.connectivity:
124# TODO: move to a subpackage of com.android.connectivity (such as com.android.connectivity.server)