fix wrong area type mapping in hvac

- wrong id was used to get zone type
- also added more info to dump and test log to make debugging easier.

bug: 32171021
Change-Id: I9562edae7638e2acc6bf8f342e51c07c3b9e9cd0
diff --git a/service/src/com/android/car/hal/CarPropertyUtils.java b/service/src/com/android/car/hal/CarPropertyUtils.java
index 8c8e9c1..c584f31 100644
--- a/service/src/com/android/car/hal/CarPropertyUtils.java
+++ b/service/src/com/android/car/hal/CarPropertyUtils.java
@@ -142,7 +142,7 @@
     static CarPropertyConfig<?> toCarPropertyConfig(VehiclePropConfig p, int propertyId) {
         int[] areas = VehicleZoneUtil.listAllZones(p.getZones());
 
-        int areaType = getVehicleAreaType(VehicleNetworkConsts.getVehicleZoneType(propertyId));
+        int areaType = getVehicleAreaType(VehicleNetworkConsts.getVehicleZoneType(p.getProp()));
 
         Class<?> clazz = getJavaClass(p.getValueType());
         if (clazz == Boolean.class || clazz == byte[].class || clazz == String.class) {