Steven Moreland
63a733ab33
libhwbinder test: Android.mk -> Android.bp
...
Test: links
Change-Id: Iaaa27cb0f398ee4b9a273916454f3110ddee0e3b
2017-05-24 14:39:57 -07:00
Steven Moreland
f203167814
Update makefiles. (2/2)
...
am: 76cfb84140
Change-Id: I24d21438a5b2f447d2160929c6ff6e17b2b66820
2017-05-22 17:15:20 +00:00
Steven Moreland
67b9ae7d9c
Merge "Update makefiles." am: 9119d4ccd1
am: 242b2288d7
...
am: c6da54569f
Change-Id: Ib7f7a9cdb64985d545443edac5bb8e9c169fc592
2017-05-20 00:19:40 +00:00
Steven Moreland
76cfb84140
Update makefiles. (2/2)
...
Adds default configuration for all hals.
Bug: 38415912
Test: pass
Change-Id: Idd1f3a2b7b16ad956d31784a513e93a066cdd02e
2017-05-19 15:54:03 -07:00
Steven Moreland
e4d318948a
Update makefiles.
...
Adds default configuration to all hals.
Test: pass
Merged-In: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-19 15:53:53 -07:00
Steven Moreland
06c85d986a
Update makefiles.
...
Adds default configuration to all hals.
Test: pass
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-18 16:14:16 -07:00
Howard Chen
82ddb247b2
Add HIDL_FETCH_IScheduleTest declaration
...
Fix the bug that makes the registerAsServer fail.
sp<IScheduleTest> server =
IScheduleTest::getService(serviceName, true);
status_t status = server->registerAsService(serviceName);
Bug:38099333
Test: oc-dev on pixel sailfish with a vts test case
"libhwbinder_latency -i 1"
Change-Id: I892835a25ef7df56a6424da41c0fc477b3a532d8
2017-05-16 16:22:05 +00:00
Howard Chen
35ae446548
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
Merged-In: Ie2a837c8d0d4fa95c6fd0ebd50e76412cb808df8
Change-Id: Ic0498bc2b036cedced906963bb8e489dcca47a1a
2017-05-16 14:58:00 +08:00
Steven Moreland
a32ebce372
Update makefiles for c++-sources and c++-headers. (2/2)
...
am: bc71124120
Change-Id: Icf36068a4d863a8520854c7a83e51f960c188e12
2017-05-11 00:48:55 +00:00
Steven Moreland
4be51a8512
Merge changes from topic 'fix-hidl-generate' into oc-dev
...
* changes:
Update makefiles for c++-sources and c++-headers.
Update makefiles for c++-sources and c++-headers. (2/2)
2017-05-10 20:02:40 +00:00
Steven Moreland
8716f3063e
Update makefiles for c++-sources and c++-headers.
...
Test: pass
Bug: 38174080
Merged-In: I683455736eed35e6ced24e2763c2bdb5fb6c9601
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 19:58:45 -07:00
Steven Moreland
bc71124120
Update makefiles for c++-sources and c++-headers. (2/2)
...
Test: pass
Bug: 38174080
Change-Id: Icad451f9f9ad5f46412356a4171a8a1222f8e545
2017-05-09 19:58:43 -07:00
Steven Moreland
8e89a43590
Update makefiles for c++-sources and c++-headers. am: cb360c60d8
am: 4bd4e7fb3b
...
am: 127b116fe5
Change-Id: I3a2aa76acef0f0d1455bfad775e87e8089d357e8
2017-05-10 02:58:00 +00:00
PO HUNG CHEN
9a520b0524
Merge "Bugfix: Add HIDL_FETCH_IScheduleTest declaration" into oc-dev
...
am: c365952316
Change-Id: If6399162d868c7498ca6e4a5d9453b4425ab77cc
2017-05-10 02:42:02 +00:00
Steven Moreland
cb360c60d8
Update makefiles for c++-sources and c++-headers.
...
Test: pass
Bug: 38174080
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 14:34:19 -07:00
Howard Chen
b71db8f2b4
Bugfix: Add HIDL_FETCH_IScheduleTest declaration
...
Fix the bug that makes the registerAsServer fails.
sp<IScheduleTest> server =
IScheduleTest::getService(serviceName, true);
status_t status = server->registerAsService(serviceName);
Bug:38099333
Test: oc-dev on pixel sailfish with a vts test case
"libhwbinder_latency -i 1"
Change-Id: I892835a25ef7df56a6424da41c0fc477b3a532d8
2017-05-08 15:36:11 +08:00
Steven Moreland
5c63b11f76
Remove redundant dependencies
...
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 15:29:30 -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
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
Yifan Hong
87f44a881b
Merge "Add tests for minor version upgrade enforcement." am: ea8ff054fa
am: af52b48490
am: 2e14b7cc0f
...
am: 982f85242c
Change-Id: Ie391c983761cd540775abe2e2d72feeeaa2ec5de
2017-02-10 23:47:13 +00:00
Yifan Hong
ea8ff054fa
Merge "Add tests for minor version upgrade enforcement."
2017-02-10 23:38:02 +00:00
Tri Vo
4ce38bc27f
Use filegroup as genrule srcs. am: 06da29ffae
am: 5b43e2caa8
am: 831bfd746c
...
am: 6924f25a61
Change-Id: Iffa108b900ecbd2800090b5b1cdfc4fc65f63f3c
2017-02-10 02:36:00 +00:00
Yifan Hong
4650ce9d25
Add tests for minor version upgrade enforcement.
...
Test: compiles
Test: add folder test/versioning/2.0 will make update-makefiles.sh to
fail.
Test: removing @2.3::IBar will let update-makefiles.sh to pass.
Test: Change @2.3::IBar to extend from @2.2::IFoo will let
update-makefiles.sh to fail.
Bug: 28825532
Change-Id: Iad1138b784505c903ab1049f08f6c07c38b777e1
2017-02-09 18:24:18 -08:00
Tri Vo
06da29ffae
Use filegroup as genrule srcs.
...
Test: mmma hardware/interfaces -j64
Change-Id: If282ed5f4a87045d169fcea7ad648b046a5f1cfb
2017-02-10 02:18:07 +00:00
Andreas Huber
c409e30da7
Updated makefiles am: 0574bacb2a
am: f9c87639bf
am: bf7b779b40
...
am: 238660c10a
Change-Id: I1600e1a693462fb99b684381860fa788867f45cf
2017-02-10 01:14:57 +00:00
Andreas Huber
0574bacb2a
Updated makefiles
...
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.
Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 16:56:56 -08:00
Tri Vo
bd397ba5e1
Merge "Remove vts driver/profiler build rules." am: 0f7a0678af
am: 3b5f6dad56
am: 468446f91b
...
am: e9cf6ba378
Change-Id: I7e2fba48c44cdbdb6d87e6d54446986889be26cf
2017-02-08 01:05:09 +00:00
Tri Vo
ac9f1c02f3
Remove vts driver/profiler build rules.
...
Generate filegroups for .hal files so that driver/profiler build rules
can migrate to another project.
Bug: 34893894
Test: mmma hardware/interfaces -j32
Change-Id: Iefc98a6df16706fbb798bc32405fe8ff0c3de450
2017-02-06 13:54:41 -08:00
Steven Moreland
66816de87f
Remove useless Android.mk files.
...
Test: none
Change-Id: I99f4d3e5b943742009e366b13bee2c32e38a3fba
2017-01-18 11:49:08 -08:00
Yifan Hong
cad2f77b0e
Merge "Add test for type resolution." am: 5835d9ea59
am: 168bb896b7
am: 6cc9f50bd3
...
am: 63a36d7b62
Change-Id: I0477b4dc3e782752a556003ddaced227d2271b06
2017-01-17 21:12:01 +00:00
Yifan Hong
5835d9ea59
Merge "Add test for type resolution."
2017-01-17 21:03:05 +00:00
Martijn Coenen
4226670424
Merge "Testing struct that has vector of other struct" am: 0bb0ba5f79
am: a69c3034fa
am: dabf160073
...
am: 98d537ec95
Change-Id: Ia384675237edd335e117991607e1a39f6f46dd74
2017-01-17 06:50:54 +00:00
Martijn Coenen
0bb0ba5f79
Merge "Testing struct that has vector of other struct"
2017-01-16 14:48:11 +00:00
Hridya Valsaraju
e18ded9775
Merge "Add a new method to trigger a blocking read." am: 31265c5312
am: ba6c8445b1
am: 134cb728f7
...
am: 5cb077fac0
Change-Id: Iff0bac56b002082e1f037ccd1b2ff5650de90902
2017-01-14 08:26:42 +00:00
Treehugger Robot
31265c5312
Merge "Add a new method to trigger a blocking read."
2017-01-14 08:07:25 +00:00
Hridya Valsaraju
586bed1c17
Add a new method to trigger a blocking read.
...
The new method will request the service to trigger a blocking
read with the default Event Flag notification bitmask defined
by the MessageQueue class.
Test: FMQ unit tests
Change-Id: I5a61e2b4527ba31cd5ea6521c553a87904af8056
2017-01-13 20:58:17 -08:00
Steven Moreland
7c8d9bbaf1
Revert "move VTS HIDL HAL tests to the corresponding interface directories"
...
This reverts commit ec7746fa80
.
Test: no test
Merged-In: I9ec4493403d71419df99fe9761211eab057cdb0a
Change-Id: I39f2acaa5ee376b90bcddd0891ac6f309cb40a2b
2017-01-14 00:20:11 +00:00
Steven Moreland
96232e327f
Revert "Revert "move VTS HIDL HAL tests to the corresponding interface directories""
...
This reverts commit 070e8d2116
.
Change-Id: I66dd4e6cf875e39e58b0d91724a603b37d32c0ac
2017-01-14 00:00:26 +00:00
Ruchi Kandoi
070e8d2116
Revert "move VTS HIDL HAL tests to the corresponding interface directories"
...
Test: No
This reverts commit ec7746fa80
.
Change-Id: I9ec4493403d71419df99fe9761211eab057cdb0a
2017-01-13 15:17:32 -08:00
Yifan Hong
97973c69c8
Add test for type resolution.
...
Test: make hidl_test
Bug: 31971432
Change-Id: I5c058079d54e1b480f21550a76ccfd53f54bd0c4
2017-01-13 10:11:08 -08:00
Pavel Maltsev
af9aec427d
Testing struct that has vector of other struct
...
Test: hidl_java_test
Bug: b/34255213
Change-Id: I6a861f0fec32d5f7d541860bfe7bc3a45d37f1be
2017-01-13 11:35:36 +01:00
Ruchi Kandoi
aeb3de7b3f
Merge changes from topic 'port-nfc-vts-AOSP'
...
* changes:
Fix VTS paths on 32-bit target
Remove obsolete references to IPCThreadState/ProcessState.
Update Android.bp of Nfc with make rule for profiler.
Use lowercase booleans in VTS test configs.
Update to use the correct logging library.
Update coverage configs with new format.
Update NFC VTS configs to reflect new source paths
increase the timeouts to 10mins for nfc target-side tests
enable profiling directly from AndroidTest.xml
NFC: vts: Update VTS driver files as per HAL changes
NFC: Add target-side VTS tests for NFC
use svc nfc enable/disable which is always the same.
move VTS HIDL HAL tests to the corresponding interface directories
Build target-side NFC test with coverage.
Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
Nfc: Split libhidl into base and transport.
NFC: Update vts files to include the Annotations.
NFC HAL target-side test (template)
Update vts files for nfc hidl file style change.
VTS driver build target for NFC 1.0
add nfc vts files and vts profiler build rule
2017-01-12 23:13:44 +00:00
Steven Moreland
7c6612ad30
MemoryTest: add method for testing am: 6de0aa81a3
am: f0a0b645e9
am: fa37fc89cd
...
am: 90d16fdd99
Change-Id: I31f12c061b20bc8c1fa09ce10bb9e90aa3afab84
2017-01-12 20:13:20 +00:00
Keun Soo Yim
ec7746fa80
move VTS HIDL HAL tests to the corresponding interface directories
...
Bug: 32783461
Test: vts-tradefed; run vts-hal-hidl
Change-Id: Iead44eaf65dcd4de2286267467c4a4a322a88205
(cherry picked from commit 8a36c0b01c
)
2017-01-12 11:02:22 -08:00
Steven Moreland
6de0aa81a3
MemoryTest: add method for testing
...
Bug: 34134129
Test: compiles
Change-Id: If0d2a9c00f93f548da5e9261a93d4715412620c3
2017-01-12 16:27:43 +01:00
Treehugger Robot
cb5989d239
Merge "Bp/n/sFoo -> Bp/n/sHwFoo"
2017-01-12 01:50:58 +00:00
TreeHugger Robot
a8d358fb63
Merge changes from topic 'bphwfoo'
...
* changes:
Bp/nFoo -> Bp/nHwFoo.
Bp/nFoo -> Bp/nHwFoo
2017-01-11 23:43:16 +00:00
Yifan Hong
4bc69c918f
Bp/nFoo -> Bp/nHwFoo
...
Bug: 33554989
Test: hidl_test
Change-Id: I748181e9eaf5b78318054b9fd99ac1a43d00498a
2017-01-11 13:04:15 -08:00
Mark Salyzyn
5ec14ad8dd
Merge "liblog: use log/log.h when utilizing ALOG macros" am: 818ffb15a6
am: ca5117d1f3
am: 7c3240795a
...
am: d4acfd7503
Change-Id: I477c45fec225f4712051b2ff42b6f55614403531
2017-01-11 15:57:46 +00:00
Yifan Hong
10ac9b44f5
Bp/n/sFoo -> Bp/n/sHwFoo
...
Bug: 33554989
Test: hidl_test
Change-Id: I748181e9eaf5b78318054b9fd99ac1a43d00498a
2017-01-10 16:01:46 -08:00
Mark Salyzyn
a4842ace39
liblog: use log/log.h when utilizing ALOG macros
...
Test: compile
Bug: 30465923
Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
2017-01-10 15:02:14 -08:00
Yifan Hong
309ccc1d26
Add test for putting different types in a struct / union. am: 04e53a1ca2
am: 049439eb1f
am: ce1420670c
...
am: b76db3e2e7
Change-Id: I878b7f2a7ba449d3330dd14fdd9be3d55554a1a2
2017-01-10 03:22:30 +00:00
Yifan Hong
04e53a1ca2
Add test for putting different types in a struct / union.
...
Test: hidl_test
Change-Id: Icf1f40b1c92f76a45a3792e8c5d359031ad719bc
2017-01-06 11:06:14 -08:00
Yifan Hong
810b9b4838
Merge "move foocallback to hidl_test" am: 0270fefc48
am: 7f3dc0e7b3
am: 586e13de99
...
am: 82f0ce3e09
Change-Id: I5e3a1a1ac7018eb36401c17bf29b49d131289ae6
2017-01-05 19:37:58 +00:00
Yifan Hong
0270fefc48
Merge "move foocallback to hidl_test"
2017-01-05 19:24:25 +00:00
Martijn Coenen
ddfd2b832d
Callback elision for HIDL interfaces. am: e8b0161713
am: 04bd96f989
am: c8a4f398c2
...
am: a5cb4f042f
Change-Id: I32cb28fb4acc7d69059b8dd3e80946e2e2963b9c
2017-01-05 10:04:23 +00:00
Martijn Coenen
e8b0161713
Callback elision for HIDL interfaces.
...
Test: mma, hidl_test
Bug: 31380743
Change-Id: Ic5390d49a9493d1180bdd8a15bc47e891637890e
2017-01-05 08:48:23 +01:00
Hridya Valsaraju
93a896744c
Merge "Add a method to trigger multiple FMQ blocking reads." am: 9bfe0894b9
am: b494c004e8
am: f549b70bbd
...
am: 3fc5d42017
Change-Id: I205f66015e8c2228750c17ef433768689bfaf551
2017-01-05 02:48:18 +00:00
Hridya Valsaraju
9ba9244e5f
Add a method to trigger multiple FMQ blocking reads.
...
Test: FMQ unit tests
Bug: 33815422
Change-Id: Idcd1fd79232a1b0caa5784e8dd4f3a929f52fded
2017-01-04 16:19:36 -08:00
Yifan Hong
b500bc6189
move foocallback to hidl_test
...
Fix: 32778024
Test: hidl_test
Change-Id: Icec3bd23c30dea635c315ec3b98f3a72447e840a
2017-01-04 13:39:13 -08:00
Hridya Valsaraju
f70884cf4b
Templatize MQDescriptor
...
Bug: 33948735
Test: FMQ unit tests and benchmarks
Merged-In: I5c3beff2c6a69e151e0cb11af299956638cc441b
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b
2016-12-29 22:33:40 -08:00
TreeHugger Robot
573ec06d23
Merge "Templatize MQDescriptor and rename to fmq_sync/fmq_unsync"
2016-12-30 06:23:06 +00:00
Hridya Valsaraju
33351dae85
Templatize MQDescriptor and rename to fmq_sync/fmq_unsync
...
Bug: 33948735
Test: builds, FMQ unit tests and benchmarks pass.
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b
2016-12-29 14:52:16 -08:00
Martijn Coenen
4ea3c731a9
Add test method to IBaz. am: 73f99f6e1f
am: a0cf52d74b
am: 66ec896c3b
...
am: e411341409
Change-Id: I5242b0ed727b672bc658d1c792a1a3d6beb55a09
2016-12-29 09:27:27 +00:00
Martijn Coenen
73f99f6e1f
Add test method to IBaz.
...
For testing death recipients.
Test: mma, hidl_test_java
Bug: 31632518
Change-Id: Ib359c790f68132484fbcd1a5522f45b99d1131f8
2016-12-28 17:44:15 +00:00
Hridya Valsaraju
a13ec5a81c
Merge "Add a method to test EventFlag configuration and usage" am: ac7f1d21e8
am: adbae29ef1
am: 2ba1ec5a64
...
am: deb31d4ba1
Change-Id: I60be1640e820f35de9b5096e04c936d7d8e7f8dd
2016-12-22 22:19:13 +00:00
Treehugger Robot
ac7f1d21e8
Merge "Add a method to test EventFlag configuration and usage"
2016-12-22 21:55:07 +00:00
Hridya Valsaraju
710e4a3f0d
Add a method to test EventFlag configuration and usage
...
Bug: 31223612 33295104
Test: FMQ unit tests.
Change-Id: Idbddd38730edd0ec14c37d3cb5e67f78705c3d4a
2016-12-21 14:16:10 -08:00
Yifan Hong
4162ceee43
Merge "Add test for Java GC for binder objects." am: eb0db2c920
am: b96d0d1f68
am: 92f29042a3
...
am: 7092c9f249
Change-Id: Ia2857326f6e7c74fd49c453bbab2111db25e5ade
2016-12-21 18:53:11 +00:00
Yifan Hong
d9389bb3d5
Add test for Java GC for binder objects.
...
Test: hidl_test_java
Bug: 33042939
Change-Id: I87d9de63834c617a568f7d1795c901fdd4c6f8e0
2016-12-19 18:17:33 -08:00
Yifan Hong
7f6bfcc606
Merge "Test for echoed interfaces." am: f5f75be7b6
am: a175fa4b4a
am: c63c36ceaf
...
am: abaee80220
Change-Id: I8c38c43e04e47aa834cb381fe41addc6751f4076
2016-12-19 22:47:21 +00:00
Yifan Hong
87cc71c9fa
Test for echoed interfaces.
...
Test: hidl_test
Bug: 33173166
Change-Id: I0b8b8553b7d3f7b1800d0970a9fc17d01084dfcf
2016-12-16 15:49:39 -08:00
Martijn Coenen
a86dab68ad
Revert "Fix tests for using IBase instead of IBinder." am: 0dbb9903cd
am: 666a5dcafe
am: 8723856c45
...
am: d1fd31018f
Change-Id: Ifad04fe3804826f97f1c228e666bb6760aa19f5f
2016-12-16 01:46:03 +00:00
Martijn Coenen
0dbb9903cd
Revert "Fix tests for using IBase instead of IBinder."
...
This reverts commit 1d747311b3
.
Bug: 33173166
Test: builds, hidl_test
2016-12-15 21:34:38 +01:00
Yifan Hong
b85d8763c7
Update makefiles for Java package path.
...
use V1_0 instead of 1.0.
Bug: 33554192
Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3
2016-12-13 18:06:24 -08:00
Yifan Hong
0f73b9eb59
Merge "Revert "Revert "Update makefiles for Java package path."""
2016-12-13 22:20:51 +00:00
Yifan Hong
f35ee3b192
Revert "Revert "Update makefiles for Java package path.""
...
This reverts commit a8789f27cb
.
Change-Id: I69980b580a556188ba868bb096ae1590b01759f5
2016-12-13 22:20:16 +00:00
Yifan Hong
b998a6c49c
Merge "Revert "Update makefiles for Java package path.""
2016-12-13 22:19:23 +00:00
Yifan Hong
a8789f27cb
Revert "Update makefiles for Java package path."
...
This reverts commit ab0792ccdc
.
Change-Id: I47fc272d9fa8875e3d7ccb10cb748c738fbf8135
2016-12-13 22:18:34 +00:00
Yifan Hong
07e659778e
Merge "Update test for method name and result name." am: e8d4931930
am: 7f49aa4b75
am: c32a29210e
...
am: fc5c67533c
Change-Id: Ia9820692a4f1caec2f78e7077e7c0b989d579003
2016-12-13 20:58:52 +00:00
Yifan Hong
ab0792ccdc
Update makefiles for Java package path.
...
use V1_0 instead of 1.0.
Bug: 33554192
Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3
2016-12-13 11:32:56 -08:00
Yifan Hong
59cd3a4c14
Update test for method name and result name.
...
Test: compiles
Bug: 33277700
Change-Id: I40de6f09da8d8bf9d03516bfb7a65a54d01fa18a
2016-12-13 10:52:55 -08:00
Yifan Hong
a5d52cb22d
Add test for eliding bitfield returns. am: 8b54c22992
am: 3b353f7905
am: 42dcb27402
...
am: 9efa6c79a3
Change-Id: I952aab1189c69bc5c97b3646fd9b246bf8c12738
2016-12-13 01:32:55 +00:00
Yifan Hong
8b54c22992
Add test for eliding bitfield returns.
...
Test: mma
Bug: 33298401
Change-Id: I9e50c20b29215664040183bcdfee6b6902c00e3d
2016-12-12 15:30:49 -08:00
Elliott Hughes
d0f553bd86
Merge "Remove unused hardware/interfaces tests dependency on libtestUtil." am: 827e038651
am: f279b5d2cd
am: 6d2e524f46
...
am: 3621ecd51c
Change-Id: Icc540a3f1d0ba427ffe55d6e0f0c39f738cba97f
2016-12-08 18:46:38 +00:00
Elliott Hughes
827e038651
Merge "Remove unused hardware/interfaces tests dependency on libtestUtil."
2016-12-08 17:21:53 +00:00
Elliott Hughes
2d224c8026
Remove unused hardware/interfaces tests dependency on libtestUtil.
...
Bug: N/A
Test: builds
Change-Id: Ic0beba4a8ac19c4883bf49e330b23e4e6f64985a
2016-12-07 13:11:45 -08:00
Yifan Hong
5d22a288cb
Add test for bitset/mask type.
...
Test: hidl_test
Change-Id: I8bcd304184ff6b7794a9d0b5d3999f071604471d
2016-12-06 00:29:42 +00:00
Yifan Hong
e7ce822b96
Add test for bitset/mask type.
...
Test: hidl_test
Change-Id: I8bcd304184ff6b7794a9d0b5d3999f071604471d
2016-12-05 12:46:17 -08:00
Yifan Hong
961e625526
Update to use the correct logging library.
...
Test: compiles
Change-Id: I00467b964fd56e6379cddde26152e413f2f00379
2016-12-03 10:04:15 -08:00
Yifan Hong
79f07e9c5b
Update to use the correct logging library.
...
Test: compiles
Change-Id: I00467b964fd56e6379cddde26152e413f2f00379
2016-12-03 10:00:39 -08:00
Yifan Hong
1d747311b3
Fix tests for using IBase instead of IBinder.
...
Echoed interfaces cannot be casted properly, because
interfaceChain cannot be called. So the given vector
of interfaces is re-wrapped. This is temporary; when
b/33173166 is fixed, this change should be reverted.
Test: hidl_test
Generates: b/33173166
Change-Id: I12166f69cf04abf7485dc2455ad731b87c80b3d1
2016-12-03 01:09:23 -08:00
Yifan Hong
ebcc3328e8
Use IBase instead of IBinder for interface keyword.
...
Test: hidl_test
Change-Id: Id51d1957f311d1025dac57d40d4dd5c24d328a6c
2016-12-03 01:09:23 -08:00
Yifan Hong
e19e582bd5
Update makefiles for hidlizing IBase.
...
A new dependency android.hidl.base@1.0 is added for
all projects.
Also updated Android.mk for NFC hal (for java constants)
Test: mma
Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:08:59 -08:00
Yifan Hong
501839495f
Update makefiles for hidlizing IBase.
...
A new dependency android.hidl.base@1.0 is added for
all projects.
Test: mma
Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:01:14 -08:00
Yifan Hong
0bd75e02b0
Fix tests for using IBase instead of IBinder.
...
Echoed interfaces cannot be casted properly, because
interfaceChain cannot be called. So the given vector
of interfaces is re-wrapped. This is temporary; when
b/33173166 is fixed, this change should be reverted.
Test: hidl_test
Generates: b/33173166
Change-Id: I12166f69cf04abf7485dc2455ad731b87c80b3d1
2016-12-03 00:59:01 -08:00
Yifan Hong
76dd1951ae
Use IBase instead of IBinder for interface keyword.
...
Test: hidl_test
Change-Id: Id51d1957f311d1025dac57d40d4dd5c24d328a6c
2016-12-03 00:59:01 -08:00
Martijn Coenen
0764c416cf
Merge "Test interface for hidlized IMemory." am: 2ed821d5fe
am: d552d728f8
am: f7845f76bb
...
am: fee5851d2b
Change-Id: Ib49cd505e8f70f1117ee8b64951d3dd77a6544aa
2016-12-02 21:07:34 +00:00
Martijn Coenen
0cb4a94083
Test interface for hidlized IMemory.
...
Test: hidl_test
Change-Id: I9d6260092bf58406905e543065319bc1f4db119f
2016-12-02 08:53:17 -08:00
Steven Moreland
2a6e20aab6
Merge "Revert "Use get instead of implicit cast on Return<*>."" am: 5329acb61f
am: e78c2b96e3
am: 9c3a926af2
...
am: 8ac8718670
Change-Id: Ia7ba183ea72890eb95fdb5306055242edf9f4960
2016-12-01 21:24:28 +00:00
Treehugger Robot
5329acb61f
Merge "Revert "Use get instead of implicit cast on Return<*>.""
2016-12-01 20:55:39 +00:00
Treehugger Robot
832f1a7978
Merge "Always specify underlying enum type."
2016-12-01 17:15:54 +00:00
Steven Moreland
fafbbd7026
Revert "Use get instead of implicit cast on Return<*>."
...
This reverts commit dc5f84f993
.
Change-Id: Ib81f732d1e0b822a5f53cbc7ed8a13e146ad8b7a
2016-12-01 08:20:32 -08:00
Yifan Hong
15a9614dcd
Merge "Update to use the correct library for logging." am: f5e1ac67ed
am: 34d006ee9c
am: fb89d1237d
...
am: 6cb0ee580a
Change-Id: I27419afa6ff8ebda825e474d9cee242a29a31f53
2016-11-30 20:59:57 +00:00
Steven Moreland
d26dc50abb
Always specify underlying enum type.
...
Bug: 33197891
Test: compiles
Change-Id: I3d4822ea9a665708302d3bd1460425fddf1dcda9
2016-11-29 14:22:10 -08:00
Steven Moreland
73600f7955
Always specify underlying enum type.
...
Bug: 33197891
Test: compiles
Change-Id: I3d4822ea9a665708302d3bd1460425fddf1dcda9
2016-11-29 14:12:34 -08:00
Yifan Hong
0c4c7a30c2
Update to use the correct library for logging.
...
Generates: b/33193497
Test: mma
Change-Id: Ib8bfc4d2f1d68947099e4756f661ed06689ffd62
2016-11-29 13:10:15 -08:00
Steven Moreland
bc51c2d330
Use get instead of implicit cast on Return<*>. am: dc5f84f993
am: 3c87575472
am: 90bd630187
...
am: da1c605bf8
Change-Id: I31eb131fbe2a59f4e47b5d3ea0558cd2a9c843d5
2016-11-28 21:50:28 +00:00
Steven Moreland
dc5f84f993
Use get instead of implicit cast on Return<*>.
...
Bug: 31348667
Test: hidl_test
Change-Id: Icc22f440077feeff1119ca7b2b44fab684b453db
2016-11-28 12:06:22 -08:00
Treehugger Robot
2fe5762cae
Merge "Update makefiles for logging."
2016-11-24 16:41:20 +00:00
Steven Moreland
eccc0081c8
Remove HIDL_GENERATED from things written by hand. am: 33e87b8a76
am: 8b6a886d60
am: 35460073b3
...
am: 6817b001f1
Change-Id: Ied2a612dbeac019fa764eeb8375d6e68f0ff7e66
2016-11-23 01:51:19 +00:00
Steven Moreland
33e87b8a76
Remove HIDL_GENERATED from things written by hand.
...
find . -name "*.h" -exec sed -i 's/HIDL_GENERATED_\(.*\)_H_/\U\1_H/g' {}
+
They now match what would be generated by -Lc++-impl. This prevents
confusion over whether or not the files are autogenerated.
Test: pass
Change-Id: I2c9d7887f6d6bdaa19a5c4bfcf02ee3d1dbc81d1
2016-11-22 15:34:39 -08:00
Steven Moreland
bbff14d4bb
Merge "Update makefiles for logging."
2016-11-22 17:25:36 +00:00
Keun Soo Yim
b74aac8107
Merge "move VTS HIDL HAL tests to the corresponding interface directories"
2016-11-22 16:41:27 +00:00
Martijn Coenen
403161ab73
Use newly introduced hidl_handle.
...
Bug: 32089785
Test: builds
Change-Id: I27c7d3945e1fe390661bf322987011a00fe9b3fe
2016-11-22 12:17:58 +01:00
Martijn Coenen
70b9a15df0
Use newly introduced hidl_handle.
...
Bug: 32089785
Test: builds
Change-Id: I27c7d3945e1fe390661bf322987011a00fe9b3fe
2016-11-22 09:03:11 +01:00
Keun Soo Yim
8a36c0b01c
move VTS HIDL HAL tests to the corresponding interface directories
...
Bug: 32783461
Test: vts-tradefed; run vts-hal-hidl
Change-Id: Iead44eaf65dcd4de2286267467c4a4a322a88205
2016-11-21 19:16:12 -08:00
Steven Moreland
f8d68ec855
Update makefiles for logging.
...
Bug: 32943424
Test: pass
Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c
2016-11-21 16:28:54 -08:00
Steven Moreland
3e3a0998e0
Update makefiles for logging.
...
Bug: 32943424
Test: hidl_test
Change-Id: I86dc81935912861073497c07696378895a25f9ee
2016-11-21 16:19:57 -08:00
Yifan Hong
63544eacb6
Split libhidl into base and transport.
...
Bug: 32756130
Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 09:52:57 -08:00
TreeHugger Robot
6c31eaf8e7
Merge "Split libhidl into base and transport."
2016-11-18 15:32:53 +00:00
Yifan Hong
6b920e43d3
Split libhidl into base and transport.
...
Bug: 32756130
Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 00:00:54 -08:00
Martijn Coenen
65c86c08a1
Cast hidl_pointer<T> to void*.
...
hidl_pointer<T> can only allow one implicit conversion
operator, and native_handle_t* is the one that makes
most sense. Hence, this requires an explicit cast.
Bug: 32089785
Test: builds
Change-Id: Ie952ee2e4f0c20fa33f793403d51f3d550257310
2016-11-17 15:29:36 +01:00
Yifan Hong
1eb8f1cc1f
Update Android.bp to reexport dependent packages.
...
b/32710416
Test: mma
Change-Id: Iaca7300c366c2c9e860a29e6a111248d315cc5b4
2016-11-09 06:03:22 +00:00
Colin Cross
8f084e00d6
Support genrules with multiple tools
...
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.
Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
(cherry picked from commit b785f5b82e
)
2016-11-07 10:54:59 -08:00
Treehugger Robot
139b69077f
Merge "Fix test for array size orders."
2016-11-03 22:07:24 +00:00
Yifan Hong
1f4fbc0793
hidl_test: do not use Return for app errors.
...
Test: hidl_test
Bug: 31348667
Change-Id: Icc7e926bbb886b040fdea0ff9dee8bedad0860e7
2016-11-02 17:47:46 -07:00
Yifan Hong
1d57002951
Fix test for array size orders.
...
Test: hidl_test
Test: hidl_test_java
Bug: 31438033
Change-Id: I100d7ed6dac24005fa1a5c46a3e09aa062d957f7
2016-11-02 15:03:46 -07:00
Treehugger Robot
8766c010ba
Merge "Running update-makefiles for fixed spacing."
2016-11-02 00:44:16 +00:00
Yifan Hong
688bb1e2c6
Add test for null native_handle_t*.
...
Test: hidl_test
Bug: 30814137
Change-Id: Ic52a4c588e2fde3859a0ae8c098e5cb60a87efe8
2016-11-02 00:16:17 +00:00
Steven Moreland
7982058699
Running update-makefiles for fixed spacing.
...
Test: pass
Change-Id: I4dcaf70b1c014f3ecf685d4884601be6f17ee51d
2016-11-01 20:06:29 +00:00
Martijn Coenen
b7307d5c8a
Add method to IFoo for testing NULL interfaces.
...
Bug: 32410513
Test: mma, hidl_test
Change-Id: I791c3a95e670a859e5e494ead987d2a93f5047a5
2016-11-01 13:09:53 +01:00
Yifan Hong
ebfa633103
Add interface methods for testing vec<handle>.
...
Test: hidl_test
Bug: 32160974
Change-Id: I7eda1650fcf8d58778b2aad97a5bd62afc95bc36
2016-10-31 12:02:35 +00:00
Yifan Hong
cc6ad7dfe5
add test for binder inheritance.
...
Test: hidl_test
Test: `make hidl_test_java` compiles
Change-Id: Ie9217b79e369f2a1e7a7c9ed02524b17e3fc8b7f
2016-10-26 15:27:23 -07:00
Treehugger Robot
a6b44aad97
Merge "Add methods to test flavor of FMQ supporting unsynchronized writes."
2016-10-26 16:37:18 +00:00
Steven Moreland
7a4f118c48
Stop all these merge conflicts.
...
Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
2016-10-26 12:05:29 +02:00
Steven Moreland
54813ed7c6
Use hidl_string conversion constructor as test.
...
Test: hidl_test
Change-Id: I626c40e1a3121e4f41ba9f612efc7321f7c03f85
2016-10-24 12:13:17 -07:00