blob: 2ecf3092035d45de2f367f4542ae7abe5899db81 [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
Roshan Pius5e85ab22020-04-10 14:26:01 -07009rule android.net.DhcpResults* com.android.wifi.x.@0
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
Roshan Pius5e85ab22020-04-10 14:26:01 -070012rule android.net.InterfaceConfiguration* com.android.wifi.x.@0
13rule android.net.IpMemoryStore* com.android.wifi.x.@0
14rule android.net.NetworkMonitorManager* com.android.wifi.x.@0
15rule android.net.TcpKeepalivePacketData* com.android.wifi.x.@0
16rule android.net.NetworkFactory* com.android.wifi.x.@0
17rule android.net.ip.IpClientCallbacks* com.android.wifi.x.@0
18rule android.net.ip.IpClientManager* com.android.wifi.x.@0
19rule android.net.ip.IpClientUtil* com.android.wifi.x.@0
20rule android.net.ipmemorystore.OnBlobRetrievedListener* com.android.wifi.x.@0
21rule android.net.ipmemorystore.OnStatusListener* com.android.wifi.x.@0
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
Roshan Pius5e85ab22020-04-10 14:26:01 -070024rule android.net.ipmemorystore.Status* com.android.wifi.x.@0
25rule android.net.networkstack.ModuleNetworkStackClient* com.android.wifi.x.@0
26rule android.net.networkstack.NetworkStackClientBase* com.android.wifi.x.@0
27rule android.net.shared.InetAddressUtils* com.android.wifi.x.@0
28rule android.net.shared.InitialConfiguration* com.android.wifi.x.@0
29rule android.net.shared.IpConfigurationParcelableUtil* com.android.wifi.x.@0
30rule android.net.shared.Layer2Information* com.android.wifi.x.@0
31rule android.net.shared.LinkPropertiesParcelableUtil* com.android.wifi.x.@0
32rule android.net.shared.NetdUtils* com.android.wifi.x.@0
33rule android.net.shared.NetworkMonitorUtils* com.android.wifi.x.@0
34rule android.net.shared.ParcelableUtil* com.android.wifi.x.@0
35rule android.net.shared.PrivateDnsConfig* com.android.wifi.x.@0
36rule android.net.shared.ProvisioningConfiguration* com.android.wifi.x.@0
37rule android.net.shared.RouteUtils* com.android.wifi.x.@0
38rule android.net.util.KeepalivePacketDataUtil* com.android.wifi.x.@0
39rule android.net.util.NetworkConstants* com.android.wifi.x.@0
40rule android.net.util.InterfaceParams* com.android.wifi.x.@0
41rule android.net.util.SharedLog* com.android.wifi.x.@0
42rule android.net.util.NetUtils* com.android.wifi.x.@0
43rule android.net.util.IpUtils* com.android.wifi.x.@0
David Su511a8142020-01-09 14:02:21 -080044
Roshan Pius5e85ab22020-04-10 14:26:01 -070045rule androidx.annotation.** com.android.wifi.x.@0
Roshan Pius5a283f22020-04-09 09:47:40 -070046
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).
Roshan Pius5e85ab22020-04-10 14:26:01 -070050rule com.android.internal.util.FastXmlSerializer* com.android.wifi.x.@0
51rule com.android.internal.util.HexDump* com.android.wifi.x.@0
52rule com.android.internal.util.IState* com.android.wifi.x.@0
53rule com.android.internal.util.MessageUtils* com.android.wifi.x.@0
54rule com.android.internal.util.State* com.android.wifi.x.@0
55rule com.android.internal.util.StateMachine* com.android.wifi.x.@0
56rule com.android.internal.util.WakeupMessage* com.android.wifi.x.@0
David Su511a8142020-01-09 14:02:21 -080057
Roshan Pius5e85ab22020-04-10 14:26:01 -070058rule android.util.BackupUtils* com.android.wifi.x.@0
59rule android.util.LocalLog* com.android.wifi.x.@0
60rule android.util.Rational* com.android.wifi.x.@0
David Su511a8142020-01-09 14:02:21 -080061
Roshan Pius5e85ab22020-04-10 14:26:01 -070062rule android.os.BasicShellCommandHandler* com.android.wifi.x.@0
David Su511a8142020-01-09 14:02:21 -080063
64# Use our statically linked bouncy castle library
Roshan Pius5e85ab22020-04-10 14:26:01 -070065rule org.bouncycastle.** com.android.wifi.x.@0
David Su511a8142020-01-09 14:02:21 -080066# Use our statically linked protobuf library
Roshan Pius5e85ab22020-04-10 14:26:01 -070067rule com.google.protobuf.** com.android.wifi.x.@0
David Su6bb0d102020-01-12 15:41:07 -080068# use statically linked SystemMessageProto
Roshan Pius5e85ab22020-04-10 14:26:01 -070069rule com.android.internal.messages.SystemMessageProto* com.android.wifi.x.@0
David Su511a8142020-01-09 14:02:21 -080070# Use our statically linked PlatformProperties library
Roshan Pius5e85ab22020-04-10 14:26:01 -070071rule android.sysprop.** com.android.wifi.x.@0
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.
Roshan Pius5e85ab22020-04-10 14:26:01 -070075rule android.hardware.wifi.V** com.android.wifi.x.@0
76rule android.hardware.wifi.supplicant.** com.android.wifi.x.@0
77rule android.hardware.wifi.hostapd.** com.android.wifi.x.@0
78rule android.hidl.** com.android.wifi.x.@0
Roshan Pius5a283f22020-04-09 09:47:40 -070079# Use our statically linked ksoap2
Roshan Pius5e85ab22020-04-10 14:26:01 -070080rule org.ksoap2.** com.android.wifi.x.@0
Roshan Pius5a283f22020-04-09 09:47:40 -070081# Use our statically linked nanohttpd
Roshan Pius5e85ab22020-04-10 14:26:01 -070082rule fi.iki.elonen.** com.android.wifi.x.@0
David Su511a8142020-01-09 14:02:21 -080083
David Su511a8142020-01-09 14:02:21 -080084# used by both framework-wifi and wifi-service
Roshan Pius5e85ab22020-04-10 14:26:01 -070085rule android.content.pm.BaseParceledListSlice* com.android.wifi.x.@0
86rule android.content.pm.ParceledListSlice* com.android.wifi.x.@0
87rule android.net.shared.Inet4AddressUtils* com.android.wifi.x.@0
88rule android.net.util.MacAddressUtils* com.android.wifi.x.@0
89rule android.net.util.nsd.DnsSdTxtRecord* com.android.wifi.x.@0
90rule android.os.HandlerExecutor* com.android.wifi.x.@0
91rule android.telephony.Annotation* com.android.wifi.x.@0
92rule com.android.internal.util.AsyncChannel* com.android.wifi.x.@0
93rule com.android.internal.util.AsyncService* com.android.wifi.x.@0
94rule com.android.internal.util.Preconditions* com.android.wifi.x.@0
95rule com.android.internal.util.Protocol* com.android.wifi.x.@0