vibrator: Add adaptive haptics feature

Add adaptive haptics feature to vibrator hal.  This will allow the hal
to scale vibrations, if needed, based on the orientation of the device.

Bug: 198239103
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuite \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  android.os.cts.VibratorTest \
  android.os.cts.VibratorManagerTest \
  android.os.cts.VibrationEffectTest \
  android.os.cts.VibrationAttributesTest \
  android.os.cts.CombinedVibrationTest
Change-Id: I81c67151a9b2e836f376cdf20b1acf63f281119f
Signed-off-by: Chris Paulo <chrispaulo@google.com>
11 files changed