summaryrefslogtreecommitdiffstats
path: root/vibrator
Commit message (Collapse)AuthorAgeFilesLines
* vibrator: example: Initial OWNERSHarpreet "Eli" Sangha2019-03-261-0/+2
| | | | | | Test: N/A Change-Id: I2db5a52493af92a7f134e736c68cfd748ef0e721 Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
* vibrator: example: Fix New Test FailuresHarpreet "Eli" Sangha2019-03-252-7/+19
| | | | | | | Bug: 129091875 Test: VTS Change-Id: Ib57457095c8ff30aff45a5909f2408d144980976 Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
* vibrator: example: Fix out-of-scope memory access.Harpreet "Eli" Sangha2019-03-252-4/+4
| | | | | | | Bug: 129091875 Test: VTS Change-Id: I64685e6e8982db1a33c8322e1df7d266fa367eaf Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
* Add new TEXTURE_TICK constant.Michael Wright2019-03-226-18/+146
| | | | | | | | | 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
* Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6Steven Moreland2019-03-043-11/+0
|\ | | | | | | | | | | am: 7224bc9bcf Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
| * Update makefies: no 'types'Steven Moreland2019-03-043-11/+0
| | | | | | | | | | | | Bug: 123976090 Test: N/A Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
| * pack VTS cc_test binaries as general-testsKeun Soo YIM2018-12-073-0/+3
| | | | | | | | | | | | | | Test: make general-tests Bug: 120093339 Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
* | vibrator: Add Example Implementation for HAL 1.3Harpreet "Eli" Sangha2019-02-046-0/+415
| | | | | | | | | | | | | | Bug: 121352767 Test: Ran 'cmd vibrator' on 'cf_x86_phone'. Change-Id: I1e59cf6e0df31a8f47ee026c0333a5d39a9cdc5a Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
* | vibrator: Add Vibrator HAL 1.3Harpreet "Eli" Sangha2018-12-254-0/+174
| | | | | | | | | | | | | | | | | | 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>
* | pack VTS cc_test binaries as general-testsKeun Soo YIM2018-11-273-0/+3
|/ | | | | | Test: make general-tests Bug: 120093339 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
* Note confusion-causing breaks in HIDL convention.Steven Moreland2018-09-091-0/+2
| | | | | | | | | | | | | | | | | | | | These were either made at a time when the convention was not fully formed or missed during review. It is somewhat misleading since method overloading isn't supported and method names need this kind of prefix, but nothing else does. The reason for this is that everything is namespaced, but methods are all in the same namespace. The reason method overloading is not supported in HIDL is because the HIDL types may map to types that collide in the target languages, and this would cause any sort of overloading rules to require complicated machinery. Bug: N/A Test: hidl-gen -Lcheck android.hardware.usb@1.1 android.hardware.vibrator@1.1 && echo ":)" :) Change-Id: Iac23c9311925ed140ff1e15d1366829b078c8866
* rename hidl_enum_{iterator,range}Steven Moreland2018-05-021-7/+7
| | | | | | | | This is actually a range, not an iterator. Bug: 78573628 Test: m Change-Id: Ie824a3eabcb7d5af94a8752e1498bdc8c7032e40
* Add functional tests for bad input to 1.2Michael Wright2018-03-011-4/+54
| | | | | | Bug: 73336721 Test: run vts Change-Id: Idec3fe2c168fe56d9d51a2460ac3b39ae4a05416
* Convert vibrator hal test to use VtsHalHidlTargetTestEnvBaseZhuoyao Zhang2018-02-123-14/+62
| | | | | | | | | Bug: 64203181 Test: make vts vts-tradefed run vts -m VtsHalVibratorV1_0Target vts-tradefed run vts -m VtsHalVibratorV1_1Target Change-Id: Iff6015b15c0cca93213e5afe976bd98b6cb3a13b
* Add new vibrator effects.Michael Wright2018-01-255-0/+223
| | | | | | | | | | | Add new effects for pop, thud and heavy click, as well as constants to play back pre-defined ringtone effects. Bug: 64185677 Bug: 64184692 Test: run vts --skip-all-system-status-check --skip-preconditions --primary-abi-only --module VtsHalVibratorV1_2TargetTest Change-Id: I4baae73e1471208f9f54bb1c03da8c27ca6b0ee1
* Remove subdirsSteven Moreland2017-11-281-8/+0
| | | | | | | | Removing whenever I see these in code reviews. Test: none Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
* Updating makefiles for hidl_interface.Steven Moreland2017-11-132-353/+24
| | | | | | | Bug: 64487114 Test: manual Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812 Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
* Use -Werror in hardware/interfaces am: ceb435f2ba am: 1e48a3c563 am: 8247f4a2f3Chih-Hung Hsieh2017-10-181-0/+1
|\ | | | | | | | | | | am: 9d8731e255 Change-Id: Ibe4022b6f8b8089540931e47e78b5f4d8901e855
| * Use -Werror in hardware/interfaces am: ceb435f2ba am: 1e48a3c563Chih-Hung Hsieh2017-10-181-0/+1
| |\ | | | | | | | | | | | | | | | am: 8247f4a2f3 Change-Id: Ib3ac309a84c503eadc5dfa67996b2a9576a0fca5
| | * Use -Werror in hardware/interfacesChih-Hung Hsieh2017-10-181-0/+1
| | |\ | | | | | | | | | | | | | | | | | | | | am: ceb435f2ba Change-Id: I34ad0374c02d3733e7901a8296d229f74313fb52
| | | * Use -Werror in hardware/interfacesChih-Hung Hsieh2017-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix warning of unused result. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I68e35ddcdeec4290b075ececf14f82335b43e22e
* | | | Update for Soong-only makefiles.Steven Moreland2017-10-112-100/+45
| | | | | | | | | | | | | | | | | | | | | | | | Test: pass Bug: 33420795 Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
* | | | Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1Steven Moreland2017-10-112-137/+45
|\| | | | | | | | | | | | | | | | | | | | | | | am: 116161d94e Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
| * | | Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1Steven Moreland2017-10-112-137/+45
| |\| | | | | | | | | | | | | | | | | | | | | | am: 6c811964a1 Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
| | * | Update for Soong java makefiles.Steven Moreland2017-10-112-137/+45
| | |\| | | | | | | | | | | | | | | | | | | | | am: c3e80fa01e Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
| | | * Update for Soong java makefiles.Steven Moreland2017-10-102-137/+45
| | | | | | | | | | | | | | | | | | | | | | | | Test: pass Bug: 33420795 Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
* | | | Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7 am: ↵Steven Moreland2017-10-051-19/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33dc30ce49 am: 0653f3b212 Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
| * | | Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7Steven Moreland2017-10-051-19/+0
| |\| | | | | | | | | | | | | | | | | | | | | | am: 33dc30ce49 Change-Id: Ia35d20e0fc1df6f7c46b5581537d7ed387965899
| | * | Merge "Remove useless Android.mk files."Steven Moreland2017-10-051-19/+0
| | |\| | | | | | | | | | | | | | | | | | | | | am: 75d5cf515a Change-Id: I8c0918c4a787cc3f4c7c69f52737d3a0d9d64426
| | | * Merge "Remove useless Android.mk files."Treehugger Robot2017-10-051-19/+0
| | | |\
| | | | * Remove useless Android.mk files.Steven Moreland2017-10-041-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These have been c/p'd all over the place. Test: m -j nothing Bug: 33420795 Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
* | | | | Merge "Vibrator service -> .bp" am: 3a8a6f9147 am: 08853ff3ae am: 81399a45d3Steven Moreland2017-10-052-36/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 30853736bc Change-Id: I11c513170ce02a7cd6ef5c4cf6e1230e7b60e5ea
| * | | | Merge "Vibrator service -> .bp" am: 3a8a6f9147 am: 08853ff3aeSteven Moreland2017-10-052-36/+18
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 81399a45d3 Change-Id: I55f802eee986655f84fd2cc049c6dc49e3c03db8
| | * | | Merge "Vibrator service -> .bp"Steven Moreland2017-10-052-36/+18
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3a8a6f9147 Change-Id: I9369f18c88d8f64b5dfea28245bf102e647db31f
| | | * | Merge "Vibrator service -> .bp"Treehugger Robot2017-10-052-36/+18
| | | |\ \
| | | | * | Vibrator service -> .bpSteven Moreland2017-10-042-36/+18
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | Test: none Bug: 33420795 Change-Id: I420f7489a785cd9b41865674a176b478ff5437e8
* | | | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: ↵Steven Moreland2017-10-041-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 861651985f am: b53e6ad535 am: 9a17f41f6f Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
| * | | | Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985fSteven Moreland2017-10-041-0/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b53e6ad535 Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
| | * | | Merge "Update for hidl adapter module defaults."Steven Moreland2017-10-041-0/+1
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 988c977079 Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
| | | * | Update for hidl adapter module defaults.Steven Moreland2017-10-041-0/+1
| | | |/ | | | | | | | | | | | | | | | | Test: pass Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
* | | | Update makefiles for hidl-adapter (2/2).Steven Moreland2017-09-271-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37518178 Test: none Change-Id: I77fe67964f89da8b66aeb8df6d424de0f8689f8d
* | | | Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: ↵Steven Moreland2017-09-271-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71a193a425 am: 9fdd241905 Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
| * | | Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3Steven Moreland2017-09-261-1/+2
| |\| | | | | | | | | | | | | | | | | | | | | | am: 71a193a425 Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
| | * | Merge "Fix typo in update makefiles."Steven Moreland2017-09-261-1/+2
| | |\| | | | | | | | | | | | | | | | | | | | | am: 9960148420 Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
| | | * Fix typo in update makefiles.Steven Moreland2017-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37518178 Test: pass Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
* | | | Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290Steven Moreland2017-09-261-0/+73
|\| | | | | | | | | | | | | | | | | | | | | | | am: 97228c0b7d Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
| * | | Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7eSteven Moreland2017-09-261-0/+73
| |\| | | | | | | | | | | | | | | | | | | | | | am: b94d0c7290 Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
| | * | Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+73
| | |\| | | | | | | | | | | | | | | | | | | | | am: 26a0bb2762 Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
| | | * Update makefiles for hidl adapter.Steven Moreland2017-09-251-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 37518178 Test: manual Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
| | * | VTS tests now static link to HAL def libs.Tri Vo2017-08-281-13/+2
| | |\| | | | | | | | | | | | | | | | | | | | | am: b65c5ceff2 Change-Id: I393284c12ca5cb79926c4891ffcfd332408a5b9f