Commit graph

18762 commits

Author SHA1 Message Date
Andreas Huber
1697c4df58 Merge "[Java] Add a test to verify that typedefs in types.hal does not mistakenly" 2016-09-23 01:39:46 +00:00
Iliyan Malchev
678fa1f456 android.hardware.nfc@1.0: provide a default implementation
b/31524912
Test: pass

Change-Id: Id9d34f62f4a2b92bdc3beb3e62c89c82743c0ca0
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-22 23:31:52 +00:00
Iliyan Malchev
998892cce7 update auto-generated makefiles
b/31524912
Test: pass

Change-Id: Iafea8f87e93181041f42820df39ec43b3c785410
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-22 23:31:33 +00:00
Andreas Huber
0cfe6e1da5 [Java] Add a test to verify that typedefs in types.hal does not mistakenly am: f1d448b6a9 am: a0968031d6
am: 50ff1f58e9

Change-Id: I0bf7af1567bb9012670daa86a812f7d887941f60
2016-09-22 23:13:41 +00:00
Andreas Huber
0c397242c0 Merge "Verify that structs with multiple array fields now successfully compile for Java" am: 05f80eec9d am: a37cd4c0d1
am: 33271e9d2f

Change-Id: Ie56f1068c7f870b39f0ba8223e4c849e972f3575
2016-09-22 23:12:53 +00:00
Mitchell Wills
1a54b1be14 Initial pieces of WiFi HAL interface definition am: 5443a9fc9b am: 3d1b2c3c80
am: 5967714741

Change-Id: I6cf7dc61774de22c936c50962d19be65abef3ddf
2016-09-22 23:12:44 +00:00
Andreas Huber
50ff1f58e9 [Java] Add a test to verify that typedefs in types.hal does not mistakenly am: f1d448b6a9
am: a0968031d6

Change-Id: If873918c0fff96a5e19db275bfc29716b842b035
2016-09-22 22:59:12 +00:00
Andreas Huber
a0968031d6 [Java] Add a test to verify that typedefs in types.hal does not mistakenly
am: f1d448b6a9

Change-Id: Ie5f02da566697f0275294f0d5bf930e7405c742b
2016-09-22 22:41:58 +00:00
Andreas Huber
33271e9d2f Merge "Verify that structs with multiple array fields now successfully compile for Java" am: 05f80eec9d
am: a37cd4c0d1

Change-Id: I9399dc700d42edd72263f2a02668e7211d396ed4
2016-09-22 21:57:48 +00:00
Mitchell Wills
5967714741 Initial pieces of WiFi HAL interface definition am: 5443a9fc9b
am: 3d1b2c3c80

Change-Id: I8c22d41673fbc0e273a111d2ce9c87013758c4df
2016-09-22 21:57:19 +00:00
Andreas Huber
446e8d6b27 [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: Ifd85852624288a61fda656c030457bd793ad171b
2016-09-22 14:08:55 -07:00
Andreas Huber
680c2af411 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: I8ef57cfa097a9c42c4dc5769a56dc959888aa025
2016-09-22 14:05:06 -07:00
Andreas Huber
f1d448b6a9 [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
2016-09-22 13:22:47 -07:00
Andreas Huber
a37cd4c0d1 Merge "Verify that structs with multiple array fields now successfully compile for Java"
am: 05f80eec9d

Change-Id: I2a12bb4d611d482a66eff412021f086f0ba43476
2016-09-22 20:08:08 +00:00
Treehugger Robot
05f80eec9d Merge "Verify that structs with multiple array fields now successfully compile for Java" 2016-09-22 19:53:14 +00:00
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
8731faf771 Merge "Additional test cases to verify multi-dimensional arrays work properly." am: ed76563377 am: 551f714f93 am: 2d026f473f
am: a9e8ca0542

Change-Id: I3d38d83a02ed538b9ba50d1f12cae7e3f22730ca
2016-09-21 06:56:11 +00:00
Andreas Huber
b688d69316 Additional test cases to verify multi-dimensional arrays work properly.
(cherry picked from commit 8e237941ef)

Bug: 31438033
Test: run updated "hidl_test" and "hidl_test_java"
Change-Id: I99185440dcd80639a6ac3e764ae66dc5c7fb18d1
2016-09-20 21:35:29 -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
c4f3cbbdad Add dependency on libcutils. am: adc313d43d am: f2ef735e00 am: e7d11d6140
am: 401335cf49

Change-Id: I41f6db768dfe01eaa6ac140e7834f2b7842c9bfa
2016-09-20 07:04:03 +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
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