Commit graph

13 commits

Author SHA1 Message Date
Steven Moreland
cb5d107734 Restore vibrator@1.3 example service.
To ensure we still have a HIDL vibrator service around for testing.
This is from running command:
    git checkout 714220ef75707d826371c6c020c45663d6965f0c^ -- \
        vibrator/1.3/example

Bug: 141828236
Test: N/A
Change-Id: Iffd5c8d4b95466f1b7b277c9f69d9a6001f12db8
2019-11-10 20:20:48 -08:00
Treehugger Robot
48141f00ab Merge "[vts-core] add VtsHalVibratorV1_*TargetTest to vts-core" 2019-10-23 02:02:04 +00:00
nelsonli
10976957e7 [vts-core] add VtsHalVibratorV1_*TargetTest to vts-core
Convert VtsHalVibratorV1_*TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $atest VtsHalVibratorV1_0TargetTest
      $atest VtsHalVibratorV1_1TargetTest
      $atest VtsHalVibratorV1_2TargetTest
      $atest VtsHalVibratorV1_3TargetTest
Change-Id: Ied47225bf40cce99648200b79cd7dd65e5222394
2019-10-23 02:00:22 +00:00
Harpreet \"Eli\" Sangha
714220ef75 vibrator: Async Callback API Example
Bug: 136220871
Test: VTS Tests
Change-Id: I338f16d72cd7b1ba60ddf812e4cb87a6011de752
Merged-In: I338f16d72cd7b1ba60ddf812e4cb87a6011de752
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
2019-10-15 02:10:09 +09:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00
Steven Moreland
99712c08cc Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I53e5bf67a0d314e1b10c0ba0c7172a7af358ddcc
2019-04-18 18:13:05 -07:00
Harpreet "Eli" Sangha
15d5202fa7 vibrator: example: Enforce API-Specific Effect Range
Bug: 130265348
Test: vts-tradefed run singleCommand vts-hal -m VtsHalVibratorV1_2Target
Change-Id: I45cc2ad64295d6a63ef3280d4d5b869e19786ce3
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2019-04-12 02:56:26 +00:00
Harpreet "Eli" Sangha
1f3a3a995b vibrator: example: Initial OWNERS
Test: N/A
Change-Id: I2db5a52493af92a7f134e736c68cfd748ef0e721
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2019-03-26 13:46:00 +09:00
Harpreet "Eli" Sangha
79755bc570 vibrator: example: Fix New Test Failures
Bug: 129091875
Test: VTS
Change-Id: Ib57457095c8ff30aff45a5909f2408d144980976
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2019-03-25 16:43:48 +09:00
Harpreet "Eli" Sangha
a244321f72 vibrator: example: Fix out-of-scope memory access.
Bug: 129091875
Test: VTS
Change-Id: I64685e6e8982db1a33c8322e1df7d266fa367eaf
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2019-03-25 14:21:07 +09:00
Michael Wright
a4c94fd128 Add new TEXTURE_TICK constant.
Unlike TICK, this is specifically meant to be called repeatedly in
reaction to small movements in order to replicate a specific texture.

Bug: 111461797
Test: VTS
Change-Id: If21687b5fed5f578a638017abc9ce479a122612d
2019-03-22 01:21:33 +00:00
Harpreet "Eli" Sangha
e8631244ad vibrator: Add Example Implementation for HAL 1.3
Bug: 121352767
Test: Ran 'cmd vibrator' on 'cf_x86_phone'.
Change-Id: I1e59cf6e0df31a8f47ee026c0333a5d39a9cdc5a
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2019-02-04 11:32:30 +09:00
Harpreet "Eli" Sangha
1f1532631a vibrator: Add Vibrator HAL 1.3
Add API for enabling/disabling external control of vibrator.

Bug: 117835666
Test: Sanity Check Via 'cmd vibrator'
Change-Id: I5342ca9feba1811efcb5483668858db3f70ad686
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2018-12-25 13:40:38 +09:00