summaryrefslogtreecommitdiff
path: root/common/networkstackclient/Android.bp
diff options
context:
space:
mode:
authorXiao Ma <xiaom@google.com>2020-01-30 17:00:05 +0900
committerXiao Ma <xiaom@google.com>2020-02-10 21:11:04 +0900
commitc3a28323623f0ff3b98ab15e61141437a0fee90b (patch)
tree74465ab500597d71c265b40414c54d38fadc66b7 /common/networkstackclient/Android.bp
parent738b6c361469af87d6eaa20680184bf5ef8dded4 (diff)
Add ScanResultInfo object in ProvisioningConfiguration parcel.
Since wifi.ScanResult doesn't implement specific equals() yet, for comparing the ProvisioningConfiguration object better, this change encapuslates ScanResult#SSID and ScanResult#InformationElement member into a new class: ScanResultInfo inside ProvisioningConfiguration. Adding ScanResultInfo object in ProvisioningConfiguration parcelable is to check the InformationElement filed when starting IpClient and detect whether or not the specific OUI is included in the IEs. Bug: 137835398 Test: atest FrameworksNetTests NetworkStackTests NetworkStackNextTests Change-Id: I247ac7f343ef3e99b64b93b45549e2a25980a407
Diffstat (limited to 'common/networkstackclient/Android.bp')
-rw-r--r--common/networkstackclient/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/networkstackclient/Android.bp b/common/networkstackclient/Android.bp
index 31f3384..dbe8ff0 100644
--- a/common/networkstackclient/Android.bp
+++ b/common/networkstackclient/Android.bp
@@ -45,6 +45,7 @@ aidl_interface {
include_dirs: [
"frameworks/base/core/java", // For framework parcelables.
"frameworks/native/aidl/binder/android/os", // For PersistableBundle.aidl
+ "frameworks/base/wifi/aidl-export", // For wifi parcelables.
],
srcs: [
"src/android/net/DhcpResultsParcelable.aidl",
@@ -53,10 +54,12 @@ aidl_interface {
"src/android/net/INetworkStackConnector.aidl",
"src/android/net/INetworkStackStatusCallback.aidl",
"src/android/net/InitialConfigurationParcelable.aidl",
+ "src/android/net/InformationElementParcelable.aidl",
"src/android/net/Layer2PacketParcelable.aidl",
"src/android/net/NattKeepalivePacketDataParcelable.aidl",
"src/android/net/PrivateDnsConfigParcel.aidl",
"src/android/net/ProvisioningConfigurationParcelable.aidl",
+ "src/android/net/ScanResultInfoParcelable.aidl",
"src/android/net/TcpKeepalivePacketDataParcelable.aidl",
"src/android/net/dhcp/DhcpServingParamsParcel.aidl",
"src/android/net/dhcp/IDhcpServer.aidl",