thermal: add getUndefinedTemperature function.
Bug: 34107726
Test: cts, vts
Change-Id: I8a3794158fbc0c9518a26f4616263aa464b43924
diff --git a/thermal/1.0/IThermal.hal b/thermal/1.0/IThermal.hal
index e5f70cb..076b697 100644
--- a/thermal/1.0/IThermal.hal
+++ b/thermal/1.0/IThermal.hal
@@ -75,4 +75,19 @@
getCoolingDevices()
generates (ThermalStatus status, vec<CoolingDevice> devices);
+ /* Retrieves an undefined temperature value.
+ *
+ * @return status Status of the operation. If status code is FAILURE,
+ * the status.debugMessage must be populated with the human-readable
+ * error message.
+ * @return undefinedTemperature returns an undefined temperature value if
+ * status code is SUCCESS. Undefined temperature value is an
+ * unreachable constant device temperature value for HAL.
+ *
+ */
+ @callflow(next={"*"})
+ @entry
+ @exit
+ getUndefinedTemperature()
+ generates (ThermalStatus status, float undefinedTemperature);
};