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/binder/iface.h b/wpa_supplicant/binder/iface.h
index bf8c6f0..13dd4b0 100644
--- a/wpa_supplicant/binder/iface.h
+++ b/wpa_supplicant/binder/iface.h
@@ -18,6 +18,8 @@
 extern "C" {
 #include "utils/common.h"
 #include "utils/includes.h"
+#include "../config.h"
+#include "../notify.h"
 #include "../wpa_supplicant_i.h"
 }
 
@@ -40,6 +42,10 @@
 	    android::sp<fi::w1::wpa_supplicant::INetwork> *network_object_out)
 	    override;
 	android::binder::Status RemoveNetwork(int network_id) override;
+	android::binder::Status GetNetwork(
+	    int network_id,
+	    android::sp<fi::w1::wpa_supplicant::INetwork> *network_object_out)
+	    override;
 
 private:
 	struct wpa_supplicant *retrieveIfacePtr();