build mock thermal hal

This commit is contained in:
Konsta
2023-09-24 15:40:50 +03:00
parent f973ec3b27
commit b194bfeb50
2 changed files with 7 additions and 0 deletions

View File

@@ -236,6 +236,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
suspend_blocker_rpi suspend_blocker_rpi
# Thermal
PRODUCT_PACKAGES += \
android.hardware.thermal@2.0-service.mock
# USB # USB
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.usb@1.0-service android.hardware.usb@1.0-service

View File

@@ -47,5 +47,8 @@
# Suspend # Suspend
/vendor/bin/suspend_blocker_rpi u:object_r:suspend_blocker_exec:s0 /vendor/bin/suspend_blocker_rpi u:object_r:suspend_blocker_exec:s0
# Thermal
/vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.mock u:object_r:hal_thermal_default_exec:s0
# V4L2 # V4L2
/vendor/bin/hw/android\.hardware\.media\.c2@1\.0-service-v4l2(.*)? u:object_r:mediacodec_exec:s0 /vendor/bin/hw/android\.hardware\.media\.c2@1\.0-service-v4l2(.*)? u:object_r:mediacodec_exec:s0