Andreas Huber
9fff7b862b
Empty interface IQuux which is completely unrelated to IBase and IBaz.
...
Used to verify that it's not possible to obtain an IQuux interface from an
IBase/IBaz binder, i.e. IHwBinder.asInterface(...) properly respects the
interfaceChain.
Bug: 36749201
Test: hidl_test_java
Change-Id: I84419e78db22acdfcc7d9972d22d139641469bde
2017-04-04 14:43:13 -07:00
Yifan Hong
80471b04b0
Test for getHashChain() in IBase.
...
Each interface has a getHashChain() method that
returns the hash of all .hal files from the rtti
of the interface up to IBase.
Test: hidl_test
Bug: 36602587
Change-Id: I53a79ba69edd109f169c37dbe0fd10e302eb929c
2017-04-03 12:23:21 -07:00
Andreas Huber
675ae49ab1
Convert all comments into "doxygen-ready" comments.
...
Bug: 36453077
Test: make
Change-Id: Ic77394d4d2e1ccedba3a28230d870c5d6108bd40
2017-03-28 16:14:43 -07:00
Steven Moreland
561b602a99
Update makefiles for hwtypes.h
...
Test: pass
Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
2017-03-28 15:18:20 +00:00
Steven Moreland
53b21566bc
Update makefiles. am: e90c31f125
am: f11981de68
...
am: 103bada0e1
Change-Id: Ibe6eeeacab5660a8cf70d59dd9a4864d6f70ab80
2017-03-27 17:51:28 +00:00
Steven Moreland
e90c31f125
Update makefiles.
...
Test: pass
Change-Id: I925baccbe51a32b7b7f3f66cf2918d017ee6b039
2017-03-24 21:50:45 -07:00
Hridya Valsaraju
3eebe248e5
Merge "use toString instead of to_string" am: 6a73f61b96
am: a1b886fd90
...
am: 35937ab9fa
Change-Id: I0cb0cbff94b206655061c078848c0ff95147fcfc
2017-03-22 23:04:42 +00:00
Treehugger Robot
6a73f61b96
Merge "use toString instead of to_string"
2017-03-22 22:49:38 +00:00
Hridya Valsaraju
1b019d5a6c
use toString instead of to_string
...
Bug: 35703683
Test: hidl_test_java passes
Change-Id: Ib7d6807f6b9ddcd7b0271b17a0a52be0ee07ec6c
2017-03-22 13:19:54 -07:00
Steven Moreland
2628f37ba0
Versioning, add additional package import. am: a233c182be
am: f0dd7270f1
...
am: 3bb7c80e1d
Change-Id: I41d46e089aca2ef875ce28a5bfad3ab3745184ac
2017-03-20 17:20:41 +00:00
Steven Moreland
a233c182be
Versioning, add additional package import.
...
Added versioning@2.4. This tests the same as 2.2->2.3, but also repros
an issue in hidl-gen where triple inheritance isn't allowed.
Test: minor version inheritance doesn't fail, triple inheritance works
Bug: 36162559
Change-Id: Id5518621cd068b1b623f30f6f6762a1bf8ae6a80
2017-03-20 14:15:46 +00:00
Steven Moreland
54cc198022
update-makefiles for transisitive dependencies
...
Test: pass
Bug: 36162559
Change-Id: I4f5fddaef9811f0da1d69fa26a5d34830a1a9634
2017-03-20 07:13:46 -07:00
Hridya Valsaraju
af81f21044
Merge "Move FMQ benchmark/test services to hardware/interfaces" am: 178250d254
am: c35f1e7bc1
...
am: add0d3c8b8
Change-Id: I002bb4119971877061921bb260238c6dc2568fca
2017-03-14 22:22:52 +00:00
Hridya Valsaraju
171603eaa9
Move FMQ benchmark/test services to hardware/interfaces
...
Bug: 32284445
Test: Built and ran FMQ benchmarks
Change-Id: Ia6bacf21d276b55e4e590dc96f348464f2098992
2017-03-13 23:31:04 +00:00
Steven Moreland
b28099785a
Add hidl_default and make modules use hidl_default. am: 691a455b9f
am: 7c9f5c35d8
...
am: a6de4ca892
Change-Id: Ie4a219330792a194bef4a983b706c5f3191761a7
2017-03-09 02:09:52 +00:00
Steven Moreland
f53a334871
IBaz: remove unused function am: dc611e5df9
am: 1035d17739
...
am: 43fa10b2e6
Change-Id: I0033c817c77fb8012019ff75aa2a3140f9ec48a9
2017-03-09 02:09:49 +00:00
Steven Moreland
691a455b9f
Add hidl_default and make modules use hidl_default.
...
find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh
Test: no warnings
Bug: 35840847
Change-Id: I468b76893bf3f4b62ad610d1d9603bcb8797a702
2017-03-08 16:22:00 -08:00
Steven Moreland
dc611e5df9
IBaz: remove unused function
...
Test: pass
Change-Id: I5bc806b4780cfadd9f0c35df60c43203c90d7244
2017-03-08 16:22:00 -08:00
Hridya Valsaraju
2394c4830a
Merge "Move FMQ tests to hardware/interfaces" am: 96b3cce92c
am: 35b5786cd7
...
am: 56fbe8aef2
Change-Id: Ic97ea0e01ff430806cc96cf89c4205b4bb044778
2017-03-08 00:11:57 +00:00
Hridya Valsaraju
8a7086296c
Move FMQ tests to hardware/interfaces
...
Test: FMQ unit tests pass
Bug: 32284445
Change-Id: I1daf563560d12fc7a4433ae98876331c37509980
2017-03-07 09:02:23 -08:00
Hridya Valsaraju
d59b0cab70
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am: 38f2a8495f
am: ca72971fea
...
am: da8bf19fe4
Change-Id: Iebe5c0d1ccb3d0185ae5b686ec826f65b83494b2
2017-03-07 00:26:04 +00:00
Hridya Valsaraju
0047809804
Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""
...
Test: built and ran FMQ benchmarks
This reverts commit 8b34b1a547
.
Change-Id: I7d8884b9de97980b5bdb7a4355a61b00bbd396b4
2017-03-03 14:10:29 -08:00
Greg Hartman
188df08931
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" am: b59f873ab9
am: 19de6f7815
...
am: a25c53a2a4
Change-Id: I3b1a764c1e0c818685cbf09b4e88bafc459c63ac
2017-03-02 23:47:23 +00:00
Greg Hartman
b59f873ab9
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests""
2017-03-02 23:40:02 +00:00
Michael Rosenfeld
8b34b1a547
Revert "Move android.hardware.benchmarks into android.hardware.tests"
...
This reverts commit c8f7d73720
.
Change-Id: I957cd686468aa618014a95c0510b162956df9bf7
2017-03-02 22:28:23 +00:00
Hridya Valsaraju
3a3dc8fef4
Merge "Move android.hardware.benchmarks into android.hardware.tests" am: 533ab025d0
am: 36ec5ebe3a
...
am: 9317dca20b
Change-Id: I74acdcd729d837cd129c59a70625aa91e8514983
2017-03-02 22:23:27 +00:00
Treehugger Robot
533ab025d0
Merge "Move android.hardware.benchmarks into android.hardware.tests"
2017-03-02 22:11:06 +00:00
Hridya Valsaraju
48c9837a55
Merge "Move baz default implementation to hardware/interfaces" am: b541affafb
am: c990e2e15f
...
am: 7e7d3758d1
Change-Id: I6b8c250747d938d7ca56cd87bf89291c3a61f87f
2017-02-28 21:51:39 +00:00
Treehugger Robot
b541affafb
Merge "Move baz default implementation to hardware/interfaces"
2017-02-28 21:10:32 +00:00
Hridya Valsaraju
c8f7d73720
Move android.hardware.benchmarks into android.hardware.tests
...
Test: Ran FMQ benchmarks.
Bug: 35015612
Change-Id: Ic25e51051779b296ada5f02bc0c3258bff507ca3
2017-02-28 12:41:25 -08:00
Yifan Hong
2c5e21c69c
Merge "Add tests for .equals and toString" am: 7128746a9f
am: cc51d3b2ae
...
am: 77c34e94c9
Change-Id: If4ba94ff09f9160727befc47f09eaed0d7a8af64
2017-02-27 18:56:13 +00:00
Treehugger Robot
7128746a9f
Merge "Add tests for .equals and toString"
2017-02-27 18:43:28 +00:00
Steven Moreland
1daad90b81
Remove viral dependency on libhwbinder. am: d28a3dce40
am: 444d759920
...
am: 5c605c8add
Change-Id: I54d6e5a0b38ef9eb507748fd38a8c508e0eb1948
2017-02-25 02:55:43 +00:00
Hridya Valsaraju
6cf95f3710
Move baz default implementation to hardware/interfaces
...
Test: hidl_test and hidl_java_test passes
Change-Id: Iaacfc3f203368ca674cbaddc6cdf06ddb8e34500
2017-02-24 16:10:25 -08:00
Steven Moreland
7e73d5b908
Remove viral dependency on libhwbinder. (2/2)
...
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh
Note, automotive has some actual dependencies on libhwbinder, filed
b/35758626 for this.
Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5
2017-02-24 12:18:01 -08:00
Steven Moreland
d28a3dce40
Remove viral dependency on libhwbinder.
...
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh
Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6b0b5ae318422b7a9be17a19a79e039ffc0f9272
2017-02-24 12:01:06 -08:00
Yifan Hong
4093a44585
Add tests for .equals and toString
...
Test: hidl_test
Test: hidl_test_java
Bug: 32834072
Bug: 33459772
Change-Id: Ic1a87529fe5f8c12f7bfbdc2fa668e66922e075f
2017-02-22 16:09:17 -08:00
Tri Vo
e8d2656322
Update makefiles. am: 69fa1faddd
am: 78cefb9454
...
am: 6dd991cc9a
Change-Id: I1f26b2e13faa92dbaf4f39d61a09835bcd4bf139
2017-02-22 20:38:03 +00:00
Tri Vo
69fa1faddd
Update makefiles.
...
Test: mmma hardware/interfaces
Change-Id: I501524fa3fbbaed9b71e5b9c3bbc8aa3c8c25896
2017-02-22 10:46:47 -08:00
Yifan Hong
8f44545bdc
Update tests for enforcing minor version upgrade. am: 6283d249f9
am: 811652124d
am: 10a766ff2c
...
am: a056eaeb17
Change-Id: Ie4e38bbdd3b4d824d3e1afeb0a8d7a37c9acff19
2017-02-16 18:49:07 +00:00
Yifan Hong
6283d249f9
Update tests for enforcing minor version upgrade.
...
Test: ./hardware/interfaces/update-makefiles.sh
Test: mma
Bug: 28825532
Change-Id: I1ae86f597f184d75ad5476b248e03248346b0c33
2017-02-16 06:11:39 +00:00
Steven Moreland
0734fd23ba
Merge "update-makefiles.sh" am: dcec84e96c
am: 1eed5f2d5d
am: 238c76ee22
...
am: 67188b98a8
Change-Id: I781587bacb5fb165d54d42bf7c8a87db7ef322f1
2017-02-16 06:03:19 +00:00
Steven Moreland
dcec84e96c
Merge "update-makefiles.sh"
2017-02-16 05:48:02 +00:00
Hridya Valsaraju
b501ccdff8
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc
am: f869630d3b
am: 02bcec2054
...
am: a7c7253bf3
Change-Id: I8c092e5b2d40d2a0ee0bf511c44b2587f6b6d2e6
2017-02-16 02:10:31 +00:00
Treehugger Robot
02f3f834fc
Merge "Modify method to get MQDescriptor for unsynchronized FMQ."
2017-02-16 01:48:07 +00:00
Steven Moreland
21a1c58b6c
Move example extensions to test folder.
...
Fixes: 34969978
Test: hal registers itself and works.
Change-Id: I9e4795b1acbabceed017c469b89baea7e529308a
2017-02-15 14:25:00 -08:00
Steven Moreland
821b01c9fe
update-makefiles.sh
...
There have been some changes to the way hidl-gen generates these and
some CLs got out of sync with hidl-gen.
Test: pass
Change-Id: I33c573499d5dd37de447902fd93929b80a5df371
2017-02-15 10:59:23 -08:00
Hridya Valsaraju
c3db9c8142
Modify method to get MQDescriptor for unsynchronized FMQ.
...
The modified method adds a new parameter specifying
if a new unsynchronized FMQ needs to be set up by the server
or if it is to return an MQDescriptor to
an unsynchronized FMQ that has already been configured
by the server(if one exists)
Bug: 35319190
Test: FMQ unit tests
Change-Id: I64a5b356a2761faaeeea6fdd2c3a7da9b60f0016
2017-02-13 15:50:40 -08:00
Steven Moreland
46c0b94992
Move hidl shims to the vendor partition.
...
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.
Bug: 34135607
Test: marlin persist.hal.binderization on/off
Merged-In: I3f86c77c147514fe470f08088a66de312ae32d4e
Change-Id: I3f86c77c147514fe470f08088a66de312ae32d4e
2017-02-13 23:14:38 +00:00
Steven Moreland
ff4224809f
Move hidl shims to the vendor partition.
...
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.
Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I3f86c77c147514fe470f08088a66de312ae32d4e
2017-02-13 15:03:33 -08:00