device_google_felix/vibrator/cs40l26
Chris Paulo 3b2b23e5e2 vibrator: Fix scaling logic for felix vibrator
Felix vibrator has stricter primitive effect scaling values.  We need to
update the logic to assure that we apply the upper and lower bounds of
the voltage range to avoid brownout and to maximize the usable range.

Bug: 344037610
Flag: EXEMPT bugfix
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuite \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  CtsVibratorTestCases
Test: Verify scale values
Change-Id: Iba8b8115fea01e56105b43f520d32c63ffcf7fd4
2024-08-12 10:59:08 -07:00
..
tests libc++fs is part of libc++ now. am: e6dbfef4d8 2024-06-10 21:49:03 +00:00
Android.bp felix/vibrator: Add removecapo flag reference for it to show up in 2024-04-18 16:23:39 -07:00
android.hardware.vibrator-service.cs40l26-private.rc Update i2c device paths 2024-02-06 16:17:39 +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 cs40l26: Align Felix Hal with common HAL 2024-03-28 22:11:29 +00: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 vibrator: Fix scaling logic for felix vibrator 2024-08-12 10:59:08 -07:00
Vibrator.h vibrator: Fix scaling logic for felix vibrator 2024-08-12 10:59:08 -07:00