device_google_lynx/vibrator/cs40l26
Chris Paulo 0db068b63c device/vibrator: Add contextual haptics feature
Add capability for vibrator HAL to detect whether the device is face-up
and adjust/scale haptic alerts to avoid loud and startling buzzing when
there is no case on the device. Added global compile-time disable that
can be set in the environment.

Bug: 198239103
Test: Verified tests and functionality
Change-Id: I6b2355acb7fa5e0323b8eca6327bb19ac42a2c56
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-16 20:19:54 +00:00
..
inc device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
proto device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
tests device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
Android.bp device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
android.hardware.vibrator-service.cs40l26-private-lynx.rc device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
android.hardware.vibrator-service.cs40l26-private-lynx.xml device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
CapoDetector.cpp device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
device.mk device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
Hardware.h device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
service.cpp device/vibrator: Move vibrator HAL into device folder for l26 2022-11-16 20:19:54 +00:00
TEST_MAPPING device/vibrator: Move vibrator HAL into device folder for l26 2022-11-16 20:19:54 +00:00
Vibrator.cpp device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00
Vibrator.h device/vibrator: Add contextual haptics feature 2022-11-16 20:19:54 +00:00