Commit graph

1985 commits

Author SHA1 Message Date
Mitchell Wills
3d1b2c3c80 Initial pieces of WiFi HAL interface definition
am: 5443a9fc9b

Change-Id: I23f086448b3e61f0b3fbc380d46ecdb28d6e5789
2016-09-22 19:36:29 +00:00
Andreas Huber
fc0b6c484a 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
2016-09-22 11:25:23 -07:00
Mitchell Wills
5443a9fc9b 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
2016-09-22 10:50:27 -07:00
Andreas Huber
a9e8ca0542 Merge "Additional test cases to verify multi-dimensional arrays work properly." am: ed76563377 am: 551f714f93
am: 2d026f473f

Change-Id: Icce4455aa570c13613550e9c633ac8c29113f5f5
2016-09-20 21:58:12 +00:00
Andreas Huber
2d026f473f Merge "Additional test cases to verify multi-dimensional arrays work properly." am: ed76563377
am: 551f714f93

Change-Id: I0cfa94791445d91b9502f4fdf5aa2d295460f874
2016-09-20 20:59:34 +00:00
Andreas Huber
551f714f93 Merge "Additional test cases to verify multi-dimensional arrays work properly."
am: ed76563377

Change-Id: Id7e09605925b718147d580114cf644a329e9e5fe
2016-09-20 20:48:56 +00:00
Treehugger Robot
ed76563377 Merge "Additional test cases to verify multi-dimensional arrays work properly." 2016-09-20 20:28:12 +00:00
Zhuoyao Zhang
401335cf49 Add dependency on libcutils. am: adc313d43d am: f2ef735e00
am: e7d11d6140

Change-Id: I629e40fd4ecd40559516b6c25bcb317e7255d3fd
2016-09-20 00:57:21 +00:00
Zhuoyao Zhang
e7d11d6140 Add dependency on libcutils. am: adc313d43d
am: f2ef735e00

Change-Id: I18ef2fe9e3e052a6200e8d5724537866bd04114c
2016-09-19 23:33:09 +00:00
Zhuoyao Zhang
f2ef735e00 Add dependency on libcutils.
am: adc313d43d

Change-Id: I400de4756d28d50d1080bdd768c49a079eb097b3
2016-09-19 23:19:44 +00:00
Andreas Huber
8e237941ef Additional test cases to verify multi-dimensional arrays work properly.
Bug: 31438033
Change-Id: I1fc58cbbe6f161f7f71a43fa43d743843ba22f76
Test: run updated "hidl_test" and "hidl_test_java"
2016-09-19 14:07:54 -07:00
Zhuoyao Zhang
adc313d43d Add dependency on libcutils.
* Used for get system properies.

Test: pass test hidl_test.
Change-Id: I3b6d2deb442cd627a6f30312f0c204177d410ecb
2016-09-19 12:52:09 -07:00
Yifan Hong
f50e6f0412 Merge "Remove @hal_type from .hal files." am: 96f539739e am: 7b835a891f
am: 9364de0177

Change-Id: I13457ebedef07fbf6a5c8ec088efbe9a9c8ad8eb
2016-09-19 19:40:55 +00:00
Yifan Hong
9364de0177 Merge "Remove @hal_type from .hal files." am: 96f539739e
am: 7b835a891f

Change-Id: I60adf102cc2349bf67818dc1307d45758eaf400d
2016-09-19 19:37:54 +00:00
Yifan Hong
7b835a891f Merge "Remove @hal_type from .hal files."
am: 96f539739e

Change-Id: Icc5162a4b4ca7914cb687ba9d2c8b32d0ae7841d
2016-09-19 19:34:54 +00:00
Yifan Hong
96f539739e Merge "Remove @hal_type from .hal files." 2016-09-19 19:25:19 +00:00
Yifan Hong
252c1c58a4 Remove @hal_type from .hal files.
Test: ran make android.hardware.nfc@1.0 successfully
      compiles.

Bug: 31527823

Change-Id: Ib2c2f40ef6a8939a8344ade6138a7b0f32f14ba9
2016-09-19 10:19:24 -07:00
Iliyan Malchev
b3cd39fce1 fix update-makefiles.sh to not need Android.mk am: 15e1558a04 am: c6260f3952
am: a848f8616d

Change-Id: I4efbab4656d73864223776829216a392c1582b36
2016-09-18 03:48:42 +00:00
Iliyan Malchev
a848f8616d fix update-makefiles.sh to not need Android.mk am: 15e1558a04
am: c6260f3952

Change-Id: I2710a7f4b024b873935994f98562b2bb5b327678
2016-09-18 03:45:42 +00:00
Iliyan Malchev
c6260f3952 fix update-makefiles.sh to not need Android.mk
am: 15e1558a04

Change-Id: Iec4f362abc0e0b1f1798e93baf457d9ce0cf3386
2016-09-18 03:43:11 +00:00
Iliyan Malchev
15e1558a04 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>
2016-09-18 01:50:01 +00:00
Andreas Huber
0ec1219101 Add tests to verify that multi-dimensional arrays in Java work (inside structs) am: 9c43f016b6 am: 975f5d66b2
am: a0d07c9f72

Change-Id: I61c77726a9690b077515143ab1bea2a0aee429f4
2016-09-16 06:40:19 +00:00
Andreas Huber
a0d07c9f72 Add tests to verify that multi-dimensional arrays in Java work (inside structs) am: 9c43f016b6
am: 975f5d66b2

Change-Id: I27d7995678337f4f38a2d342e1b67862f0e46afd
2016-09-16 06:37:49 +00:00
Andreas Huber
975f5d66b2 Add tests to verify that multi-dimensional arrays in Java work (inside structs)
am: 9c43f016b6

Change-Id: Id2c8d4b577d35725e895231817602079fa2ae5e0
2016-09-16 06:34:48 +00:00
Andreas Huber
9c43f016b6 Add tests to verify that multi-dimensional arrays in Java work (inside structs)
Bug: 31438033
Change-Id: Ic27868fb0f603ca4acb2a42f144493d6ec26044f
2016-09-15 09:28:31 -07:00
Andreas Huber
d870cd7def Adds tests to verify proper C++ code generation for multi-dimensional arrays am: cf8560c508 am: 1bd9842489
am: e783aeb752

Change-Id: Ic4456887727cf531ec7c2a91e165a3897817076e
2016-09-13 18:41:15 +00:00
Andreas Huber
e783aeb752 Adds tests to verify proper C++ code generation for multi-dimensional arrays am: cf8560c508
am: 1bd9842489

Change-Id: I973e6e36daa44c3c8dcbaf0956a1825935384fae
2016-09-13 18:38:23 +00:00
Andreas Huber
1bd9842489 Adds tests to verify proper C++ code generation for multi-dimensional arrays
am: cf8560c508

Change-Id: I6ef15d77d8fe3a8c79bc8e11112abc78dcf62d06
2016-09-13 18:35:44 +00:00
Andreas Huber
cf8560c508 Adds tests to verify proper C++ code generation for multi-dimensional arrays
and vectors of arrays.

Bug: 31438033
Change-Id: Ia7c2198de31bdb4705687726abe3d0371625e56a
2016-09-13 09:34:40 -07:00
Iliyan Malchev
2a67c396a3 Merge "interfaces: regenerate makefiles" am: d66bb6fb5c am: 502a8ead69
am: 293c94dba5

Change-Id: I67a632587d65880a079f8901ae7addcb7a79e52c
2016-09-13 05:01:52 +00:00
Iliyan Malchev
293c94dba5 Merge "interfaces: regenerate makefiles" am: d66bb6fb5c
am: 502a8ead69

Change-Id: I2949fe466d5300ea2a9396fc34fd310656b116f1
2016-09-13 04:59:22 +00:00
Iliyan Malchev
502a8ead69 Merge "interfaces: regenerate makefiles"
am: d66bb6fb5c

Change-Id: I7fff97e33676c653762371e70cc00b4e2bdb4c2c
2016-09-13 04:56:52 +00:00
Treehugger Robot
d66bb6fb5c Merge "interfaces: regenerate makefiles" 2016-09-13 04:52:48 +00:00
Andreas Huber
d22f9adb7a Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]" am: 3d49850a49 am: 4d3949e910
am: 5ec9de5bbf

Change-Id: I2acd3518057ac60598ccdecd0bc8390337af9925
2016-09-12 18:06:06 +00:00
Andreas Huber
5ec9de5bbf Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]" am: 3d49850a49
am: 4d3949e910

Change-Id: I137d2b56d7aab969fac12f2662e42dc3e24a8987
2016-09-12 18:02:41 +00:00
Andreas Huber
4d3949e910 Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]"
am: 3d49850a49

Change-Id: Ibff5658abbf71276353fe8ba5fd4bdc9b381e57c
2016-09-12 17:59:31 +00:00
Treehugger Robot
3d49850a49 Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]" 2016-09-12 17:50:11 +00:00
Andreas Huber
44bf2e3bf7 WireMQDescriptor => MQDescriptor am: 4a99f3afae am: 3109b325f6
am: 741dbd4efd

Change-Id: I411e55718003e3bfd38eccb44fb8035488231583
2016-09-10 01:21:23 +00:00
Andreas Huber
741dbd4efd WireMQDescriptor => MQDescriptor am: 4a99f3afae
am: 3109b325f6

Change-Id: I78244ba778bb13bfe354f1824d4e21ea5bf2a652
2016-09-10 01:18:21 +00:00
Andreas Huber
3109b325f6 WireMQDescriptor => MQDescriptor
am: 4a99f3afae

Change-Id: I84c200887c48b36e310eae710e0126a5c29d179e
2016-09-10 01:15:21 +00:00
Iliyan Malchev
c6c7aabdc9 interfaces: regenerate makefiles
b/31372383

Change-Id: I4fd9d3f174a22f29bc3beb9aeb7c30fc6bd4acd8
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-09 16:28:23 -07:00
Andreas Huber
f399e50a90 Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]
argument/result passing.

Bug: 31380705
Change-Id: I17fd03a10f9740f68a6fb318a5c2ef9847f4c050
2016-09-09 15:06:35 -07:00
Andreas Huber
4a99f3afae WireMQDescriptor => MQDescriptor
b/31091383 Adding WireMQDescriptor as a hidl type

Change-Id: Iff23c833e8ab232ad37fd9bfbfe4d49fbc06b369
2016-09-09 11:35:48 -07:00
Iliyan Malchev
40cd3a7b67 android.hardware.tests.msgq@1.0: modify ITestMsgQ am: da96fb2a94 am: d529d22e11
am: 2d5616e9bf

Change-Id: I6ee0b51f89cba185b1dc8224dcfecb14edcc15dd
2016-09-09 05:15:34 +00:00
Iliyan Malchev
2d5616e9bf android.hardware.tests.msgq@1.0: modify ITestMsgQ am: da96fb2a94
am: d529d22e11

Change-Id: I16bb702ecbfa8f94e8421e17090418a52c107439
2016-09-09 05:13:05 +00:00
Iliyan Malchev
d529d22e11 android.hardware.tests.msgq@1.0: modify ITestMsgQ
am: da96fb2a94

Change-Id: Iee6a8ef2e1d183cbac53a96d29b449fd99cf9340
2016-09-09 05:10:33 +00:00
Iliyan Malchev
da96fb2a94 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>
2016-09-08 15:12:36 -07:00
Iliyan Malchev
603f5df345 interfaces: update makefiles am: b350caf9dc am: 866e19d4c3
am: c697403a93

Change-Id: I5373afd5e4c38dd14ad8ba740d3c0f809ccbbca4
2016-09-08 00:47:58 +00:00
Iliyan Malchev
c697403a93 interfaces: update makefiles am: b350caf9dc
am: 866e19d4c3

Change-Id: Ia8436b263f6889b93f663cd039f248e1078e45a5
2016-09-08 00:44:58 +00:00
Iliyan Malchev
866e19d4c3 interfaces: update makefiles
am: b350caf9dc

Change-Id: Id3547a681a117406e931efe31da2d0b1bebbb33f
2016-09-08 00:41:00 +00:00