Revert "sm6375-common: Switch to Thermal 2.0 mock"

This reverts commit e03aec7112.

Reason for revert: We're switching to QTI AIDL thermal.

Change-Id: I27b78d5dcc32e0dce31a39d2a71ba4b3b9892a50
This commit is contained in:
Anand S 2024-11-11 12:32:25 +05:30
parent 71317365f8
commit 0607293922
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
7 changed files with 5 additions and 23 deletions

View file

@ -435,7 +435,7 @@ PRODUCT_COPY_FILES += \
# Thermal # Thermal
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.thermal@2.0-service.mock \ android.hardware.thermal@2.0-service.qti \
android.hardware.thermal@2.0 \ android.hardware.thermal@2.0 \
android.hardware.thermal@2.0.vendor android.hardware.thermal@2.0.vendor

View file

@ -94,7 +94,6 @@
# Thermal # Thermal
/dev/mmi_sys_temp u:object_r:vendor_thermal_device:s0 /dev/mmi_sys_temp u:object_r:vendor_thermal_device:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.thermal@2\.0-service\.mock u:object_r:hal_thermal_default_exec:s0
# Vendor init scripts # Vendor init scripts
/(vendor|system/vendor)/bin/load_touch\.sh u:object_r:vendor_qti_init_shell_exec:s0 /(vendor|system/vendor)/bin/load_touch\.sh u:object_r:vendor_qti_init_shell_exec:s0

View file

@ -1,8 +0,0 @@
allow hal_thermal_default sysfs_thermal:dir r_dir_perms;
allow hal_thermal_default sysfs_thermal:file rw_file_perms;
allow hal_thermal_default proc_stat:file r_file_perms;
allow hal_thermal_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
# read thermal config
get_prop(hal_thermal_default, vendor_thermal_prop)

View file

@ -5,6 +5,3 @@ vendor_internal_prop(vendor_mot_fingerprint_prop);
vendor_internal_prop(vendor_mot_hw_prop); vendor_internal_prop(vendor_mot_hw_prop);
vendor_internal_prop(vendor_mot_touch_prop); vendor_internal_prop(vendor_mot_touch_prop);
vendor_internal_prop(vendor_mot_nfc_prop); vendor_internal_prop(vendor_mot_nfc_prop);
# Thermal engine
vendor_internal_prop(vendor_thermal_prop)

View file

@ -21,6 +21,3 @@ vendor.nfc.fw_status u:object_r:vendor_mot_nfc_prop:s0
persist.vendor.hardware.fingerprint u:object_r:vendor_mot_fingerprint_prop:s0 persist.vendor.hardware.fingerprint u:object_r:vendor_mot_fingerprint_prop:s0
vendor.hw.fps.ident u:object_r:vendor_mot_fingerprint_prop:s0 vendor.hw.fps.ident u:object_r:vendor_mot_fingerprint_prop:s0
vendor.hw.fingerprint.status u:object_r:vendor_mot_fingerprint_prop:s0 vendor.hw.fingerprint.status u:object_r:vendor_mot_fingerprint_prop:s0
# Thermal engine
vendor.thermal.config u:object_r:vendor_thermal_prop:s0

View file

@ -1,7 +0,0 @@
allow vendor_thermal-engine { proc_stat proc_loadavg }:file r_file_perms;
allow vendor_thermal-engine vendor_thermal_device:chr_file rw_file_perms;
rw_dir_file(vendor_thermal-engine, vendor_sysfs_battery_supply)
rw_dir_file(vendor_thermal-engine, vendor_sysfs_usb_supply)
set_prop(vendor_thermal-engine, vendor_thermal_prop);
r_dir_file(vendor_thermal-engine, sysfs_thermal)

View file

@ -0,0 +1,4 @@
allow vendor_thermal-engine { proc_stat proc_loadavg }:file r_file_perms;
allow vendor_thermal-engine vendor_thermal_device:chr_file rw_file_perms;
r_dir_file(vendor_thermal-engine, vendor_sysfs_battery_supply)
r_dir_file(vendor_thermal-engine, vendor_sysfs_usb_supply)