Instead of hardcoding thermal zone numbers, make thermalHAL look up
thermistors by name. This is a backport of the way thermalHAL keeps
track of thermal zones in b1c1.
Bug: 75972023
Test: VtsHalThermalV1_0TargetTest passes
Test: VtsHalThermalV1_1TargetTest passes
Test: manual - flash device and check logcat for thermalHAL output.
Change-Id: I24194ea6dd0372b52f525ac288108ee9da30258a
Expose USB-C to calls to getTemperatures() in ThermalHAL for wahoo.
Bug: 67749183
Test: VtsHalThermalV1_0TargetTest pass
Change-Id: Ic45dea1c990e0c71a6ac621145b93cb0f7aa9519
(cherry picked from commit 51872d4950)
Add private HAL implementation methods for use in interacting with
the thermal-engine daemon:
* getSkinSensorType returns the "type" (name) of the skin sensor
for walleye vs. taimen
* notifyThrottling pushes throttling start/stop events to the HAL
for forwarding to IThermalCallback in the generic framework.
Bug: 30982366
Test: manual on walleye (with artifically low threshold)
Change-Id: I082c100df22880bfd53c2cb5c78b0be47c58894e