sky: 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>
Signed-off-by: Rasenkai <rasenkai99@gmail.com>

Change-Id: I9acf2be7f6e5fed2e5f82948c0b77f9d67783318
This commit is contained in:
Manish Kushwaha
2024-09-22 00:49:10 +00:00
committed by suvojit213
parent 5f5a9a98a6
commit 98468068f6
2 changed files with 2 additions and 2 deletions

View File

@@ -489,7 +489,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
android.frameworks.sensorservice@1.0 \
android.frameworks.sensorservice@1.0.vendor:64 \
android.hardware.sensors@2.1-service.xiaomi-multihal \
android.hardware.sensors-service.xiaomi-multihal \
libsensorndkbridge:64
PRODUCT_COPY_FILES += \

View File

@@ -110,7 +110,7 @@
/data/vendor/diag(/.*)? u:object_r:minidump_data_file:s0
# Sensors
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@2.1-service\.xiaomi-multihal u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors-service\.xiaomi-multihal u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor.xiaomi.sensor.communicate@1.0-service u:object_r:vendor_hal_sensorcommunicate_default_exec:s0
/dev/stmvl53l5 u:object_r:stmvl53l5_device:s0