vibrator: add device specific constants

Add device specific constants required for calculating the bandwidth
amplitude map

Bug: 230807667
Test: verify the property values on P21 devices
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I9716e3d39e4196825baeebec5c968e470aa644ee
This commit is contained in:
chasewu 2022-04-14 15:30:02 +08:00 committed by Chase Wu
parent 92d180a8e8
commit f680529e42
2 changed files with 6 additions and 2 deletions

View file

@ -135,7 +135,9 @@ DEVICE_MANIFEST_FILE += \
# Vibrator HAL
PRODUCT_PRODUCT_PROPERTIES +=\
ro.vendor.vibrator.hal.long.frequency.shift=15
ro.vendor.vibrator.hal.long.frequency.shift=15 \
ro.vendor.vibrator.hal.device.mass=0.205 \
ro.vendor.vibrator.hal.loc.coeff=2.25
ACTUATOR_MODEL := luxshare_ict_081545

View file

@ -151,7 +151,9 @@ DEVICE_MANIFEST_FILE += \
# Vibrator HAL
PRODUCT_PRODUCT_PROPERTIES +=\
ro.vendor.vibrator.hal.long.frequency.shift=15
ro.vendor.vibrator.hal.long.frequency.shift=15 \
ro.vendor.vibrator.hal.device.mass=0.21 \
ro.vendor.vibrator.hal.loc.coeff=2.5
ACTUATOR_MODEL := luxshare_ict_081545