Steven Moreland
146405b58a
Note confusion-causing breaks in HIDL convention.
...
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
2018-09-09 12:31:05 -07:00
Steven Moreland
c90461c738
rename hidl_enum_{iterator,range}
...
This is actually a range, not an iterator.
Bug: 78573628
Test: m
Change-Id: Ie824a3eabcb7d5af94a8752e1498bdc8c7032e40
2018-05-02 00:06:33 +00:00
Michael Wright
47cde04edd
Add functional tests for bad input to 1.2
...
Bug: 73336721
Test: run vts
Change-Id: Idec3fe2c168fe56d9d51a2460ac3b39ae4a05416
2018-03-01 22:15:13 +00:00
Zhuoyao Zhang
7e1c2896ad
Convert vibrator hal test to use VtsHalHidlTargetTestEnvBase
...
Bug: 64203181
Test: make vts
vts-tradefed run vts -m VtsHalVibratorV1_0Target
vts-tradefed run vts -m VtsHalVibratorV1_1Target
Change-Id: Iff6015b15c0cca93213e5afe976bd98b6cb3a13b
2018-02-12 15:13:38 -08:00
Michael Wright
ed5d92cc7c
Add new vibrator effects.
...
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
2018-01-25 00:53:31 +00:00
Steven Moreland
fcca4e23b7
Remove subdirs
...
Removing whenever I see these in code reviews.
Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:43 -08:00
Steven Moreland
8db261bc99
Updating makefiles for hidl_interface.
...
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Chih-Hung Hsieh
1024478de1
Use -Werror in hardware/interfaces am: ceb435f2ba
am: 1e48a3c563
am: 8247f4a2f3
...
am: 9d8731e255
Change-Id: Ibe4022b6f8b8089540931e47e78b5f4d8901e855
2017-10-18 00:24:55 +00:00
Chih-Hung Hsieh
9d8731e255
Use -Werror in hardware/interfaces am: ceb435f2ba
am: 1e48a3c563
...
am: 8247f4a2f3
Change-Id: Ib3ac309a84c503eadc5dfa67996b2a9576a0fca5
2017-10-18 00:21:54 +00:00
Chih-Hung Hsieh
1e48a3c563
Use -Werror in hardware/interfaces
...
am: ceb435f2ba
Change-Id: I34ad0374c02d3733e7901a8296d229f74313fb52
2017-10-18 00:17:51 +00:00
Chih-Hung Hsieh
ceb435f2ba
Use -Werror in hardware/interfaces
...
* Fix warning of unused result.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I68e35ddcdeec4290b075ececf14f82335b43e22e
2017-10-17 10:12:29 -07:00
Steven Moreland
f390f03aa4
Update for Soong-only makefiles.
...
Test: pass
Bug: 33420795
Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
2017-10-11 18:30:28 +00:00
Steven Moreland
1d7374c5e1
Update for Soong java makefiles. am: c3e80fa01e
am: 0fff75dee1
am: 6c811964a1
...
am: 116161d94e
Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e
Update for Soong java makefiles. am: c3e80fa01e
am: 0fff75dee1
...
am: 6c811964a1
Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
0fff75dee1
Update for Soong java makefiles.
...
am: c3e80fa01e
Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
2017-10-11 16:23:54 +00:00
Steven Moreland
c3e80fa01e
Update for Soong java makefiles.
...
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Steven Moreland
9b019ac4fe
Merge "Remove useless Android.mk files." am: 75d5cf515a
am: f27cfa15d7
am: 33dc30ce49
...
am: 0653f3b212
Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
2017-10-05 21:52:50 +00:00
Steven Moreland
0653f3b212
Merge "Remove useless Android.mk files." am: 75d5cf515a
am: f27cfa15d7
...
am: 33dc30ce49
Change-Id: Ia35d20e0fc1df6f7c46b5581537d7ed387965899
2017-10-05 21:51:13 +00:00
Steven Moreland
f27cfa15d7
Merge "Remove useless Android.mk files."
...
am: 75d5cf515a
Change-Id: I8c0918c4a787cc3f4c7c69f52737d3a0d9d64426
2017-10-05 21:44:26 +00:00
Treehugger Robot
75d5cf515a
Merge "Remove useless Android.mk files."
2017-10-05 21:40:27 +00:00
Steven Moreland
18d20b66e6
Merge "Vibrator service -> .bp" am: 3a8a6f9147
am: 08853ff3ae
am: 81399a45d3
...
am: 30853736bc
Change-Id: I11c513170ce02a7cd6ef5c4cf6e1230e7b60e5ea
2017-10-05 16:11:23 +00:00
Steven Moreland
30853736bc
Merge "Vibrator service -> .bp" am: 3a8a6f9147
am: 08853ff3ae
...
am: 81399a45d3
Change-Id: I55f802eee986655f84fd2cc049c6dc49e3c03db8
2017-10-05 16:09:25 +00:00
Steven Moreland
08853ff3ae
Merge "Vibrator service -> .bp"
...
am: 3a8a6f9147
Change-Id: I9369f18c88d8f64b5dfea28245bf102e647db31f
2017-10-05 16:04:02 +00:00
Treehugger Robot
3a8a6f9147
Merge "Vibrator service -> .bp"
2017-10-05 15:59:25 +00:00
Steven Moreland
fb6868208b
Vibrator service -> .bp
...
Test: none
Bug: 33420795
Change-Id: I420f7489a785cd9b41865674a176b478ff5437e8
2017-10-04 16:08:30 -07:00
Steven Moreland
4b60470f1a
Remove useless Android.mk files.
...
These have been c/p'd all over the place.
Test: m -j nothing
Bug: 33420795
Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
2017-10-04 15:52:40 -07:00
Steven Moreland
70bfb9d250
Merge "Update for hidl adapter module defaults." am: 988c977079
am: 861651985f
am: b53e6ad535
...
am: 9a17f41f6f
Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
2017-10-04 21:54:11 +00:00
Steven Moreland
9a17f41f6f
Merge "Update for hidl adapter module defaults." am: 988c977079
am: 861651985f
...
am: b53e6ad535
Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
861651985f
Merge "Update for hidl adapter module defaults."
...
am: 988c977079
Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
2017-10-04 21:45:09 +00:00
Steven Moreland
527fd76a0e
Update for hidl adapter module defaults.
...
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Steven Moreland
3788a7321f
Update makefiles for hidl-adapter (2/2).
...
Bug: 37518178
Test: none
Change-Id: I77fe67964f89da8b66aeb8df6d424de0f8689f8d
2017-09-27 08:55:47 -07:00
Steven Moreland
91799c6cc7
Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3
am: 71a193a425
...
am: 9fdd241905
Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
9fdd241905
Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3
...
am: 71a193a425
Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
f07e364ce3
Merge "Fix typo in update makefiles."
...
am: 9960148420
Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
2017-09-26 23:51:07 +00:00
Steven Moreland
a5299ee739
Fix typo in update makefiles.
...
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
7741c0e17b
Update makefiles for hidl adapter. am: 26a0bb2762
am: 73949c1d7e
am: b94d0c7290
...
am: 97228c0b7d
Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
2017-09-26 13:36:09 +00:00
Steven Moreland
97228c0b7d
Update makefiles for hidl adapter. am: 26a0bb2762
am: 73949c1d7e
...
am: b94d0c7290
Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Steven Moreland
73949c1d7e
Update makefiles for hidl adapter.
...
am: 26a0bb2762
Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
2017-09-25 23:14:44 +00:00
Steven Moreland
26a0bb2762
Update makefiles for hidl adapter.
...
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Jaekyun Seok
81104ae5ef
Add 'vendor.' prefix to a vendor HAL service name
...
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility .
Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
2017-09-12 08:01:42 +09:00
Tri Vo
ba6d6e5767
VTS tests now static link to HAL def libs.
...
am: b65c5ceff2
Change-Id: I393284c12ca5cb79926c4891ffcfd332408a5b9f
2017-08-28 19:23:36 +00:00
Tri Vo
b65c5ceff2
VTS tests now static link to HAL def libs.
...
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.
Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
2017-08-25 11:48:10 -07:00
Steven Moreland
dfd8287506
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
2017-08-14 20:25:09 +00:00
Steven Moreland
4f25c2a143
Revert "Revert "Updating all makefiles.""
...
Relanding without automotive/vehicle/2.0+2.1 changes.
This reverts commit 1020ebedfb
.
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: Icc49df42c2bedf443d878d5d8fbaa53441ea65db
2017-08-11 23:02:01 +00:00
Steven Moreland
ff308ea6ba
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
2017-08-11 22:58:47 +00:00
Steven Moreland
1020ebedfb
Revert "Updating all makefiles."
...
This reverts commit 8ac1971678
.
Reason for revert: Didn't remove automotive changes from this CL.
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I1c660cffc8817ad0b33da9f6eceb3d88e7c48416
2017-08-11 22:56:56 +00:00
Steven Moreland
6da35570df
Updating all makefiles.
...
Bug: 64487114
Test: none
Change-Id: I8608c8f636c35f21e4246a805a9eff6d14124e0a
2017-08-10 23:43:46 +00:00
Steven Moreland
8ac1971678
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
2017-08-10 22:40:04 +00:00
Tri Vo
2b2ba2fa83
Merge "VTS tests now static link to HAL def libs. #2 " into oc-mr1-dev am: 2883486706
...
am: a6969cdd68
Change-Id: Iecd7cfd4e02aea837647e2f12446e7375744f004
2017-08-10 18:38:53 +00:00
Tri Vo
0c2ce357b1
VTS tests now static link to HAL def libs. #2
...
And use VtsHalTargetTestDefaults.
Bug: 64040096
Test: crop out all non-affected tests from vts-hal-hidl.xml and run
vts-tradefed run commandAndExit vts-hal-hidl --skip-all-system-status-check
--skip-preconditions
2 failures, same as without this change:
GatekeeperHidlTest.DeleteAllUsersTest
GatekeeperHidlTest.DeleteUserTest
Change-Id: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
2017-08-10 17:44:57 +00:00