thermal: Add VSKIN-MODEL

- Enable vskin-model but not apply thermal throttle
- Capture model abnormal value when it's outside -20 and 60 degC

Bug: 330247219
Test: Build and boot to home
Change-Id: Ibfa26713129b0e22305ca4ed147b9cebd05858b6
Signed-off-by: Peter (YM) <peterym@google.com>
This commit is contained in:
Peter (YM) 2024-03-21 07:22:02 +00:00
parent a314a61b6d
commit 0a40d744ba
3 changed files with 62 additions and 5 deletions

View file

@ -82,6 +82,15 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
device/google/tegu/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
# Thermal VT estimator
PRODUCT_PACKAGES += \
libthermal_tflite_wrapper
# Thermal Model
TARGET_VENDOR_THERMAL_CONFIG_PATH := device/google/tegu/thermal
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_THERMAL_CONFIG_PATH)/vt_estimation_model_tegu.tflite:$(TARGET_COPY_OUT_VENDOR)/etc/vt_estimation_model.tflite \
# Bluetooth HAL
PRODUCT_COPY_FILES += \
device/google/tegu/bluetooth/bt_vendor_overlay_tegu.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf