sm8350-common: Migrate sensor HAL to AIDL interface

Bug: 247478991
Test: tested on-device (P23) ab/P46941077
Test: `sensor_test -ahal list` and `sensor_test list`
Test: `sensor_test -ahal sample -s0` and `sensor_test sample -s0`

Change-Id: I40f6ab6b7780c53cd638a1f77c95f6c324dc2d15
Signed-off-by: ralph950412 <ralph950412@gmail.com>
This commit is contained in:
Manish Kushwaha 2023-12-07 01:30:46 +08:00 committed by FlowerSea0208
parent 6ec43311ae
commit 0b7eed4b7d
2 changed files with 2 additions and 2 deletions

View File

@ -446,7 +446,7 @@ PRODUCT_PACKAGES += \
# Sensors
PRODUCT_PACKAGES += \
android.frameworks.sensorservice@1.0.vendor \
android.hardware.sensors@2.1-service.xiaomi-multihal \
android.hardware.sensors-service.xiaomi-multihal \
vendor.qti.hardware.display.mapper@1.1.vendor
PRODUCT_COPY_FILES += \

View File

@ -43,7 +43,7 @@
/sys/devices/platform/us_prox.0/iio:device1(/.*)? u:object_r:vendor_sysfs_iio:s0
/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-00/c440000.qcom,spmi:qcom,pmk8350@0:vadc@3100/iio:device0(/.*)? u:object_r:vendor_sysfs_iio:s0
/sys/devices/platform/soc/soc:qcom,dsi-display-primary/mi_display/disp-DSI-0/dynamic_fps u:object_r:vendor_sysfs_graphics:s0
/vendor/bin/hw/android\.hardware\.sensors@2.1-service\.xiaomi-multihal u:object_r:hal_sensors_default_exec:s0
/vendor/bin/hw/android\.hardware\.sensors-service\.xiaomi-multihal u:object_r:hal_sensors_default_exec:s0
/vendor/bin/hw/vendor\.xiaomi\.hardware\.citsensorservice@1\.1-service u:object_r:vendor_hal_citsensorservice_xiaomi_default_exec:s0
# Fingerprint