device_google_felix/vibrator/cs40l26
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
..
tests vibrator: cs40l26: Implement braking duration for haptic effects 2024-08-02 12:48:19 +08: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 vibrator: cs40l26: Implement braking duration for haptic effects 2024-08-02 12:48:19 +08: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 vibrator: common: Check whether file is opened correctly 2024-08-02 12:55:23 +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 vibrator: cs40l26: Implement braking duration for haptic effects 2024-08-02 12:48:19 +08:00
Vibrator.h vibrator: cs40l26: Implement braking duration for haptic effects 2024-08-02 12:48:19 +08:00