Steven Moreland
2cd0d42d72
Remove redundant dependencies
...
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 10:17:28 -07:00
Steven Moreland
f90189a79f
Merge "Remove redundant dependencies" am: 62769b7196
am: 170e2e85a2
...
am: 5fba1db1d2
Change-Id: I661fff75d140b4359af055a0f08f08ef33c889c3
2017-05-01 23:37:04 +00:00
Steven Moreland
ee1d248ae2
Remove redundant dependencies
...
android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Change-Id: I424371932af129bba9d58dcf8652c64297f35f05
2017-05-01 09:47:58 -07:00
Howard Chen
812f5d3101
Add IScheduleTest for VTS libhwbinder scheduler test
...
Add IScheduleTest.hal:
send(cfg, callerSta)
cfg: 1 for verbose output
caller_status: (caller_rt_priority <<16 )| caller_cpu
with the return value defined as:
((1 if no priority inheritance)<<16) | (1 if no cpu sync)
The implementation is in ScheduleTest.cpp
Bug:36705188
Test: sailfish/prebuilt kernel/oc-dev with the libhwbinder_latency
vts test case
Change-Id: Ie2a837c8d0d4fa95c6fd0ebd50e76412cb808df8
2017-04-17 14:34:34 +08:00
Andreas Huber
6fa374ad30
Changed the naming scheme for Treble java libraries (both static and dynamic)
...
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug: 37207894
Test: make
Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 15:23:46 -07:00
Andreas Huber
6733baff6c
Changed the naming scheme for Treble java libraries (both static and dynamic)
...
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug: 37207894
Test: make
Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 15:16:27 -07:00
Treehugger Robot
12d911204f
Merge "Mark hidl test libs as vendor."
2017-04-12 23:07:17 +00:00
Steven Moreland
17f0c0dde7
Merge changes from topic 'hidl-vendor-available' into oc-dev
...
* changes:
Update makefiles (2/2).
Update makefiles.
2017-04-12 22:13:58 +00:00
Steven Moreland
d52e0ff21a
Mark hidl test libs as vendor.
...
They must be on the vendor partition for hidl_test to be able to link to
them when the VNDK is in place.
Test: hidl_test
Bug: 33241851
(cherry picked from commit 00556e0a11
)
Merged-In: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c
Change-Id: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c
2017-04-12 13:58:10 -07:00
Steven Moreland
00556e0a11
Mark hidl test libs as vendor.
...
They must be on the vendor partition for hidl_test to be able to link to
them when the VNDK is in place.
Test: hidl_test
Bug: 33241851
Change-Id: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c
2017-04-11 17:56:47 -07:00
Steven Moreland
0dd5ba23fb
Update makefiles.
...
Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e
2017-04-11 16:41:07 -07:00
Steven Moreland
3b36a83a2e
Update makefiles (2/2).
...
Test: pass
Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
2017-04-11 09:58:03 -07:00
Steven Moreland
b2799c370f
Update makefiles.
...
Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e
2017-04-11 09:57:40 -07:00
Andreas Huber
8410871493
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-05 12:46:13 -07:00
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
Yifan Hong
604e8f0da2
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-03-30 17:34:03 -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
Andreas Huber
3e4acb8b3a
Convert all comments into "doxygen-ready" comments.
...
Bug: 36453077
Test: make
Change-Id: Ic77394d4d2e1ccedba3a28230d870c5d6108bd40
2017-03-28 16:10:42 -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