Colin Cross | 8e50171 | 2022-05-18 18:23:18 +0000 | [diff] [blame] | 1 | # 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. |
| 5 | rule com.android.net.module.util.** android.net.connectivity.@0 |
| 6 | rule com.android.modules.utils.** android.net.connectivity.@0 |
| 7 | rule android.net.NetworkFactory* android.net.connectivity.@0 |
| 8 | |
| 9 | # From modules-utils-preconditions |
| 10 | rule com.android.internal.util.Preconditions* android.net.connectivity.@0 |
| 11 | |
| 12 | # From framework-connectivity-shared-srcs |
| 13 | rule android.util.LocalLog* android.net.connectivity.@0 |
| 14 | rule android.util.IndentingPrintWriter* android.net.connectivity.@0 |
| 15 | rule com.android.internal.util.IndentingPrintWriter* android.net.connectivity.@0 |
| 16 | rule com.android.internal.util.MessageUtils* android.net.connectivity.@0 |
| 17 | rule com.android.internal.util.WakeupMessage* android.net.connectivity.@0 |
| 18 | rule com.android.internal.util.FileRotator* android.net.connectivity.@0 |
| 19 | rule com.android.internal.util.ProcFileReader* android.net.connectivity.@0 |
| 20 | |
| 21 | # From framework-connectivity-protos |
| 22 | rule com.google.protobuf.** android.net.connectivity.@0 |
| 23 | rule android.service.** android.net.connectivity.@0 |
| 24 | |
| 25 | rule android.sysprop.** com.android.connectivity.@0 |
| 26 | |
| 27 | rule com.android.internal.messages.** com.android.connectivity.@0 |
| 28 | |
| 29 | # From dnsresolver_aidl_interface (newer AIDLs should go to android.net.resolv.aidl) |
| 30 | rule android.net.resolv.aidl.** com.android.connectivity.@0 |
| 31 | rule android.net.IDnsResolver* com.android.connectivity.@0 |
| 32 | rule android.net.ResolverHostsParcel* com.android.connectivity.@0 |
| 33 | rule android.net.ResolverOptionsParcel* com.android.connectivity.@0 |
| 34 | rule android.net.ResolverParamsParcel* com.android.connectivity.@0 |
| 35 | rule 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) |
| 39 | rule android.net.netd.aidl.** com.android.connectivity.@0 |
| 40 | # Avoid including android.net.INetdEventCallback, used in tests but not part of the module |
| 41 | rule android.net.INetd com.android.connectivity.@0 |
| 42 | rule android.net.INetd$* com.android.connectivity.@0 |
| 43 | rule android.net.INetdUnsolicitedEventListener* com.android.connectivity.@0 |
| 44 | rule android.net.InterfaceConfigurationParcel* com.android.connectivity.@0 |
| 45 | rule android.net.MarkMaskParcel* com.android.connectivity.@0 |
| 46 | rule android.net.NativeNetworkConfig* com.android.connectivity.@0 |
| 47 | rule android.net.NativeNetworkType* com.android.connectivity.@0 |
| 48 | rule android.net.NativeVpnType* com.android.connectivity.@0 |
| 49 | rule android.net.RouteInfoParcel* com.android.connectivity.@0 |
| 50 | rule android.net.TetherConfigParcel* com.android.connectivity.@0 |
| 51 | rule android.net.TetherOffloadRuleParcel* com.android.connectivity.@0 |
| 52 | rule android.net.TetherStatsParcel* com.android.connectivity.@0 |
| 53 | rule android.net.UidRangeParcel* com.android.connectivity.@0 |
| 54 | rule android.net.metrics.INetdEventListener* com.android.connectivity.@0 |
| 55 | |
| 56 | # From netlink-client |
| 57 | rule android.net.netlink.** com.android.connectivity.@0 |
| 58 | |
| 59 | # From networkstack-client (newer AIDLs should go to android.net.[networkstack|ipmemorystore].aidl) |
| 60 | rule android.net.networkstack.aidl.** com.android.connectivity.@0 |
| 61 | rule android.net.ipmemorystore.aidl.** com.android.connectivity.@0 |
| 62 | rule android.net.ipmemorystore.aidl.** com.android.connectivity.@0 |
| 63 | rule android.net.DataStallReportParcelable* com.android.connectivity.@0 |
| 64 | rule android.net.DhcpResultsParcelable* com.android.connectivity.@0 |
| 65 | rule android.net.IIpMemoryStore* com.android.connectivity.@0 |
| 66 | rule android.net.INetworkMonitor* com.android.connectivity.@0 |
| 67 | rule android.net.INetworkStackConnector* com.android.connectivity.@0 |
| 68 | rule android.net.INetworkStackStatusCallback* com.android.connectivity.@0 |
| 69 | rule android.net.InformationElementParcelable* com.android.connectivity.@0 |
| 70 | rule android.net.InitialConfigurationParcelable* com.android.connectivity.@0 |
| 71 | rule android.net.IpMemoryStore* com.android.connectivity.@0 |
| 72 | rule android.net.Layer2InformationParcelable* com.android.connectivity.@0 |
| 73 | rule android.net.Layer2PacketParcelable* com.android.connectivity.@0 |
| 74 | rule android.net.NattKeepalivePacketDataParcelable* com.android.connectivity.@0 |
| 75 | rule android.net.NetworkMonitorManager* com.android.connectivity.@0 |
| 76 | rule android.net.NetworkTestResultParcelable* com.android.connectivity.@0 |
| 77 | rule android.net.PrivateDnsConfigParcel* com.android.connectivity.@0 |
| 78 | rule android.net.ProvisioningConfigurationParcelable* com.android.connectivity.@0 |
| 79 | rule android.net.ScanResultInfoParcelable* com.android.connectivity.@0 |
| 80 | rule android.net.TcpKeepalivePacketDataParcelable* com.android.connectivity.@0 |
| 81 | rule android.net.dhcp.DhcpLeaseParcelable* com.android.connectivity.@0 |
| 82 | rule android.net.dhcp.DhcpServingParamsParcel* com.android.connectivity.@0 |
| 83 | rule android.net.dhcp.IDhcpEventCallbacks* com.android.connectivity.@0 |
| 84 | rule android.net.dhcp.IDhcpServer* com.android.connectivity.@0 |
| 85 | rule android.net.ip.IIpClient* com.android.connectivity.@0 |
| 86 | rule android.net.ip.IpClientCallbacks* com.android.connectivity.@0 |
| 87 | rule android.net.ip.IpClientManager* com.android.connectivity.@0 |
| 88 | rule android.net.ip.IpClientUtil* com.android.connectivity.@0 |
| 89 | rule android.net.ipmemorystore.** com.android.connectivity.@0 |
| 90 | rule android.net.networkstack.** com.android.connectivity.@0 |
| 91 | rule android.net.shared.** com.android.connectivity.@0 |
| 92 | rule android.net.util.KeepalivePacketDataUtil* com.android.connectivity.@0 |
| 93 | |
| 94 | # From connectivity-module-utils |
| 95 | rule android.net.util.SharedLog* com.android.connectivity.@0 |
| 96 | rule android.net.shared.** com.android.connectivity.@0 |
| 97 | |
| 98 | # From services-connectivity-shared-srcs |
| 99 | rule android.net.util.NetworkConstants* com.android.connectivity.@0 |
| 100 | |
| 101 | # From modules-utils-statemachine |
| 102 | rule com.android.internal.util.IState* com.android.connectivity.@0 |
| 103 | rule com.android.internal.util.State* com.android.connectivity.@0 |
| 104 | |
| 105 | # From the API shims |
| 106 | rule com.android.networkstack.apishim.** com.android.connectivity.@0 |
| 107 | |
| 108 | # From filegroup framework-connectivity-protos |
| 109 | rule android.service.*Proto com.android.connectivity.@0 |
| 110 | |
| 111 | # From mdns-aidl-interface |
| 112 | rule android.net.mdns.aidl.** android.net.connectivity.@0 |
| 113 | |
| 114 | # From nearby-service, including proto |
| 115 | rule service.proto.** com.android.server.nearby.@0 |
| 116 | rule androidx.annotation.Keep* com.android.server.nearby.@0 |
| 117 | rule androidx.collection.** com.android.server.nearby.@0 |
| 118 | rule androidx.core.** com.android.server.nearby.@0 |
| 119 | rule androidx.versionedparcelable.** com.android.server.nearby.@0 |
| 120 | rule com.google.common.** com.android.server.nearby.@0 |
Remi NGUYEN VAN | e3bb3a8 | 2022-06-07 11:49:16 +0900 | [diff] [blame] | 121 | rule android.support.v4.** com.android.server.nearby.@0 |
Colin Cross | 8e50171 | 2022-05-18 18:23:18 +0000 | [diff] [blame] | 122 | |
| 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) |