OSDN Git Service
Dan Willemsen [Fri, 30 Sep 2016 19:42:45 +0000 (19:42 +0000)]
Convert to Android.bp am:
242b34edd5
am:
129b540ebe
Change-Id: I0997826bfe5506356f4431a27bd6fde4e8b83099
Dan Willemsen [Fri, 30 Sep 2016 19:39:44 +0000 (19:39 +0000)]
Convert to Android.bp
am:
242b34edd5
Change-Id: I9e37ecf4f0bc872fef705d3a34e603a30a964326
Dan Willemsen [Wed, 28 Sep 2016 23:12:24 +0000 (16:12 -0700)]
Convert to Android.bp
See build/soong/README.md for more information.
Bug:
31742855
Test: mma -j
Change-Id: Icb93f3b1b2caeb5e9c00f88ca35841b927ad075d
Yifan Hong [Fri, 30 Sep 2016 17:07:04 +0000 (17:07 +0000)]
Tests for Reference Support. am:
fe2b098355
am:
7ea48f1f83
Change-Id: I5be0155b3c01ef11be31f9ee26c0638a9efeccff
Yifan Hong [Fri, 30 Sep 2016 17:04:03 +0000 (17:04 +0000)]
Tests for Reference Support.
am:
fe2b098355
Change-Id: I7786a9043b8875a9ecee424035d92c292c38a002
Yifan Hong [Tue, 23 Aug 2016 23:50:55 +0000 (16:50 -0700)]
Tests for Reference Support.
Bug:
31300815 pointer support
Bug:
31349114 nested types
Bug:
31757611 Parcel ref# cap
Test: `make hidl_test && adb sync && adb shell hidl_test`
Only works with a kernel patch.
Change-Id: I48351b1bf861a4d2d77f823f7242524156cde1e7
Hridya Valsaraju [Thu, 29 Sep 2016 17:02:17 +0000 (17:02 +0000)]
Merge "Use MQDescriptorSync instead of MQdescriptor in interface" am:
aa3a8e0dbc
am:
6635495c02
Change-Id: I5303c34c2ac29d4f75035b8e80ad5762013eee6a
Hridya Valsaraju [Thu, 29 Sep 2016 16:57:45 +0000 (16:57 +0000)]
Merge "Use MQDescriptorSync instead of MQdescriptor in interface"
am:
aa3a8e0dbc
Change-Id: I8c87f36ca1c1607c0e72c543a436ca82718e4d84
Treehugger Robot [Thu, 29 Sep 2016 16:48:53 +0000 (16:48 +0000)]
Merge "Use MQDescriptorSync instead of MQdescriptor in interface"
Martijn Coenen [Thu, 29 Sep 2016 07:53:16 +0000 (07:53 +0000)]
Merge "Default binderized implementation of android.hardware.nfc@1.0" am:
a614ac0b88
am:
b3bdadd0d0
Change-Id: Ib3f55c9ed8cfa1c9cef2a24c31b7585980b02d8a
Martijn Coenen [Thu, 29 Sep 2016 07:48:45 +0000 (07:48 +0000)]
Merge "Default binderized implementation of android.hardware.nfc@1.0"
am:
a614ac0b88
Change-Id: Ia447fe7a1db8a1399283998eb6dfc709a340f4af
Martijn Coenen [Thu, 29 Sep 2016 07:41:33 +0000 (07:41 +0000)]
Merge "Default binderized implementation of android.hardware.nfc@1.0"
Roshan Pius [Wed, 28 Sep 2016 22:46:05 +0000 (22:46 +0000)]
Merge "wifi: Move supplicant HIDL interfaces to subfolder" am:
d8a7bb5838
am:
bc667d76d7
Change-Id: Ifa456d3a92d832c4e85f144170fca9865d13f603
Roshan Pius [Wed, 28 Sep 2016 22:42:36 +0000 (22:42 +0000)]
Merge "wifi: Move supplicant HIDL interfaces to subfolder"
am:
d8a7bb5838
Change-Id: Ica29c5571b54c0051f6b451420c70028ee61b710
Andreas Huber [Wed, 28 Sep 2016 22:42:36 +0000 (22:42 +0000)]
Verify that method arguments and results can share the same name. am:
88476c157b
am:
2b77beb537
Change-Id: Ia14db1fe150aa3b0adc0810e5df67d67bd309ede
Andreas Huber [Wed, 28 Sep 2016 22:40:06 +0000 (22:40 +0000)]
Verify that method arguments and results can share the same name.
am:
88476c157b
Change-Id: Iaff4fe06ebe22fbaa50e2720f60329d67e203cb2
Treehugger Robot [Wed, 28 Sep 2016 22:38:53 +0000 (22:38 +0000)]
Merge "wifi: Move supplicant HIDL interfaces to subfolder"
Iliyan Malchev [Mon, 26 Sep 2016 16:57:20 +0000 (09:57 -0700)]
Default binderized implementation of android.hardware.nfc@1.0
Provide a default binderized HAL implementation. The implementation
uses android.hardware.nfc@1.0-impl.so, which in turn loads the
conventional HAL (nfc_nci.default.so). If a device includes package
android.hardware.nfc@1.0-service, the device will automatically use the
binderized implementation of the NFC HAL. If a device includes package
android.hardware.nfc@1.0-impl instead, it will use the default
implementation in hardware/interfaces/nfc/1.0/default.
b/
31688271
Test: pass
Change-Id: I31cd93d28705d287975b485092cffd7661599d7c
Signed-off-by: Iliyan Malchev <malchev@google.com>
Andreas Huber [Tue, 27 Sep 2016 21:54:20 +0000 (14:54 -0700)]
Verify that method arguments and results can share the same name.
Bug:
30778622
Test: hidl_test, hidl_test_java
Change-Id: Idb35a03337010c1fb63c2896f216392398e03e0c
Roshan Pius [Wed, 28 Sep 2016 20:35:42 +0000 (13:35 -0700)]
wifi: Move supplicant HIDL interfaces to subfolder
Move all the supplicant HIDL interfaces to a separate subfolder.
Bug:
31800508
Test: Compiles
Change-Id: I09bfb17b626312e8be819238ab2edbb83ca04322
Roshan Pius [Wed, 28 Sep 2016 20:00:50 +0000 (20:00 +0000)]
wifi(hidl): Add supplicant HIDL interface am:
9a3a84f5a3
am:
236659d535
Change-Id: I55c3e764bc674e58c5eddd7778c315fe0c8f73a7
Roshan Pius [Wed, 28 Sep 2016 19:55:54 +0000 (19:55 +0000)]
wifi(hidl): Add supplicant HIDL interface
am:
9a3a84f5a3
Change-Id: I2f8f5df8612919c43389e2bf7a9532a85390795b
Roshan Pius [Thu, 15 Sep 2016 20:02:25 +0000 (13:02 -0700)]
wifi(hidl): Add supplicant HIDL interface
Convert the existing AIDL binder interface of wpa_supplicant to HIDL.
Summary of changes:
1. Every HIDL method returns an instance of |SupplicantStatus|
along with any others params (for getters). This is needed to return the
equivalent of |Binder::Status| to indicate errors in the args passed,
stale proxy, etc.
2. All constants are changed to enums. There were some constants which
should have been enums in the first place, but wasn't because AIDL did
not support enums. But, there are others which should be standalone
constants, but are enums now because constants are not supported in HIDL.
3. Conform to HIDL style guide.
Bug:
31365276
Test: `mmm -j32 hardware/interfaces/wifi/1.0/`
Change-Id: Iba753e279fd260788d8628ea2f5c2281b5844095
Andreas Huber [Wed, 28 Sep 2016 17:36:33 +0000 (17:36 +0000)]
Merge "Verify that vectors of arrays within structures are properly marshaled" am:
e168ebab22
am:
cb38b3cd29
Change-Id: I48e139fec5b1fae93a8e3976a0070e143dd117e4
Andreas Huber [Wed, 28 Sep 2016 17:30:24 +0000 (17:30 +0000)]
Merge "Verify that vectors of arrays within structures are properly marshaled"
am:
e168ebab22
Change-Id: I961df79e75d8738f6968efb1a72da5f3bcb35f3d
Treehugger Robot [Wed, 28 Sep 2016 17:16:52 +0000 (17:16 +0000)]
Merge "Verify that vectors of arrays within structures are properly marshaled"
Hridya Valsaraju [Thu, 22 Sep 2016 00:47:06 +0000 (17:47 -0700)]
Use MQDescriptorSync instead of MQdescriptor in interface
Add comments and cleanup code as per HIDL style guidelines.
Bug:
31550963
Test: Built and ran existing FMQ unit tests and benchmarks.
Change-Id: I0a09ba1fcb520b46e5e6299b473c962c93d815eb
Yifan Hong [Tue, 27 Sep 2016 21:30:26 +0000 (21:30 +0000)]
Updated indentation to 4 spaces for Android.mk. am:
b0b5322e7d
am:
929a4a641c
Change-Id: I772cf8e65d6cdbe02c190342312e12af809d84a7
Yifan Hong [Tue, 27 Sep 2016 21:28:07 +0000 (21:28 +0000)]
Updated indentation to 4 spaces for Android.mk.
am:
b0b5322e7d
Change-Id: I1f87ecd7767a373c3a3960de5dc94db89fe0e7fd
Andreas Huber [Fri, 23 Sep 2016 19:16:36 +0000 (12:16 -0700)]
Verify that vectors of arrays within structures are properly marshaled
in the Java backend.
Change-Id: I70baa4ac55d8b0e06b31b2e50662be14b8528ff3
Bug:
31682327
Test: hidl_test_java
Yifan Hong [Mon, 26 Sep 2016 22:38:09 +0000 (15:38 -0700)]
Updated indentation to 4 spaces for Android.mk.
Test: `cd system/tools/hidl && mma`
Change-Id: I088893c3c8b080239f0f32e3434faf3da3fefc7a
Yifan Hong [Mon, 26 Sep 2016 22:57:12 +0000 (22:57 +0000)]
Updated tests for constant expressions. am:
467bb282d2
am:
dff5d5f00c
Change-Id: I6229a4b293ff5ad41b34120f5adac32751d9ab59
Yifan Hong [Mon, 26 Sep 2016 22:53:43 +0000 (22:53 +0000)]
Updated tests for constant expressions.
am:
467bb282d2
Change-Id: Ife9919731add41f62b9555325a1d343ab9f2bd2b
Yifan Hong [Tue, 20 Sep 2016 20:41:30 +0000 (13:41 -0700)]
Updated tests for constant expressions.
Test: `make android.hardware.tests.expression@1.0` compiles
and generates enum class Color with autofilled values.
Test: `make hidl_test_java` succeeded.
Test: `make hidl_test` succeeded.
Bug:
31628863 Add test for autofilling enum values.
Bug:
31592132 allow constant expressions be array sizes.
Change-Id: I79f35365f1d37843922725ad5a405848f3e8ec08
Andreas Huber [Fri, 23 Sep 2016 18:22:28 +0000 (18:22 +0000)]
Updated makefiles that also add static java library targets. am:
495391aad8
am:
a88908fc9f
Change-Id: I33fed4af5f23f1e793360d8e68e7ed789b224f43
Andreas Huber [Fri, 23 Sep 2016 18:20:27 +0000 (18:20 +0000)]
Updated makefiles that also add static java library targets.
am:
495391aad8
Change-Id: Iab21a83fcd7a07ace057b7bd327b5356096654a4
Andreas Huber [Fri, 23 Sep 2016 16:15:24 +0000 (09:15 -0700)]
Updated makefiles that also add static java library targets.
Bug:
31684178
Test: hidl_test and hidl_test_java
Change-Id: Ib53d1be2b1535837ca97cb61796e335141fc7611
Iliyan Malchev [Fri, 23 Sep 2016 03:07:58 +0000 (03:07 +0000)]
android.hardware.nfc@1.0: provide a default implementation am:
678fa1f456
am:
61f39aaba5
Change-Id: Iafcb24937d03e30f33813621b736e1f32ad3f1ff
Iliyan Malchev [Fri, 23 Sep 2016 03:07:49 +0000 (03:07 +0000)]
update auto-generated makefiles am:
998892cce7
am:
8ff5b735a2
Change-Id: I4815276ca6c386491f562a4705066a98da66f723
Iliyan Malchev [Fri, 23 Sep 2016 03:05:57 +0000 (03:05 +0000)]
android.hardware.nfc@1.0: provide a default implementation
am:
678fa1f456
Change-Id: I2a10a2a82dcfa705ece239e2a6291db11807d074
Iliyan Malchev [Fri, 23 Sep 2016 03:05:48 +0000 (03:05 +0000)]
update auto-generated makefiles
am:
998892cce7
Change-Id: I55af5e32ddeb15bd8da3f15ae1f80fe112f9e6a7
Iliyan Malchev [Thu, 22 Sep 2016 22:53:53 +0000 (15:53 -0700)]
android.hardware.nfc@1.0: provide a default implementation
b/
31524912
Test: pass
Change-Id: Id9d34f62f4a2b92bdc3beb3e62c89c82743c0ca0
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Thu, 22 Sep 2016 23:23:07 +0000 (16:23 -0700)]
update auto-generated makefiles
b/
31524912
Test: pass
Change-Id: Iafea8f87e93181041f42820df39ec43b3c785410
Signed-off-by: Iliyan Malchev <malchev@google.com>
Andreas Huber [Thu, 22 Sep 2016 22:59:12 +0000 (22:59 +0000)]
[Java] Add a test to verify that typedefs in types.hal does not mistakenly am:
f1d448b6a9
am:
a0968031d6
Change-Id: If873918c0fff96a5e19db275bfc29716b842b035
Andreas Huber [Thu, 22 Sep 2016 22:41:58 +0000 (22:41 +0000)]
[Java] Add a test to verify that typedefs in types.hal does not mistakenly
am:
f1d448b6a9
Change-Id: Ie5f02da566697f0275294f0d5bf930e7405c742b
Andreas Huber [Thu, 22 Sep 2016 21:57:48 +0000 (21:57 +0000)]
Merge "Verify that structs with multiple array fields now successfully compile for Java" am:
05f80eec9d
am:
a37cd4c0d1
Change-Id: I9399dc700d42edd72263f2a02668e7211d396ed4
Mitchell Wills [Thu, 22 Sep 2016 21:57:19 +0000 (21:57 +0000)]
Initial pieces of WiFi HAL interface definition am:
5443a9fc9b
am:
3d1b2c3c80
Change-Id: I8c22d41673fbc0e273a111d2ce9c87013758c4df
Andreas Huber [Thu, 22 Sep 2016 17:54:27 +0000 (10:54 -0700)]
[Java] Add a test to verify that typedefs in types.hal does not mistakenly
generate a makefile rule.
Bug:
31678014
Test: regenerate makefiles using hidl-gen.
Change-Id: I72ceaedd33288269b74e2aa233043c741994cd1a
Andreas Huber [Thu, 22 Sep 2016 20:08:08 +0000 (20:08 +0000)]
Merge "Verify that structs with multiple array fields now successfully compile for Java"
am:
05f80eec9d
Change-Id: I2a12bb4d611d482a66eff412021f086f0ba43476
Treehugger Robot [Thu, 22 Sep 2016 19:53:14 +0000 (19:53 +0000)]
Merge "Verify that structs with multiple array fields now successfully compile for Java"
Mitchell Wills [Thu, 22 Sep 2016 19:36:29 +0000 (19:36 +0000)]
Initial pieces of WiFi HAL interface definition
am:
5443a9fc9b
Change-Id: I23f086448b3e61f0b3fbc380d46ecdb28d6e5789
Andreas Huber [Thu, 22 Sep 2016 16:47:48 +0000 (09:47 -0700)]
Verify that structs with multiple array fields now successfully compile for Java
Previously "_hidl_array_offset_*" was redeclared multiple times in the same
scope.
Bug:
31675085
Test: run hidl_test, hidl_test_java
Change-Id: I370956ae3008c05bda66dc5cdc44d33c9883376f
Mitchell Wills [Thu, 18 Aug 2016 18:44:58 +0000 (11:44 -0700)]
Initial pieces of WiFi HAL interface definition
Test: make -j48 android.hardware.wifi@1.0 android.hardware.wifi@1.0-java
Bug:
31350762
Change-Id: I1b598be397e08165fc9fd607888e064b139e8007
Andreas Huber [Tue, 20 Sep 2016 20:59:34 +0000 (20:59 +0000)]
Merge "Additional test cases to verify multi-dimensional arrays work properly." am:
ed76563377
am:
551f714f93
Change-Id: I0cfa94791445d91b9502f4fdf5aa2d295460f874
Andreas Huber [Tue, 20 Sep 2016 20:48:56 +0000 (20:48 +0000)]
Merge "Additional test cases to verify multi-dimensional arrays work properly."
am:
ed76563377
Change-Id: Id7e09605925b718147d580114cf644a329e9e5fe
Treehugger Robot [Tue, 20 Sep 2016 20:28:11 +0000 (20:28 +0000)]
Merge "Additional test cases to verify multi-dimensional arrays work properly."
Zhuoyao Zhang [Mon, 19 Sep 2016 23:33:09 +0000 (23:33 +0000)]
Add dependency on libcutils. am:
adc313d43d
am:
f2ef735e00
Change-Id: I18ef2fe9e3e052a6200e8d5724537866bd04114c
Zhuoyao Zhang [Mon, 19 Sep 2016 23:19:44 +0000 (23:19 +0000)]
Add dependency on libcutils.
am:
adc313d43d
Change-Id: I400de4756d28d50d1080bdd768c49a079eb097b3
Andreas Huber [Mon, 19 Sep 2016 20:59:52 +0000 (13:59 -0700)]
Additional test cases to verify multi-dimensional arrays work properly.
Bug:
31438033
Change-Id: I1fc58cbbe6f161f7f71a43fa43d743843ba22f76
Test: run updated "hidl_test" and "hidl_test_java"
Zhuoyao Zhang [Tue, 13 Sep 2016 00:54:52 +0000 (17:54 -0700)]
Add dependency on libcutils.
* Used for get system properies.
Test: pass test hidl_test.
Change-Id: I3b6d2deb442cd627a6f30312f0c204177d410ecb
Yifan Hong [Mon, 19 Sep 2016 19:37:54 +0000 (19:37 +0000)]
Merge "Remove @hal_type from .hal files." am:
96f539739e
am:
7b835a891f
Change-Id: I60adf102cc2349bf67818dc1307d45758eaf400d
Yifan Hong [Mon, 19 Sep 2016 19:34:54 +0000 (19:34 +0000)]
Merge "Remove @hal_type from .hal files."
am:
96f539739e
Change-Id: Icc5162a4b4ca7914cb687ba9d2c8b32d0ae7841d
Yifan Hong [Mon, 19 Sep 2016 19:25:19 +0000 (19:25 +0000)]
Merge "Remove @hal_type from .hal files."
Yifan Hong [Mon, 19 Sep 2016 17:19:24 +0000 (10:19 -0700)]
Remove @hal_type from .hal files.
Test: ran make android.hardware.nfc@1.0 successfully
compiles.
Bug:
31527823
Change-Id: Ib2c2f40ef6a8939a8344ade6138a7b0f32f14ba9
Iliyan Malchev [Sun, 18 Sep 2016 03:45:42 +0000 (03:45 +0000)]
fix update-makefiles.sh to not need Android.mk am:
15e1558a04
am:
c6260f3952
Change-Id: I2710a7f4b024b873935994f98562b2bb5b327678
Iliyan Malchev [Sun, 18 Sep 2016 03:43:11 +0000 (03:43 +0000)]
fix update-makefiles.sh to not need Android.mk
am:
15e1558a04
Change-Id: Iec4f362abc0e0b1f1798e93baf457d9ce0cf3386
Iliyan Malchev [Sun, 18 Sep 2016 01:42:46 +0000 (18:42 -0700)]
fix update-makefiles.sh to not need Android.mk
When auto-generating Android.mk for HIDL packages, update-makefiles.sh
now just looks for all directories hosting .hal files, converts them to
HIDL package names, and invokes hidl-gen on these package names to
generate the appropriate Android.mk files.
Change-Id: I8a824672f33be58508ae7c07de463f4f589a9a73
Signed-off-by: Iliyan Malchev <malchev@google.com>
Andreas Huber [Fri, 16 Sep 2016 06:37:49 +0000 (06:37 +0000)]
Add tests to verify that multi-dimensional arrays in Java work (inside structs) am:
9c43f016b6
am:
975f5d66b2
Change-Id: I27d7995678337f4f38a2d342e1b67862f0e46afd
Andreas Huber [Fri, 16 Sep 2016 06:34:48 +0000 (06:34 +0000)]
Add tests to verify that multi-dimensional arrays in Java work (inside structs)
am:
9c43f016b6
Change-Id: Id2c8d4b577d35725e895231817602079fa2ae5e0
Andreas Huber [Wed, 14 Sep 2016 22:27:21 +0000 (15:27 -0700)]
Add tests to verify that multi-dimensional arrays in Java work (inside structs)
Bug:
31438033
Change-Id: Ic27868fb0f603ca4acb2a42f144493d6ec26044f
Andreas Huber [Tue, 13 Sep 2016 18:38:23 +0000 (18:38 +0000)]
Adds tests to verify proper C++ code generation for multi-dimensional arrays am:
cf8560c508
am:
1bd9842489
Change-Id: I973e6e36daa44c3c8dcbaf0956a1825935384fae
Andreas Huber [Tue, 13 Sep 2016 18:35:44 +0000 (18:35 +0000)]
Adds tests to verify proper C++ code generation for multi-dimensional arrays
am:
cf8560c508
Change-Id: I6ef15d77d8fe3a8c79bc8e11112abc78dcf62d06
Andreas Huber [Mon, 12 Sep 2016 22:01:02 +0000 (15:01 -0700)]
Adds tests to verify proper C++ code generation for multi-dimensional arrays
and vectors of arrays.
Bug:
31438033
Change-Id: Ia7c2198de31bdb4705687726abe3d0371625e56a
Iliyan Malchev [Tue, 13 Sep 2016 04:59:22 +0000 (04:59 +0000)]
Merge "interfaces: regenerate makefiles" am:
d66bb6fb5c
am:
502a8ead69
Change-Id: I2949fe466d5300ea2a9396fc34fd310656b116f1
Iliyan Malchev [Tue, 13 Sep 2016 04:56:52 +0000 (04:56 +0000)]
Merge "interfaces: regenerate makefiles"
am:
d66bb6fb5c
Change-Id: I7fff97e33676c653762371e70cc00b4e2bdb4c2c
Treehugger Robot [Tue, 13 Sep 2016 04:52:48 +0000 (04:52 +0000)]
Merge "interfaces: regenerate makefiles"
Andreas Huber [Mon, 12 Sep 2016 18:02:41 +0000 (18:02 +0000)]
Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]" am:
3d49850a49
am:
4d3949e910
Change-Id: I137d2b56d7aab969fac12f2662e42dc3e24a8987
Andreas Huber [Mon, 12 Sep 2016 17:59:31 +0000 (17:59 +0000)]
Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]"
am:
3d49850a49
Change-Id: Ibff5658abbf71276353fe8ba5fd4bdc9b381e57c
Treehugger Robot [Mon, 12 Sep 2016 17:50:11 +0000 (17:50 +0000)]
Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]"
Andreas Huber [Sat, 10 Sep 2016 01:18:21 +0000 (01:18 +0000)]
WireMQDescriptor => MQDescriptor am:
4a99f3afae
am:
3109b325f6
Change-Id: I78244ba778bb13bfe354f1824d4e21ea5bf2a652
Andreas Huber [Sat, 10 Sep 2016 01:15:21 +0000 (01:15 +0000)]
WireMQDescriptor => MQDescriptor
am:
4a99f3afae
Change-Id: I84c200887c48b36e310eae710e0126a5c29d179e
Iliyan Malchev [Fri, 9 Sep 2016 23:24:19 +0000 (16:24 -0700)]
interfaces: regenerate makefiles
b/
31372383
Change-Id: I4fd9d3f174a22f29bc3beb9aeb7c30fc6bd4acd8
Signed-off-by: Iliyan Malchev <malchev@google.com>
Andreas Huber [Fri, 9 Sep 2016 21:56:15 +0000 (14:56 -0700)]
Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]
argument/result passing.
Bug:
31380705
Change-Id: I17fd03a10f9740f68a6fb318a5c2ef9847f4c050
Andreas Huber [Tue, 30 Aug 2016 19:23:59 +0000 (12:23 -0700)]
WireMQDescriptor => MQDescriptor
b/
31091383 Adding WireMQDescriptor as a hidl type
Change-Id: Iff23c833e8ab232ad37fd9bfbfe4d49fbc06b369
Iliyan Malchev [Fri, 9 Sep 2016 05:13:05 +0000 (05:13 +0000)]
android.hardware.tests.msgq@1.0: modify ITestMsgQ am:
da96fb2a94
am:
d529d22e11
Change-Id: I16bb702ecbfa8f94e8421e17090418a52c107439
Iliyan Malchev [Fri, 9 Sep 2016 05:10:33 +0000 (05:10 +0000)]
android.hardware.tests.msgq@1.0: modify ITestMsgQ
am:
da96fb2a94
Change-Id: Iee6a8ef2e1d183cbac53a96d29b449fd99cf9340
Iliyan Malchev [Thu, 8 Sep 2016 22:12:36 +0000 (15:12 -0700)]
android.hardware.tests.msgq@1.0: modify ITestMsgQ
Modify the configure() method so that the implementation does not have
to rely on status_t to return service errors.
b/
31367910
b/
31348667
Change-Id: I0bc88c396ce4e55ed38b534b7e3ae2c0a4faad62
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Thu, 8 Sep 2016 00:44:58 +0000 (00:44 +0000)]
interfaces: update makefiles am:
b350caf9dc
am:
866e19d4c3
Change-Id: Ia8436b263f6889b93f663cd039f248e1078e45a5
Iliyan Malchev [Thu, 8 Sep 2016 00:41:00 +0000 (00:41 +0000)]
interfaces: update makefiles
am:
b350caf9dc
Change-Id: Id3547a681a117406e931efe31da2d0b1bebbb33f
Iliyan Malchev [Wed, 7 Sep 2016 19:45:02 +0000 (12:45 -0700)]
interfaces: update makefiles
b/
31015466
b/
31045569
Change-Id: I07d54fd956fedc4b94622ace1c8f2be3f2f93b2b
Signed-off-by: Iliyan Malchev <malchev@google.com>
TreeHugger Robot [Thu, 1 Sep 2016 00:08:22 +0000 (00:08 +0000)]
Merge "Updated makefiles (includes java-library rules for applicable packages)."
Andreas Huber [Wed, 31 Aug 2016 16:10:55 +0000 (09:10 -0700)]
Updated makefiles (includes java-library rules for applicable packages).
Change-Id: I178faf37dddb5149c1bdc217fa1395b2566194d7
Bug:
31221188
Keun Soo Yim [Wed, 31 Aug 2016 07:38:54 +0000 (07:38 +0000)]
Revert "package android.hardware.tests.* as part of VTS (auto-generated)"
This reverts commit
afba0364c6fbf7e2fb5018b35b904c968f90ebd0.
Change-Id: I9d143d97ef7857502d88fef92b9ae336ee824bcd
Yifan Hong [Thu, 18 Aug 2016 22:09:28 +0000 (15:09 -0700)]
add test for constant expression evaluation output
Simply run:
# hidl_gen converts .hal to .h correctly
make hidl_gen_test
# converted .h can compile
make android.hardware.tests.expression@1.0
to run the tests.
b/
30951879: int8_t is same as char, and when emitting output the
character corresponding to that number is emitted instead of
the number itself.
Change-Id: Icacba6b6262cc0026a94f64527b80e2c0e35e72e
Iliyan Malchev [Wed, 31 Aug 2016 05:24:19 +0000 (05:24 +0000)]
Merge "Apache2 module license."
Martijn Coenen [Tue, 30 Aug 2016 18:27:56 +0000 (11:27 -0700)]
Apache2 module license.
Bug:
31110244
Change-Id: I7ce63f940199e8cd7d193bdde39fc6cd448db802
Andreas Huber [Mon, 29 Aug 2016 17:23:17 +0000 (10:23 -0700)]
Interface 'IBaz' and friends used by "hidl_test_java".
Change-Id: If49d996e34ba5aa48488e92e71234208001bfddb
Keun Soo Yim [Sat, 27 Aug 2016 01:55:21 +0000 (18:55 -0700)]
build 32- and 64-bit libs (auto-generated)
Change-Id: Iccb63cafc5db17abd423d589416d50ff21c89efa
Iliyan Malchev [Sat, 20 Aug 2016 23:44:50 +0000 (16:44 -0700)]
android.hardware.tests.foo@1.0::IFooCallback: add instrumentation
Add two instrumentation methods to IFooCallback, to help with timing
measurements in gTest.
The first one, reportResults(), blocks the caller for a given length of
time while waiting for all the other methods to execute, then reports
whether these methods were executed within this length of time, for how
long their caller was blocked, and also how long the execution of the
bodies of each of them took. Note that the execution time for a
method's body is independent of whether it is a oneway or a blocking
method. For example, heyItsTheMeaningOfLife() is a oneway method, so it
returns immediately to the caller (so the caller-blocked time should be
very small). However, if its body takes several seconds to run, then
this is the information that will be returned for
heyItsTheMeaningOfLife() as well.
The second instrumentation method, youBlockedMeFor(), is used by the
caller of IFooCallback to report how long the caller was blocked for.
This information is saved and passed by reportResults() as described
above.
b/
30855757 Convert hidl test to gTest
Change-Id: I35ac708e424bcb143fce959609fcc747f1ec37fb
Signed-off-by: Iliyan Malchev <malchev@google.com>
Zhuoyao Zhang [Wed, 24 Aug 2016 22:05:11 +0000 (15:05 -0700)]
Add test aidl file for benchmark binder performance.
Bug:
31068579
Change-Id: Idf7d5da902eb17f166ac07dc966c009bc1d9c7ae