blob: f85231114f967bc5c80ec4b8fdee0b65988b60c7 [file] [log] [blame]
Roshan Piusb6361f92020-02-21 07:37:30 -08001# used by wifi-service
Roshan Piuscfc6db22020-04-10 10:43:04 -07002# TODO (b/153596226): Find a solution for networkstack's AIDL parcelables & interfaces.
3# Parcelable class names are serialized in the wire, so renaming them
4# will result in the class not being found for any parcelable received/sent from the
5# wifi-service jar.
6
7# Note: This rule is needed to ensure the rule below does not rename a Parcelable (see TODO above).
Roshan Piusb6361f92020-02-21 07:37:30 -08008rule android.net.DhcpResultsParcelable* @0
9rule android.net.DhcpResults* com.android.server.x.wifi.net.DhcpResults@1
Roshan Piuscfc6db22020-04-10 10:43:04 -070010# Note: This rule is needed to ensure the rule below does not rename a Parcelable (see TODO above).
David Su511a8142020-01-09 14:02:21 -080011rule android.net.InterfaceConfigurationParcel* @0
12rule android.net.InterfaceConfiguration* com.android.server.x.wifi.net.InterfaceConfiguration@1
Roshan Piusb6361f92020-02-21 07:37:30 -080013rule android.net.IpMemoryStore* com.android.server.x.wifi.net.IpMemoryStore@1
14rule android.net.NetworkMonitorManager* com.android.server.x.wifi.net.NetworkMonitorManager@1
15rule android.net.TcpKeepalivePacketData* com.android.server.x.wifi.net.TcpKeepalivePacketData@1
Roshan Pius02432982020-01-16 09:18:09 -080016rule android.net.NetworkFactory* com.android.server.x.wifi.net.NetworkFactory@1
Roshan Piusb6361f92020-02-21 07:37:30 -080017rule android.net.ip.IpClientCallbacks* com.android.server.x.wifi.net.ip.IpClientCallbacks@1
18rule android.net.ip.IpClientManager* com.android.server.x.wifi.net.ip.IpClientManager@1
19rule android.net.ip.IpClientUtil* com.android.server.x.wifi.net.ip.IpClientUtil@1
Roshan Pius5a283f22020-04-09 09:47:40 -070020rule android.net.ipmemorystore.OnBlobRetrievedListener* com.android.server.x.wifi.net.ipmemorystore.OnBlobRetrievedListener@1
21rule android.net.ipmemorystore.OnStatusListener* com.android.server.x.wifi.net.ipmemorystore.OnStatusListener@1
Roshan Piuscfc6db22020-04-10 10:43:04 -070022# Note: This rule is needed to ensure the rule below does not rename a Parcelable (see TODO above).
Roshan Pius5a283f22020-04-09 09:47:40 -070023rule android.net.ipmemorystore.StatusParcelable* @0
24rule android.net.ipmemorystore.Status* com.android.server.x.wifi.net.ipmemorystore.Status@1
25rule android.net.networkstack.ModuleNetworkStackClient* com.android.server.x.wifi.net.networkstack.ModuleNetworkStackClient@1
26rule android.net.networkstack.NetworkStackClientBase* com.android.server.x.wifi.net.networkstack.NetworkStackClientBase@1
Roshan Piusb6361f92020-02-21 07:37:30 -080027rule android.net.shared.InetAddressUtils* com.android.server.x.wifi.net.shared.InetAddressUtils@1
28rule android.net.shared.InitialConfiguration* com.android.server.x.wifi.net.shared.InitialConfiguration@1
29rule android.net.shared.IpConfigurationParcelableUtil* com.android.server.x.wifi.net.shared.IpConfigurationParcelableUtil@1
Roshan Pius5a283f22020-04-09 09:47:40 -070030rule android.net.shared.Layer2Information* com.android.server.x.wifi.net.shared.Layer2Information@1
Roshan Piusb6361f92020-02-21 07:37:30 -080031rule android.net.shared.LinkPropertiesParcelableUtil* com.android.server.x.wifi.net.shared.LinkPropertiesParcelableUtil@1
Roshan Piusb6361f92020-02-21 07:37:30 -080032rule android.net.shared.NetdUtils* com.android.server.x.wifi.net.shared.NetdUtils@1
33rule android.net.shared.NetworkMonitorUtils* com.android.server.x.wifi.net.shared.NetworkMonitorUtils@1
34rule android.net.shared.ParcelableUtil* com.android.server.x.wifi.net.shared.ParcelableUtil@1
35rule android.net.shared.PrivateDnsConfig* com.android.server.x.wifi.net.shared.PrivateDnsConfig@1
36rule android.net.shared.ProvisioningConfiguration* com.android.server.x.wifi.net.shared.ProvisioningConfiguration@1
37rule android.net.shared.RouteUtils* com.android.server.x.wifi.net.shared.RouteUtils@1
38rule android.net.util.KeepalivePacketDataUtil* com.android.server.x.wifi.net.util.KeepalivePacketDataUtil@1
39rule android.net.util.NetworkConstants* com.android.server.x.wifi.net.util.NetworkConstants@1
40rule android.net.util.InterfaceParams* com.android.server.x.wifi.net.util.InterfaceParams@1
41rule android.net.util.SharedLog* com.android.server.x.wifi.net.util.SharedLog@1
Roshan Pius02432982020-01-16 09:18:09 -080042rule android.net.util.NetUtils* com.android.server.x.wifi.net.util.NetUtils@1
Roshan Piusb6361f92020-02-21 07:37:30 -080043rule android.net.util.IpUtils* com.android.server.x.wifi.net.util.IpUtils@1
David Su511a8142020-01-09 14:02:21 -080044
Roshan Pius5a283f22020-04-09 09:47:40 -070045rule androidx.annotation.** com.android.server.x.wifi.androidx.annotation.@1
46
David Su511a8142020-01-09 14:02:21 -080047# We don't jar-jar the entire package because, we still use some classes (like
48# AsyncChannel in com.android.internal.util) from these packages which are not
49# inside our jar (currently in framework.jar, but will be in wifisdk.jar in the future).
50rule com.android.internal.util.FastXmlSerializer* com.android.server.x.wifi.util.FastXmlSerializer@1
51rule com.android.internal.util.HexDump* com.android.server.x.wifi.util.HexDump@1
52rule com.android.internal.util.IState* com.android.server.x.wifi.util.IState@1
53rule com.android.internal.util.MessageUtils* com.android.server.x.wifi.util.MessageUtils@1
54rule com.android.internal.util.State* com.android.server.x.wifi.util.State@1
55rule com.android.internal.util.StateMachine* com.android.server.x.wifi.util.StateMachine@1
56rule com.android.internal.util.WakeupMessage* com.android.server.x.wifi.util.WakeupMessage@1
David Su511a8142020-01-09 14:02:21 -080057
58rule android.util.BackupUtils* com.android.server.x.wifi.util.BackupUtils@1
59rule android.util.LocalLog* com.android.server.x.wifi.util.LocalLog@1
60rule android.util.Rational* com.android.server.x.wifi.util.Rational@1
61
62rule android.os.BasicShellCommandHandler* com.android.server.x.wifi.os.BasicShellCommandHandler@1
David Su511a8142020-01-09 14:02:21 -080063
64# Use our statically linked bouncy castle library
65rule org.bouncycastle.** com.android.server.x.wifi.bouncycastle.@1
66# Use our statically linked protobuf library
67rule com.google.protobuf.** com.android.server.x.wifi.protobuf.@1
David Su6bb0d102020-01-12 15:41:07 -080068# use statically linked SystemMessageProto
69rule com.android.internal.messages.SystemMessageProto* com.android.server.x.wifi.messages.SystemMessageProto@1
David Su511a8142020-01-09 14:02:21 -080070# Use our statically linked PlatformProperties library
71rule android.sysprop.** com.android.server.x.wifi.sysprop.@1
Roshan Pius21eb6292020-04-08 15:56:46 -070072# Use our statically linked HIDL stubs
Roshan Piuscfc6db22020-04-10 10:43:04 -070073# Note: android.hardware.wifi.** is used by various wifi feature flags. This unfortunately is also the namespace
74# used by vendor HAL stubs. So, this rule is intentionally weird to try and filter the vendor HAL stubs only.
75rule android.hardware.wifi.V** com.android.server.x.wifi.hardware.wifi.V@1
76rule android.hardware.wifi.supplicant.** com.android.server.x.wifi.hardware.wifi.supplicant.@1
77rule android.hardware.wifi.hostapd.** com.android.server.x.wifi.hardware.wifi.hostapd.@1
Roshan Pius21eb6292020-04-08 15:56:46 -070078rule android.hidl.** com.android.server.x.wifi.hidl.@1
Roshan Pius5a283f22020-04-09 09:47:40 -070079# Use our statically linked ksoap2
80rule org.ksoap2.** com.android.server.x.wifi.ksoap2.@1
81# Use our statically linked nanohttpd
82rule fi.iki.elonen.** com.android.server.x.wifi.elonen.@1
David Su511a8142020-01-09 14:02:21 -080083
David Su511a8142020-01-09 14:02:21 -080084# used by both framework-wifi and wifi-service
85rule android.content.pm.BaseParceledListSlice* android.x.net.wifi.util.BaseParceledListSlice@1
86rule android.content.pm.ParceledListSlice* android.x.net.wifi.util.ParceledListSlice@1
David Su369c9202020-01-09 18:09:56 -080087rule android.net.shared.Inet4AddressUtils* android.x.net.wifi.util.Inet4AddressUtils@1
Roshan Pius02432982020-01-16 09:18:09 -080088rule android.net.util.MacAddressUtils* android.x.net.wifi.util.MacAddressUtils@1
David Su6c82ddd2020-01-16 20:53:04 -080089rule android.net.util.nsd.DnsSdTxtRecord* android.x.net.wifi.util.nsd.DnsSdTxtRecord@1
David Su369c9202020-01-09 18:09:56 -080090rule android.os.HandlerExecutor* android.x.net.wifi.util.HandlerExecutor@1
91rule android.telephony.Annotation* android.x.net.wifi.util.TelephonyAnnotation@1
David Su511a8142020-01-09 14:02:21 -080092rule com.android.internal.util.AsyncChannel* android.x.net.wifi.util.AsyncChannel@1
93rule com.android.internal.util.AsyncService* android.x.net.wifi.util.AsyncService@1
94rule com.android.internal.util.Preconditions* android.x.net.wifi.util.Preconditions@1
95rule com.android.internal.util.Protocol* android.x.net.wifi.util.Protocol@1