thermal-hal: AIDL migration
Changes to migrate from HDIL to AIDL
Signed-off-by: Bavyasritha Alahari <alahari@quicinc.com>
Change-Id: If865913acc1183562a67f508777ac545b0aaad99
diff --git a/thermalMonitorNetlink.h b/thermalMonitorNetlink.h
index 7e42690..09d4efd 100644
--- a/thermalMonitorNetlink.h
+++ b/thermalMonitorNetlink.h
@@ -29,6 +29,10 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/* Changes from Qualcomm Innovation Center are provided under the following license:
+
+Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+SPDX-License-Identifier: BSD-3-Clause-Clear */
#ifndef THERMAL_THERMAL_MONITOR_NETLINK_H__
#define THERMAL_THERMAL_MONITOR_NETLINK_H__
@@ -38,13 +42,12 @@
#include <netlink/genl/mngt.h>
#include <netlink/genl/ctrl.h>
#include <netlink/netlink.h>
-#include <android/hardware/thermal/2.0/IThermal.h>
+#include <aidl/android/hardware/thermal/BnThermal.h>
+namespace aidl{
namespace android {
namespace hardware {
namespace thermal {
-namespace V2_0 {
-namespace implementation {
using eventMonitorCB = std::function<void(int, int)>;
using eventCreateMonitorCB = std::function<void(int, const char *)>;
@@ -77,10 +80,9 @@
int send_nl_msg(struct nl_msg *msg);
};
-} // namespace implementation
-} // namespace V2_0
} // namespace thermal
} // namespace hardware
} // namespace android
+} // namespace aidl
#endif // THERMAL_THERMAL_MONITOR_NETLINK_H__