binder: Callback registration for interfaces

Add callback registration for each binder interface type:
ISupplicant, IIface, INetwork.

BUG: 30093041
Change-Id: I9043d9a033bcfbee5a80f61cf58e564249edf3a7
diff --git a/wpa_supplicant/binder/supplicant.h b/wpa_supplicant/binder/supplicant.h
index de85594..33ba3b0 100644
--- a/wpa_supplicant/binder/supplicant.h
+++ b/wpa_supplicant/binder/supplicant.h
@@ -14,7 +14,7 @@
 
 #include "fi/w1/wpa_supplicant/BnSupplicant.h"
 #include "fi/w1/wpa_supplicant/IIface.h"
-#include "fi/w1/wpa_supplicant/ISupplicantCallbacks.h"
+#include "fi/w1/wpa_supplicant/ISupplicantCallback.h"
 
 extern "C" {
 #include "utils/common.h"
@@ -52,6 +52,9 @@
 	android::binder::Status
 	GetDebugShowTimestamp(bool *show_timestamp_out) override;
 	android::binder::Status GetDebugShowKeys(bool *show_keys_out) override;
+	android::binder::Status RegisterCallback(
+	    const android::sp<fi::w1::wpa_supplicant::ISupplicantCallback>
+		&callback) override;
 
 private:
 	int convertDebugLevelToInternalLevel(
@@ -62,7 +65,7 @@
 	/* Raw pointer to the global structure maintained by the core. */
 	struct wpa_global *wpa_global_;
 	/* All the callback objects registered by the clients. */
-	std::vector<android::sp<fi::w1::wpa_supplicant::ISupplicantCallbacks>>
+	std::vector<android::sp<fi::w1::wpa_supplicant::ISupplicantCallback>>
 	    callbacks_;
 
 	DISALLOW_COPY_AND_ASSIGN(Supplicant);