Leonard Ian
09d11a02b0
Merge "cs40l26: Align Felix HAL dump logs with common HAL" into main
2024-09-02 09:04:25 +00:00
leonardian
a644ef2a33
cs40l26: Align Felix HAL dump logs with common HAL
...
- Add driver, firmware, and tuning versions.
- Increase HAL buffer size to 2048 lines.
- Add F0, active ID, redc
Bug: 348316804
Flag: EXEMPT bugfix
Test: Checked HAL dumpsys
Test: atest PTS, VTS, CTS
Change-Id: I277d270533868cf2075388bdc329d77c9065801e
2024-08-30 04:33:59 +00:00
leonardian
1d29f93863
vibrator: common: Check whether file is opened correctly
...
- Add compile-time type checking inside the has() function to ensure it
receives the correct type.
- Add is_open() inside the has() function.
Bug: 350911314
Test: alarm, ringtone vibrations
Test: keyboard vibrations
Test: idlcli commands
Test: atest PTS, CTS, VTS
Flag: EXEMPT bugfix
Change-Id: Ifa8f197f6f4b25d51b2edaf6fec27a086bd4f73c
2024-08-02 12:55:23 +08:00
leonardian
0dcee74707
vibrator: cs40l26: Implement braking duration for haptic effects
...
1. Add sysfs nodes for querying braking duration
- braking_time_bank
- braking_time_index
- braking_time_ms
2. Set delay time between effects to include the whole braking duration
3. Add braking effect durations in HAL dumpsys logs
Bug: 325121485
Test: Plotted acceleration
Test: Checked HAL dumpsys
Test: atest VibratorHalCs40l26TestSuite
Flag: EXEMPT bugfix
Change-Id: Ifacc94db4224adbab971e8d2c01c54422838760c
Signed-off-by: leonardian <leonardian@google.com>
2024-08-02 12:48:19 +08:00
Tai Kuo
cfabdfaacc
Replace vibrator/ from git_tm-qpr-dev
...
Lastest commit:
2724d61
vibrator/cs40l26: Fix unsupport primitive effects test
Bug: 267926374
Bug: 264625320
Test: HAL init properly.
Change-Id: I1c01ea8c6d584ae58d8d20f21a9ac43a8977f435
2023-02-06 11:34:50 +08:00
Chase Wu
89fda9efcb
cs40l26: Move the latest vibrator HAL to device
...
This is the base version for the vibrator manager feature.
Bug: 181615889
Test: Run all test suites
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I703835346864853a0d5a5918e3c50f541b67dc1f
2022-10-28 23:31:07 +08:00