device_google_felix/vibrator/cs40l26
Chase Wu 968c3d1a00 cs40l26: Fix the composed effect delay problem
When user typed the gboard back-to-back, HAL will send a STOP call right
after it sends a START call. At this moment, driver is under an
activating process and the vibe_state is not 1, so the erasing process
will be forced to wait for the FW's completed signal.
This makes STOP call consumes lots of waiting time and user would still
feels a delay gap under back-to-back typing behavior.

This patch removes the erased process from the STOP call and let it be
done in the completed process.

Bug: 263476381
Test: atest PtsVibratorHalTestSuite \
            PtsHapticsTestCases \
            PtsHapticsFeatureTestCases \
            VibratorHalCs40l26TestSuite \
            VtsHalVibratorManagerTargetTest \
            VtsHalVibratorTargetTest \
            android.os.cts.VibratorTest \
            android.os.cts.VibratorManagerTest \
            android.os.cts.VibrationEffectTest \
            android.os.cts.VibrationAttributesTest \
            android.os.cts.CombinedVibrationTest
Test: Type Gboard with five fingers

Change-Id: I02dfdae4e9e9334a253106f631c933228398b077
2023-02-11 11:58:05 +08:00
..
tests [DO NOT MERGE] cs40l26: single HAL for dual haptics 2022-12-12 17:34:18 +00:00
Android.bp [DO NOT MERGE] cs40l26: single HAL for dual haptics 2022-12-12 17:34:18 +00:00
android.hardware.vibrator-service.cs40l26-private.rc [DO NOT MERGE] cs40l26: single HAL for dual haptics 2022-12-12 17:34:18 +00:00
android.hardware.vibrator-service.cs40l26-private.xml [DO NOT MERGE] cs40l26: single HAL for dual haptics 2022-12-12 17:34:18 +00:00
device.mk [DO NOT MERGE] cs40l26: single HAL for dual haptics 2022-12-12 17:34:18 +00:00
Hardware.h [DO NOT MERGE] cs40l26: Fix the temporary no function symptom 2022-12-18 20:22:34 +08:00
service.cpp [DO NOT MERGE] cs40l26: single HAL for dual haptics 2022-12-12 17:34:18 +00:00
TEST_MAPPING cs40l26: Move the latest vibrator HAL to device 2022-10-28 23:31:07 +08:00
VibMgrHwApi.h [DO NOT MERGE] cs40l26: single HAL for dual haptics 2022-12-12 17:34:18 +00:00
Vibrator.cpp cs40l26: Fix the composed effect delay problem 2023-02-11 11:58:05 +08:00
Vibrator.h [DO NOT MERGE] vibrator/cs40l26: Adding minimum scale for composition primitives 2022-12-20 19:27:56 +00:00