OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoupdate auto-generated makefiles am: 998892cce7 am: 8ff5b735a2
Iliyan Malchev [Fri, 23 Sep 2016 03:09:19 +0000 (03:09 +0000)]
update auto-generated makefiles am: 998892cce7 am: 8ff5b735a2
am: ef023ad28b

Change-Id: I48c360b0e6e42e633f1704d757a0bd61079835f3

7 years agoupdate auto-generated makefiles am: 998892cce7
Iliyan Malchev [Fri, 23 Sep 2016 03:07:49 +0000 (03:07 +0000)]
update auto-generated makefiles am: 998892cce7
am: 8ff5b735a2

Change-Id: I4815276ca6c386491f562a4705066a98da66f723

7 years agoupdate auto-generated makefiles
Iliyan Malchev [Fri, 23 Sep 2016 03:05:48 +0000 (03:05 +0000)]
update auto-generated makefiles
am: 998892cce7

Change-Id: I55af5e32ddeb15bd8da3f15ae1f80fe112f9e6a7

7 years agoupdate auto-generated makefiles
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>
7 years ago[Java] Add a test to verify that typedefs in types.hal does not mistakenly am: f1d448...
Andreas Huber [Thu, 22 Sep 2016 23:13:41 +0000 (23:13 +0000)]
[Java] Add a test to verify that typedefs in types.hal does not mistakenly am: f1d448b6a9 am: a0968031d6
am: 50ff1f58e9

Change-Id: I0bf7af1567bb9012670daa86a812f7d887941f60

7 years agoMerge "Verify that structs with multiple array fields now successfully compile for...
Andreas Huber [Thu, 22 Sep 2016 23:12:53 +0000 (23:12 +0000)]
Merge "Verify that structs with multiple array fields now successfully compile for Java" am: 05f80eec9d am: a37cd4c0d1
am: 33271e9d2f

Change-Id: Ie56f1068c7f870b39f0ba8223e4c849e972f3575

7 years agoInitial pieces of WiFi HAL interface definition am: 5443a9fc9b am: 3d1b2c3c80
Mitchell Wills [Thu, 22 Sep 2016 23:12:44 +0000 (23:12 +0000)]
Initial pieces of WiFi HAL interface definition am: 5443a9fc9b am: 3d1b2c3c80
am: 5967714741

Change-Id: I6cf7dc61774de22c936c50962d19be65abef3ddf

7 years ago[Java] Add a test to verify that typedefs in types.hal does not mistakenly am: f1d448b6a9
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

7 years ago[Java] Add a test to verify that typedefs in types.hal does not mistakenly
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

7 years agoMerge "Verify that structs with multiple array fields now successfully compile for...
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

7 years agoInitial pieces of WiFi HAL interface definition am: 5443a9fc9b
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

7 years ago[Java] Add a test to verify that typedefs in types.hal does not mistakenly
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

7 years agoMerge "Verify that structs with multiple array fields now successfully compile for...
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

7 years agoMerge "Verify that structs with multiple array fields now successfully compile for...
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"

7 years agoInitial pieces of WiFi HAL interface definition
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

7 years agoVerify that structs with multiple array fields now successfully compile for Java
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

7 years agoInitial pieces of WiFi HAL interface definition
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

7 years agoMerge "Additional test cases to verify multi-dimensional arrays work properly." am...
Andreas Huber [Tue, 20 Sep 2016 21:58:12 +0000 (21:58 +0000)]
Merge "Additional test cases to verify multi-dimensional arrays work properly." am: ed76563377 am: 551f714f93
am: 2d026f473f

Change-Id: Icce4455aa570c13613550e9c633ac8c29113f5f5

7 years agoMerge "Additional test cases to verify multi-dimensional arrays work properly." am...
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

7 years agoMerge "Additional test cases to verify multi-dimensional arrays work properly."
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

7 years agoMerge "Additional test cases to verify multi-dimensional arrays work properly."
Treehugger Robot [Tue, 20 Sep 2016 20:28:11 +0000 (20:28 +0000)]
Merge "Additional test cases to verify multi-dimensional arrays work properly."

7 years agoAdd dependency on libcutils. am: adc313d43d am: f2ef735e00
Zhuoyao Zhang [Tue, 20 Sep 2016 00:57:21 +0000 (00:57 +0000)]
Add dependency on libcutils. am: adc313d43d am: f2ef735e00
am: e7d11d6140

Change-Id: I629e40fd4ecd40559516b6c25bcb317e7255d3fd

7 years agoAdd dependency on libcutils. am: adc313d43d
Zhuoyao Zhang [Mon, 19 Sep 2016 23:33:09 +0000 (23:33 +0000)]
Add dependency on libcutils. am: adc313d43d
am: f2ef735e00

Change-Id: I18ef2fe9e3e052a6200e8d5724537866bd04114c

7 years agoAdd dependency on libcutils.
Zhuoyao Zhang [Mon, 19 Sep 2016 23:19:44 +0000 (23:19 +0000)]
Add dependency on libcutils.
am: adc313d43d

Change-Id: I400de4756d28d50d1080bdd768c49a079eb097b3

7 years agoAdditional test cases to verify multi-dimensional arrays work properly.
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"

7 years agoAdd dependency on libcutils.
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

7 years agoMerge "Remove @hal_type from .hal files." am: 96f539739e am: 7b835a891f
Yifan Hong [Mon, 19 Sep 2016 19:40:55 +0000 (19:40 +0000)]
Merge "Remove @hal_type from .hal files." am: 96f539739e am: 7b835a891f
am: 9364de0177

Change-Id: I13457ebedef07fbf6a5c8ec088efbe9a9c8ad8eb

7 years agoMerge "Remove @hal_type from .hal files." am: 96f539739e
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

7 years agoMerge "Remove @hal_type from .hal files."
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

7 years agoMerge "Remove @hal_type from .hal files."
Yifan Hong [Mon, 19 Sep 2016 19:25:19 +0000 (19:25 +0000)]
Merge "Remove @hal_type from .hal files."

7 years agoRemove @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

7 years agofix update-makefiles.sh to not need Android.mk am: 15e1558a04 am: c6260f3952
Iliyan Malchev [Sun, 18 Sep 2016 03:48:42 +0000 (03:48 +0000)]
fix update-makefiles.sh to not need Android.mk am: 15e1558a04 am: c6260f3952
am: a848f8616d

Change-Id: I4efbab4656d73864223776829216a392c1582b36

7 years agofix update-makefiles.sh to not need Android.mk am: 15e1558a04
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

7 years agofix update-makefiles.sh to not need Android.mk
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

7 years agofix update-makefiles.sh to not need Android.mk
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>
7 years agoAdd tests to verify that multi-dimensional arrays in Java work (inside structs) am...
Andreas Huber [Fri, 16 Sep 2016 06:40:19 +0000 (06:40 +0000)]
Add tests to verify that multi-dimensional arrays in Java work (inside structs) am: 9c43f016b6 am: 975f5d66b2
am: a0d07c9f72

Change-Id: I61c77726a9690b077515143ab1bea2a0aee429f4

7 years agoAdd tests to verify that multi-dimensional arrays in Java work (inside structs) am...
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

7 years agoAdd tests to verify that multi-dimensional arrays in Java work (inside structs)
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

7 years agoAdd tests to verify that multi-dimensional arrays in Java work (inside structs)
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

7 years agoAdds tests to verify proper C++ code generation for multi-dimensional arrays am:...
Andreas Huber [Tue, 13 Sep 2016 18:41:15 +0000 (18:41 +0000)]
Adds tests to verify proper C++ code generation for multi-dimensional arrays am: cf8560c508 am: 1bd9842489
am: e783aeb752

Change-Id: Ic4456887727cf531ec7c2a91e165a3897817076e

7 years agoAdds tests to verify proper C++ code generation for multi-dimensional arrays am:...
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

7 years agoAdds tests to verify proper C++ code generation for multi-dimensional arrays
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

7 years agoAdds tests to verify proper C++ code generation for multi-dimensional arrays
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

7 years agoMerge "interfaces: regenerate makefiles" am: d66bb6fb5c am: 502a8ead69
Iliyan Malchev [Tue, 13 Sep 2016 05:01:52 +0000 (05:01 +0000)]
Merge "interfaces: regenerate makefiles" am: d66bb6fb5c am: 502a8ead69
am: 293c94dba5

Change-Id: I67a632587d65880a079f8901ae7addcb7a79e52c

7 years agoMerge "interfaces: regenerate makefiles" am: d66bb6fb5c
Iliyan Malchev [Tue, 13 Sep 2016 04:59:22 +0000 (04:59 +0000)]
Merge "interfaces: regenerate makefiles" am: d66bb6fb5c
am: 502a8ead69

Change-Id: I2949fe466d5300ea2a9396fc34fd310656b116f1

7 years agoMerge "interfaces: regenerate makefiles"
Iliyan Malchev [Tue, 13 Sep 2016 04:56:52 +0000 (04:56 +0000)]
Merge "interfaces: regenerate makefiles"
am: d66bb6fb5c

Change-Id: I7fff97e33676c653762371e70cc00b4e2bdb4c2c

7 years agoMerge "interfaces: regenerate makefiles"
Treehugger Robot [Tue, 13 Sep 2016 04:52:48 +0000 (04:52 +0000)]
Merge "interfaces: regenerate makefiles"

7 years agoMerge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]...
Andreas Huber [Mon, 12 Sep 2016 18:06:06 +0000 (18:06 +0000)]
Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]" am: 3d49850a49 am: 4d3949e910
am: 5ec9de5bbf

Change-Id: I2acd3518057ac60598ccdecd0bc8390337af9925

7 years agoMerge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]...
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

7 years agoMerge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]"
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

7 years agoMerge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]"
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[]"

7 years agoWireMQDescriptor => MQDescriptor am: 4a99f3afae am: 3109b325f6
Andreas Huber [Sat, 10 Sep 2016 01:21:23 +0000 (01:21 +0000)]
WireMQDescriptor => MQDescriptor am: 4a99f3afae am: 3109b325f6
am: 741dbd4efd

Change-Id: I411e55718003e3bfd38eccb44fb8035488231583

7 years agoWireMQDescriptor => MQDescriptor am: 4a99f3afae
Andreas Huber [Sat, 10 Sep 2016 01:18:21 +0000 (01:18 +0000)]
WireMQDescriptor => MQDescriptor am: 4a99f3afae
am: 3109b325f6

Change-Id: I78244ba778bb13bfe354f1824d4e21ea5bf2a652

7 years agoWireMQDescriptor => MQDescriptor
Andreas Huber [Sat, 10 Sep 2016 01:15:21 +0000 (01:15 +0000)]
WireMQDescriptor => MQDescriptor
am: 4a99f3afae

Change-Id: I84c200887c48b36e310eae710e0126a5c29d179e

7 years agointerfaces: regenerate makefiles
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>
7 years agoJava test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]
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

7 years agoWireMQDescriptor => MQDescriptor
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

7 years agoandroid.hardware.tests.msgq@1.0: modify ITestMsgQ am: da96fb2a94 am: d529d22e11
Iliyan Malchev [Fri, 9 Sep 2016 05:15:34 +0000 (05:15 +0000)]
android.hardware.tests.msgq@1.0: modify ITestMsgQ am: da96fb2a94 am: d529d22e11
am: 2d5616e9bf

Change-Id: I6ee0b51f89cba185b1dc8224dcfecb14edcc15dd

7 years agoandroid.hardware.tests.msgq@1.0: modify ITestMsgQ am: da96fb2a94
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

7 years agoandroid.hardware.tests.msgq@1.0: modify ITestMsgQ
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

7 years agoandroid.hardware.tests.msgq@1.0: modify ITestMsgQ
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>
7 years agointerfaces: update makefiles am: b350caf9dc am: 866e19d4c3
Iliyan Malchev [Thu, 8 Sep 2016 00:47:58 +0000 (00:47 +0000)]
interfaces: update makefiles am: b350caf9dc am: 866e19d4c3
am: c697403a93

Change-Id: I5373afd5e4c38dd14ad8ba740d3c0f809ccbbca4

7 years agointerfaces: update makefiles am: b350caf9dc
Iliyan Malchev [Thu, 8 Sep 2016 00:44:58 +0000 (00:44 +0000)]
interfaces: update makefiles am: b350caf9dc
am: 866e19d4c3

Change-Id: Ia8436b263f6889b93f663cd039f248e1078e45a5

7 years agointerfaces: update makefiles
Iliyan Malchev [Thu, 8 Sep 2016 00:41:00 +0000 (00:41 +0000)]
interfaces: update makefiles
am: b350caf9dc

Change-Id: Id3547a681a117406e931efe31da2d0b1bebbb33f

7 years agointerfaces: update makefiles
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>
7 years agoMerge "Updated makefiles (includes java-library rules for applicable packages)."
TreeHugger Robot [Thu, 1 Sep 2016 00:08:22 +0000 (00:08 +0000)]
Merge "Updated makefiles (includes java-library rules for applicable packages)."

7 years agoUpdated 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

7 years agoRevert "package android.hardware.tests.* as part of VTS (auto-generated)"
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

7 years agoadd test for constant expression evaluation output
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

7 years agoMerge "Apache2 module license."
Iliyan Malchev [Wed, 31 Aug 2016 05:24:19 +0000 (05:24 +0000)]
Merge "Apache2 module license."

7 years agoApache2 module license.
Martijn Coenen [Tue, 30 Aug 2016 18:27:56 +0000 (11:27 -0700)]
Apache2 module license.

Bug: 31110244
Change-Id: I7ce63f940199e8cd7d193bdde39fc6cd448db802

7 years agoInterface 'IBaz' and friends used by "hidl_test_java".
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

7 years agobuild 32- and 64-bit libs (auto-generated)
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

7 years agoandroid.hardware.tests.foo@1.0::IFooCallback: add instrumentation
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>
7 years agoAdd test aidl file for benchmark binder performance.
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

7 years agopackage android.hardware.tests.* as part of VTS (auto-generated)
Keun Soo Yim [Fri, 19 Aug 2016 01:20:09 +0000 (18:20 -0700)]
package android.hardware.tests.* as part of VTS (auto-generated)

this is to run the benchmarks continuously in the lab

Change-Id: Ia45c440a77ccc16db2cb1066ecde3b6521991ec9

7 years agoregenerate Android.mk files
Keun Soo Yim [Tue, 23 Aug 2016 00:25:48 +0000 (17:25 -0700)]
regenerate Android.mk files

Change-Id: I6a8b48943df469c9f345c05fb00c671f6f8dd393

7 years agoUpdated makefiles linking against libhidl.
Martijn Coenen [Fri, 19 Aug 2016 12:06:56 +0000 (14:06 +0200)]
Updated makefiles linking against libhidl.

Bug: 30839546
Change-Id: I8c68d0b8db0816f9bfe58fc3898114fb9e151ddc

7 years agoadd tests for parsing constant expressions.
Yifan Hong [Sat, 13 Aug 2016 00:39:44 +0000 (17:39 -0700)]
add tests for parsing constant expressions.

Change-Id: Ic1f524c604fc72b9d1b7b330b608ff38ce287921

7 years ago"import types" should never be necessary, it is implicit (if types.hal exists)
Andreas Huber [Tue, 16 Aug 2016 17:17:39 +0000 (10:17 -0700)]
"import types" should never be necessary, it is implicit (if types.hal exists)

Change-Id: I63e6a2104415a5a71bf3eb93c646f9bf32f1b079

7 years agoMerge "android.hardware.tests.foo@1.0::IFooCallback: use booleans"
Iliyan Malchev [Tue, 16 Aug 2016 14:46:00 +0000 (14:46 +0000)]
Merge "android.hardware.tests.foo@1.0::IFooCallback: use booleans"

7 years agoMerge "android.hardware.tests.foo@1.0: add oneway methods"
Iliyan Malchev [Tue, 16 Aug 2016 14:45:18 +0000 (14:45 +0000)]
Merge "android.hardware.tests.foo@1.0: add oneway methods"

7 years agoMerge "Move .hal for FMQ benchmark code to hardware/interfaces."
Hridya Valsaraju [Mon, 15 Aug 2016 23:53:34 +0000 (23:53 +0000)]
Merge "Move .hal for FMQ benchmark code to hardware/interfaces."

7 years agoMerge "Move .hal file for FMQ tests to harware/interfaces"
Hridya Valsaraju [Mon, 15 Aug 2016 16:56:09 +0000 (16:56 +0000)]
Merge "Move .hal file for FMQ tests to harware/interfaces"

7 years agoandroid.hardware.tests.foo@1.0::IFooCallback: use booleans
Iliyan Malchev [Sun, 14 Aug 2016 20:37:02 +0000 (13:37 -0700)]
android.hardware.tests.foo@1.0::IFooCallback: use booleans

b/30853785 auto-generation for bools is broken

Change-Id: Ia1c1e1f03360d5c7e4162b24a83082bc833a8a34
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agoandroid.hardware.tests.foo@1.0: add oneway methods
Iliyan Malchev [Sun, 14 Aug 2016 06:05:56 +0000 (23:05 -0700)]
android.hardware.tests.foo@1.0: add oneway methods

b/30843534: oneway methods seem broken

Change-Id: I3e152d6bd70da60648157269a9465921afa661b3
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agoMerge "Added mock interfaces"
Steven Moreland [Sat, 13 Aug 2016 00:04:28 +0000 (00:04 +0000)]
Merge "Added mock interfaces"

7 years agoMove .hal for FMQ benchmark code to hardware/interfaces.
Hridya Valsaraju [Tue, 9 Aug 2016 17:05:20 +0000 (10:05 -0700)]
Move .hal for FMQ benchmark code to hardware/interfaces.

This is required to convert to the new hidl-gen.

Change-Id: Ia4df37d993be45ac6cb69836fd159dceef10d75c

7 years agoMove .hal file for FMQ tests to harware/interfaces
Hridya Valsaraju [Mon, 8 Aug 2016 18:12:30 +0000 (11:12 -0700)]
Move .hal file for FMQ tests to harware/interfaces

This is required to convert to the new hidl-gen.

Change-Id: I87a5d3d006fe80ad16d4abb63d400b3c52a2bae9

7 years agoMerge "libhwbinder benchmark interface."
Martijn Coenen [Fri, 12 Aug 2016 11:07:36 +0000 (11:07 +0000)]
Merge "libhwbinder benchmark interface."

7 years agolibhwbinder benchmark interface.
Martijn Coenen [Wed, 10 Aug 2016 13:37:03 +0000 (15:37 +0200)]
libhwbinder benchmark interface.

Change-Id: I2863272033bfe986f70f75c51412b8c1a55a84f3

7 years agoAdd annotation of hal_type for Nfc/NfcCallback interface.
Zhuoyao Zhang [Thu, 11 Aug 2016 05:37:34 +0000 (22:37 -0700)]
Add annotation of hal_type for Nfc/NfcCallback interface.

Change-Id: I5bb53c396ea11a94fa556cf561b584b6f12f476c

7 years agoAdded mock interfaces
Steven Moreland [Thu, 11 Aug 2016 19:52:43 +0000 (12:52 -0700)]
Added mock interfaces

Change-Id: I227bb450e714e392a3959c0d314842b9879f8b99

7 years agoscript to auto-generate makefiles for HALs
Iliyan Malchev [Wed, 10 Aug 2016 15:02:31 +0000 (08:02 -0700)]
script to auto-generate makefiles for HALs

Change-Id: I9d21a811d8e2fc604702388ad1910476df16f43a
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agoandroid.hardware.nfc@1.0: regenerate Android.mk
Iliyan Malchev [Wed, 10 Aug 2016 14:39:17 +0000 (07:39 -0700)]
android.hardware.nfc@1.0: regenerate Android.mk

hidl-gen \
-Lmakefile \
-randroid.hardware:hardware/interfaces \
android.hardware.nfc@1.0

Change-Id: Ib2d965db93fb248f74ce44efea02b3c4bb2dbe08
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agofix the fix
Iliyan Malchev [Mon, 8 Aug 2016 20:29:22 +0000 (13:29 -0700)]
fix the fix

Change-Id: Ib371beb0c9f3792fbe3149d5dc4f50ae017b56c2
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agofix build
Iliyan Malchev [Mon, 8 Aug 2016 16:56:14 +0000 (09:56 -0700)]
fix build

Add hidl-gen as a dependency on HAL modules, and set the -r path
properly in the absence of $TOP being defined.

Proper fix will include auto-generating the makefile correctly form
hidl-gen.

Change-Id: I9dbe27b80c6c9ab4be9f88bf50496bdfd7cee423
Signed-off-by: Iliyan Malchev <malchev@google.com>
7 years agonfc interfaces in the new style.
Andreas Huber [Fri, 29 Jul 2016 22:05:03 +0000 (15:05 -0700)]
nfc interfaces in the new style.

Change-Id: I989828d51a2ac1c79906d865b5bdab227457d2e6
Signed-off-by: Iliyan Malchev <malchev@google.com>
8 years agoInitial empty repository
Thomas Joseph Avila [Thu, 14 Apr 2016 18:48:07 +0000 (11:48 -0700)]
Initial empty repository