Roshan Pius | b6361f9 | 2020-02-21 07:37:30 -0800 | [diff] [blame] | 1 | # used by wifi-service |
Roshan Pius | cfc6db2 | 2020-04-10 10:43:04 -0700 | [diff] [blame] | 2 | # 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 Pius | b6361f9 | 2020-02-21 07:37:30 -0800 | [diff] [blame] | 8 | rule android.net.DhcpResultsParcelable* @0 |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 9 | rule android.net.DhcpResults* com.android.wifi.x.@0 |
Roshan Pius | cfc6db2 | 2020-04-10 10:43:04 -0700 | [diff] [blame] | 10 | # Note: This rule is needed to ensure the rule below does not rename a Parcelable (see TODO above). |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 11 | rule android.net.InterfaceConfigurationParcel* @0 |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 12 | rule android.net.InterfaceConfiguration* com.android.wifi.x.@0 |
| 13 | rule android.net.IpMemoryStore* com.android.wifi.x.@0 |
| 14 | rule android.net.NetworkMonitorManager* com.android.wifi.x.@0 |
| 15 | rule android.net.TcpKeepalivePacketData* com.android.wifi.x.@0 |
| 16 | rule android.net.NetworkFactory* com.android.wifi.x.@0 |
| 17 | rule android.net.ip.IpClientCallbacks* com.android.wifi.x.@0 |
| 18 | rule android.net.ip.IpClientManager* com.android.wifi.x.@0 |
| 19 | rule android.net.ip.IpClientUtil* com.android.wifi.x.@0 |
| 20 | rule android.net.ipmemorystore.OnBlobRetrievedListener* com.android.wifi.x.@0 |
| 21 | rule android.net.ipmemorystore.OnStatusListener* com.android.wifi.x.@0 |
Roshan Pius | cfc6db2 | 2020-04-10 10:43:04 -0700 | [diff] [blame] | 22 | # Note: This rule is needed to ensure the rule below does not rename a Parcelable (see TODO above). |
Roshan Pius | 5a283f2 | 2020-04-09 09:47:40 -0700 | [diff] [blame] | 23 | rule android.net.ipmemorystore.StatusParcelable* @0 |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 24 | rule android.net.ipmemorystore.Status* com.android.wifi.x.@0 |
| 25 | rule android.net.networkstack.ModuleNetworkStackClient* com.android.wifi.x.@0 |
| 26 | rule android.net.networkstack.NetworkStackClientBase* com.android.wifi.x.@0 |
| 27 | rule android.net.shared.InetAddressUtils* com.android.wifi.x.@0 |
| 28 | rule android.net.shared.InitialConfiguration* com.android.wifi.x.@0 |
| 29 | rule android.net.shared.IpConfigurationParcelableUtil* com.android.wifi.x.@0 |
| 30 | rule android.net.shared.Layer2Information* com.android.wifi.x.@0 |
| 31 | rule android.net.shared.LinkPropertiesParcelableUtil* com.android.wifi.x.@0 |
| 32 | rule android.net.shared.NetdUtils* com.android.wifi.x.@0 |
| 33 | rule android.net.shared.NetworkMonitorUtils* com.android.wifi.x.@0 |
| 34 | rule android.net.shared.ParcelableUtil* com.android.wifi.x.@0 |
| 35 | rule android.net.shared.PrivateDnsConfig* com.android.wifi.x.@0 |
| 36 | rule android.net.shared.ProvisioningConfiguration* com.android.wifi.x.@0 |
| 37 | rule android.net.shared.RouteUtils* com.android.wifi.x.@0 |
| 38 | rule android.net.util.KeepalivePacketDataUtil* com.android.wifi.x.@0 |
| 39 | rule android.net.util.NetworkConstants* com.android.wifi.x.@0 |
| 40 | rule android.net.util.InterfaceParams* com.android.wifi.x.@0 |
| 41 | rule android.net.util.SharedLog* com.android.wifi.x.@0 |
| 42 | rule android.net.util.NetUtils* com.android.wifi.x.@0 |
| 43 | rule android.net.util.IpUtils* com.android.wifi.x.@0 |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 44 | |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 45 | rule androidx.annotation.** com.android.wifi.x.@0 |
Roshan Pius | 5a283f2 | 2020-04-09 09:47:40 -0700 | [diff] [blame] | 46 | |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 47 | # 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 Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 50 | rule com.android.internal.util.FastXmlSerializer* com.android.wifi.x.@0 |
| 51 | rule com.android.internal.util.HexDump* com.android.wifi.x.@0 |
| 52 | rule com.android.internal.util.IState* com.android.wifi.x.@0 |
| 53 | rule com.android.internal.util.MessageUtils* com.android.wifi.x.@0 |
| 54 | rule com.android.internal.util.State* com.android.wifi.x.@0 |
| 55 | rule com.android.internal.util.StateMachine* com.android.wifi.x.@0 |
| 56 | rule com.android.internal.util.WakeupMessage* com.android.wifi.x.@0 |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 57 | |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 58 | rule android.util.BackupUtils* com.android.wifi.x.@0 |
| 59 | rule android.util.LocalLog* com.android.wifi.x.@0 |
| 60 | rule android.util.Rational* com.android.wifi.x.@0 |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 61 | |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 62 | rule android.os.BasicShellCommandHandler* com.android.wifi.x.@0 |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 63 | |
| 64 | # Use our statically linked bouncy castle library |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 65 | rule org.bouncycastle.** com.android.wifi.x.@0 |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 66 | # Use our statically linked protobuf library |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 67 | rule com.google.protobuf.** com.android.wifi.x.@0 |
David Su | 6bb0d10 | 2020-01-12 15:41:07 -0800 | [diff] [blame] | 68 | # use statically linked SystemMessageProto |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 69 | rule com.android.internal.messages.SystemMessageProto* com.android.wifi.x.@0 |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 70 | # Use our statically linked PlatformProperties library |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 71 | rule android.sysprop.** com.android.wifi.x.@0 |
Roshan Pius | 21eb629 | 2020-04-08 15:56:46 -0700 | [diff] [blame] | 72 | # Use our statically linked HIDL stubs |
Roshan Pius | cfc6db2 | 2020-04-10 10:43:04 -0700 | [diff] [blame] | 73 | # 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 Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 75 | rule android.hardware.wifi.V** com.android.wifi.x.@0 |
| 76 | rule android.hardware.wifi.supplicant.** com.android.wifi.x.@0 |
| 77 | rule android.hardware.wifi.hostapd.** com.android.wifi.x.@0 |
| 78 | rule android.hidl.** com.android.wifi.x.@0 |
Roshan Pius | 5a283f2 | 2020-04-09 09:47:40 -0700 | [diff] [blame] | 79 | # Use our statically linked ksoap2 |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 80 | rule org.ksoap2.** com.android.wifi.x.@0 |
Roshan Pius | 5a283f2 | 2020-04-09 09:47:40 -0700 | [diff] [blame] | 81 | # Use our statically linked nanohttpd |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 82 | rule fi.iki.elonen.** com.android.wifi.x.@0 |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 83 | |
David Su | 511a814 | 2020-01-09 14:02:21 -0800 | [diff] [blame] | 84 | # used by both framework-wifi and wifi-service |
Roshan Pius | 5e85ab2 | 2020-04-10 14:26:01 -0700 | [diff] [blame^] | 85 | rule android.content.pm.BaseParceledListSlice* com.android.wifi.x.@0 |
| 86 | rule android.content.pm.ParceledListSlice* com.android.wifi.x.@0 |
| 87 | rule android.net.shared.Inet4AddressUtils* com.android.wifi.x.@0 |
| 88 | rule android.net.util.MacAddressUtils* com.android.wifi.x.@0 |
| 89 | rule android.net.util.nsd.DnsSdTxtRecord* com.android.wifi.x.@0 |
| 90 | rule android.os.HandlerExecutor* com.android.wifi.x.@0 |
| 91 | rule android.telephony.Annotation* com.android.wifi.x.@0 |
| 92 | rule com.android.internal.util.AsyncChannel* com.android.wifi.x.@0 |
| 93 | rule com.android.internal.util.AsyncService* com.android.wifi.x.@0 |
| 94 | rule com.android.internal.util.Preconditions* com.android.wifi.x.@0 |
| 95 | rule com.android.internal.util.Protocol* com.android.wifi.x.@0 |