wpa_supplicant(hidl): Add P2P stub methods
Add stubs for all the P2P methods.
Bug: 31497295
Test: Compiles
Change-Id: Idba0ad351901e6c86fe42dcaa6a4a565073243b1
diff --git a/wpa_supplicant/hidl/supplicant.cpp b/wpa_supplicant/hidl/supplicant.cpp
index e903221..aba4402 100644
--- a/wpa_supplicant/hidl/supplicant.cpp
+++ b/wpa_supplicant/hidl/supplicant.cpp
@@ -64,6 +64,14 @@
show_timestamp, show_keys);
}
+Return<void> Supplicant::setConcurrencyPriority(
+ IfaceType type, setConcurrencyPriority_cb _hidl_cb)
+{
+ return validateAndCall(
+ this, SupplicantStatusCode::FAILURE_IFACE_INVALID,
+ &Supplicant::setConcurrencyPriorityInternal, _hidl_cb, type);
+}
+
Return<ISupplicant::DebugLevel> Supplicant::getDebugLevel()
{
// TODO: Add SupplicantStatus in this method return for uniformity with
@@ -154,6 +162,12 @@
}
return {SupplicantStatusCode::SUCCESS, ""};
}
+
+SupplicantStatus Supplicant::setConcurrencyPriorityInternal(IfaceType type)
+{
+ // TODO: Add implementation.
+ return SupplicantStatus{SupplicantStatusCode::SUCCESS, ""};
+}
} // namespace implementation
} // namespace V1_0
} // namespace wifi