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/thermalCommon.h b/thermalCommon.h
index e61bb2a..cff388b 100644
--- a/thermalCommon.h
+++ b/thermalCommon.h
@@ -33,11 +33,10 @@
#include "thermalData.h"
+namespace aidl {
namespace android {
namespace hardware {
namespace thermal {
-namespace V2_0 {
-namespace implementation {
#define RETRY_CT 3
@@ -54,7 +53,6 @@
int read_cdev_state(struct therm_cdev& cdev);
int read_temperature(struct therm_sensor& sensor);
int estimateSeverity(struct therm_sensor& sensor);
- int get_cpu_usages(hidl_vec<CpuUsage>& list);
std::vector<struct therm_sensor> fetch_sensor_list()
{
@@ -76,10 +74,8 @@
int sens_idx);
};
-} // namespace implementation
-} // namespace V2_0
} // namespace thermal
} // namespace hardware
} // namespace android
-
+} // namespace aidl
#endif // THERMAL_THERMAL_COMMON_H__