binder: Implement network addition/removal
Implement the |IIface.AddNetwork| & |IIface.RemoveNetwork| binder calls.
Also hookup the network addition notifications to BinderManager for
creating corresponding network binder objects. The network binder
objects are keyed using |ifname|_|network_id|.
BUG: 30015382
Change-Id: I0842563e74ff8b120d34f63fa28965bf264bb55f
TEST: Ran the integration tests under |wificond|.
Signed-off-by: Roshan Pius <rpius@google.com>
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 5ca994e..1363d84 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -1673,8 +1673,11 @@
LOCAL_CFLAGS := $(L_CFLAGS)
LOCAL_C_INCLUDES := $(INCLUDES)
LOCAL_SRC_FILES := \
- binder/binder.cpp binder/binder_manager.cpp \
- binder/supplicant.cpp binder/iface.cpp
+ binder/binder.cpp \
+ binder/binder_manager.cpp \
+ binder/iface.cpp \
+ binder/network.cpp \
+ binder/supplicant.cpp
LOCAL_SHARED_LIBRARIES := \
libbinder \
libutils