Commit graph

27984 commits

Author SHA1 Message Date
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
Yifan Hong
95b1ba9b67 Merge "Remove @hal_type from .hal files." am: 96f539739e am: 7b835a891f am: 9364de0177
am: f50e6f0412

Change-Id: I7731c81c0a093d418e8d5f051373ce061c2d67d9
2016-09-19 20:00:47 +00: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
af94ef8f9e fix update-makefiles.sh to not need Android.mk am: 15e1558a04 am: c6260f3952 am: a848f8616d
am: b3cd39fce1

Change-Id: I251c7b5b16461bfba93bcc3c60b5c94fbcd3706d
2016-09-18 03:51:43 +00: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
6b04b12f19 Add tests to verify that multi-dimensional arrays in Java work (inside structs) am: 9c43f016b6 am: 975f5d66b2 am: a0d07c9f72
am: 0ec1219101

Change-Id: I78a8b686a3709495597c53d10d3d2164fb47c6c0
2016-09-16 06:42:49 +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
78e9659c53 Adds tests to verify proper C++ code generation for multi-dimensional arrays am: cf8560c508 am: 1bd9842489 am: e783aeb752
am: d870cd7def

Change-Id: I6cd07136fefbf1b58b42e1b1bc4e49dfd9f26676
2016-09-13 19:13:40 +00: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
0aa2e33c05 Merge "interfaces: regenerate makefiles" am: d66bb6fb5c am: 502a8ead69 am: 293c94dba5
am: 2a67c396a3

Change-Id: I89afdddfec43173e2605170e07f5540a2e998aca
2016-09-13 05:25:26 +00: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
b3e7ca0074 Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]" am: 3d49850a49 am: 4d3949e910 am: 5ec9de5bbf
am: d22f9adb7a

Change-Id: I3b3cb1d908e67850e21b77322a944a9d9d2cc323
2016-09-12 18:31:09 +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
45da73c012 WireMQDescriptor => MQDescriptor am: 4a99f3afae am: 3109b325f6 am: 741dbd4efd
am: 44bf2e3bf7

Change-Id: I7807f2ca73db04e37530abaa74c5b4753c56907d
2016-09-10 01:32:41 +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
c5aead747b android.hardware.tests.msgq@1.0: modify ITestMsgQ am: da96fb2a94 am: d529d22e11 am: 2d5616e9bf
am: 40cd3a7b67

Change-Id: I897de354ff020261f5e8c0cdaa7cd1bbbde7e9b6
2016-09-09 05:18:04 +00: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
53f78c7ce6 interfaces: update makefiles am: b350caf9dc am: 866e19d4c3 am: c697403a93
am: 603f5df345

Change-Id: I37d2bb16c32863e3688880a55289a5db4b5a98f9
2016-09-08 00:49:58 +00: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
Iliyan Malchev
b350caf9dc interfaces: update makefiles
b/31015466
b/31045569

Change-Id: I07d54fd956fedc4b94622ace1c8f2be3f2f93b2b
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-07 14:37:35 -07:00