1. Correct device version comparison method
2. Support proto device to use previous target G
Bug: 157610908
Test: use proto and dvt device to check it
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Id5de9f6de3788284cd56908b3189b1f8cefc8ab4
Since EVT and DVT devices were applied different target G values,
we have to add a workaround to support this condition.
Bug: 157610908
Bug: 157714236
Bug: 154788092
Test: manual check logs
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I5d534d44a6f765250f16a13cc7bb9ccecc120f99
Due to factory request, I add this support to
calibration process flow.
Bug: 154684508
Test: local push cal file to check the value
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I66a7adf5cc0c5515a13b532c6a341601ad8ac1cd
Those sensor logs are experimential for a while.
Bug: 154279225
Test: manual check logs
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I60ddbf80ae7dd9ce5a86fcadfc4e7720954e4e0e
In motion awareness function, it was expected to use
previous sensor data to apply motion or non-motion
strength within 2 secs.
However, it used the default value which is 0 to determine
the strength.
Bug: 153830649
Bug: 153934655
Test: UT and local test
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Ic12512a9635d95c42bbe52ad92a0ad603af4081b
From component reliability test results, the actuator
operating life is lower in low temperature.
Thus, we changed the voltage when device in a low
temperature to expand the actuator operating life.
Temperature rule:
> 10°C : Switch to "Normal Intensity" => Depends on each device's K file
5 ~ 10°C: This is a buffer period. Keep current voltage setting.
< 5°C: Switch to "Low Bound Intensity" => ~1.8 Vpeak(od_clamp=90), sine wave, F0-10.
Bug: 151063347
Test: remove vibrator properties and test VTS items
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: Ie0d22e561aca94a3b61f5e42ddf50ca4a991bda2
Reference the delta from the leading project.
Bug: 148918900
Test: manual haptics function check and logs
Change-Id: I777d3295a7a92e2ce8547b85886038cfbe32ac5a
Signed-off-by: chasewu <chasewu@google.com>
Since these were combined into libhidlbase.
Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I82b2f09a41aaffd30e943b87c0a84bc85fdf4c14