OSDN Git Service

android-x86/hardware-interfaces.git
7 years agowifi(interface): Add/Correct docstring params
Roshan Pius [Wed, 5 Oct 2016 23:39:01 +0000 (23:39 +0000)]
wifi(interface): Add/Correct docstring params
am: 6f31d92e59

Change-Id: Icf70fe64c660ec05d48054fe7ac01caccef65240

7 years agowifi: Add implementation of driver/firmware memory dumps
Roshan Pius [Wed, 5 Oct 2016 23:39:00 +0000 (23:39 +0000)]
wifi: Add implementation of driver/firmware memory dumps
am: cdb77f3cf2

Change-Id: I11fb9cc47f84a49b4a836da28266089f9971768c

7 years agowifi: Add Implementation of IWifiChip.requestChipDebugInfo
Roshan Pius [Wed, 5 Oct 2016 23:38:59 +0000 (23:38 +0000)]
wifi: Add Implementation of IWifiChip.requestChipDebugInfo
am: 4b26c832ed

Change-Id: I9c5f107d0978ee71a415e12fbb11efa8f616ead4

7 years agowifi: Use hal_tool & if_tool
Roshan Pius [Wed, 5 Oct 2016 23:38:58 +0000 (23:38 +0000)]
wifi: Use hal_tool & if_tool
am: 908a69a53a

Change-Id: I8b5260f1f02124ba71fb52b306f29f43d1d11d96

7 years agowifi: Restructure wifi legacy HAL implementation
Roshan Pius [Wed, 5 Oct 2016 23:38:56 +0000 (23:38 +0000)]
wifi: Restructure wifi legacy HAL implementation
am: aabe575536

Change-Id: I1414455e7a64efbfe1556a3e0e74370d54db340f

7 years agowifi: Change namespace
Roshan Pius [Wed, 5 Oct 2016 23:38:55 +0000 (23:38 +0000)]
wifi: Change namespace
am: 79a9975d07

Change-Id: I00ad528928fdb6fad22dacb7658ce9dbf5817a2b

7 years agowifi: Move legacy HAL implementation
Roshan Pius [Wed, 5 Oct 2016 23:38:54 +0000 (23:38 +0000)]
wifi: Move legacy HAL implementation
am: 3c4e8a358c

Change-Id: I9b91ce2502601d2b3181b17a31273309ddfcf27c

7 years agoAdd test for vec<vec<T>> as a return value.
Yifan Hong [Wed, 5 Oct 2016 22:51:19 +0000 (22:51 +0000)]
Add test for vec<vec<T>> as a return value.
am: 223b82a07d

Change-Id: I95ad44aed3a42ad1d82e2f3e1b03da18012f0c6c

7 years agoAdd test for vec<vec<T>> as a return value.
Yifan Hong [Wed, 5 Oct 2016 20:43:53 +0000 (13:43 -0700)]
Add test for vec<vec<T>> as a return value.

Bug: 31955917

Test: hidl_test
Change-Id: I9ae7f9b04126261210cb4621266676727877d92f

7 years agowifi(interface): Add/Correct docstring params
Roshan Pius [Tue, 4 Oct 2016 22:08:05 +0000 (15:08 -0700)]
wifi(interface): Add/Correct docstring params

Changes in the CL:
1. Add missing docstring params in the HIDL interface.
2. Reword some method docs. Occurences of "will" is replaced
by "must" (based on comments received on supplicant HIDL interface:
go/aog/275115).
3. Add onFailure callbacks for all the methods and added docstrings for
them.

Bug: 31352200
Test: mmma -j32 hardware/interfaces/wifi/1.0
Change-Id: Ib7152625851023d6244f742bb77a8fdc0829e00d

7 years agoMerge "Revert "Revert "nfc: update default implementation to match style."""
Steven Moreland [Wed, 5 Oct 2016 17:28:09 +0000 (17:28 +0000)]
Merge "Revert "Revert "nfc: update default implementation to match style."""
am: 67f700350a

Change-Id: I383cbfde9f5812fa0af02cc6419d25aea08ca4d5

7 years agoRevert "Revert "nfc: reflect style guide.""
Steven Moreland [Wed, 5 Oct 2016 17:28:08 +0000 (17:28 +0000)]
Revert "Revert "nfc: reflect style guide.""
am: 106bc9d27a

Change-Id: I0d29f4064a8b4fc84fe5d3a4d09d94ad9854cccb

7 years agoMerge "Revert "Revert "nfc: update default implementation to match style."""
Treehugger Robot [Wed, 5 Oct 2016 17:22:28 +0000 (17:22 +0000)]
Merge "Revert "Revert "nfc: update default implementation to match style."""

7 years agowifi: Add implementation of driver/firmware memory dumps
Roshan Pius [Mon, 3 Oct 2016 21:09:57 +0000 (14:09 -0700)]
wifi: Add implementation of driver/firmware memory dumps

Bug: 31352200
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I25d42cfd4c2b1ea7e63bdc036f37f81aed93c565

7 years agowifi: Add Implementation of IWifiChip.requestChipDebugInfo
Roshan Pius [Mon, 3 Oct 2016 19:49:58 +0000 (12:49 -0700)]
wifi: Add Implementation of IWifiChip.requestChipDebugInfo

Bug: 31352200
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: Id0c02e37dac66de6f830785881cb67f113c0fb19

7 years agoRevert "Revert "nfc: update default implementation to match style.""
Steven Moreland [Tue, 4 Oct 2016 17:10:18 +0000 (17:10 +0000)]
Revert "Revert "nfc: update default implementation to match style.""

This reverts commit 3768be324bc81b04f4a3a9dfbbe3324dc13cc5f0.

Change-Id: Ifecd3ac227af14b49eba83c1126d51996ce3b8f5

7 years agoRevert "Revert "nfc: reflect style guide.""
Steven Moreland [Tue, 4 Oct 2016 17:10:17 +0000 (17:10 +0000)]
Revert "Revert "nfc: reflect style guide.""

This reverts commit 69bb15e06eea6a0e437d388273c4810682393162.

Change-Id: Icd6ac819606c83e1518c4b6252f6416f55e618fd

7 years agowifi: Use hal_tool & if_tool
Roshan Pius [Mon, 3 Oct 2016 20:33:23 +0000 (13:33 -0700)]
wifi: Use hal_tool & if_tool

Changes in the CL:
1. Currently |WifiNative.cpp|, uses |hal_tool| to initialize the
function table and |if_tool| to set the interface up when |startHAL|
method is invoked. Use the same sequence in the HIDL'ized HAL.
2. Remove the assertion if the function table initialization fails. This
will result in a failure indication on starting the HAL now.

Bug: 31352200
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I268845ed62158b6a2ff36659f0bb15c4100a7222

7 years agowifi: Restructure wifi legacy HAL implementation
Roshan Pius [Thu, 29 Sep 2016 16:03:59 +0000 (09:03 -0700)]
wifi: Restructure wifi legacy HAL implementation

Restructured the existing code to create a new class called
|WifiLegacyHal|. This class will be used as a wrapper to invoke
all the legacy HAL functions and handle the "C" style callbacks.

Bug: 31936700
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I63e8543f49886f8446101320a97d1e96e30d1035

7 years agoAdd test for referring to nested types.
Yifan Hong [Tue, 4 Oct 2016 21:10:15 +0000 (21:10 +0000)]
Add test for referring to nested types.
am: 61db854465

Change-Id: Ie4a21561afd882184fe0d9aa1c2772b5849222f7

7 years agowifi: Change namespace
Roshan Pius [Tue, 4 Oct 2016 20:03:58 +0000 (13:03 -0700)]
wifi: Change namespace

Move the implementation to "android::hardware::wifi:V1_0::implementation"
namespace.
This is following the style guidelines in NFC HIDL
implementation(go/aog/279421).

While there,
Run checkstyle to correct formatting issues.

Bug:31936700
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I5600a60a0041b3318ed9289823ec335a8ed8a83d

7 years agowifi: Move legacy HAL implementation
Roshan Pius [Mon, 3 Oct 2016 21:53:58 +0000 (14:53 -0700)]
wifi: Move legacy HAL implementation

Changes in the CL:
1. Move the legacy HAL implementation from
"frameworks/opt/net/wifi/wifi_hal_legacy" to
"hardware/interfaces/wifi/1.0/default".
2. Renamed the .rc file and the module name in makefile to
conform to the HIDL style guide.

Files renamed from:
wifi_hal_service.cpp/h -> wifi.cpp/h
wifi_chip_service.cpp/h -> wifi_chip.cpp/h
main.cpp -> service

Bug: 31821133
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I5e65e2fdb5596346bde6963588031dcea42d633a

7 years agoAdd test for referring to nested types.
Yifan Hong [Mon, 3 Oct 2016 17:30:55 +0000 (10:30 -0700)]
Add test for referring to nested types.

Bug: 31821285

Test: `make hidl_test && adb sync && adb shell hidl_test`
Change-Id: Iae030baa5bbe6e890512b494a0b657163c6a99a6

7 years agoMerge "Revert "nfc: reflect style guide.""
Martijn Coenen [Tue, 4 Oct 2016 16:48:28 +0000 (16:48 +0000)]
Merge "Revert "nfc: reflect style guide.""
am: ea4b569fee

Change-Id: Ic814a2ff70dfca6f4268771750cbfedc7b116dc7

7 years agoRevert "nfc: update default implementation to match style."
Steven Moreland [Tue, 4 Oct 2016 16:47:40 +0000 (16:47 +0000)]
Revert "nfc: update default implementation to match style."
am: 3768be324b

Change-Id: I51ae622cd0ebc906b0b9ff11f5567869181d3879

7 years agoRevert "nfc: reflect style guide."
Steven Moreland [Tue, 4 Oct 2016 16:47:39 +0000 (16:47 +0000)]
Revert "nfc: reflect style guide."
am: 69bb15e06e

Change-Id: Ic511eb65f2a43a981e44d5df5c9c74c48d66bd26

7 years agoMerge "Revert "nfc: reflect style guide.""
Martijn Coenen [Tue, 4 Oct 2016 16:44:14 +0000 (16:44 +0000)]
Merge "Revert "nfc: reflect style guide.""

7 years agoRevert "nfc: update default implementation to match style."
Steven Moreland [Tue, 4 Oct 2016 16:25:35 +0000 (16:25 +0000)]
Revert "nfc: update default implementation to match style."

This reverts commit 6b6381cb58aba593951f0718f9beecef0b49e284.

Change-Id: I2891a4ea774ad0047d9f99074fe773808dae0f7c

7 years agoRevert "nfc: reflect style guide."
Steven Moreland [Tue, 4 Oct 2016 16:25:40 +0000 (16:25 +0000)]
Revert "nfc: reflect style guide."

This reverts commit e0c416a6f247992089663095f29a9e50cef2ef99.

Change-Id: I3fec772343d88a29225aef61bb549fef8ac9b797

7 years agoMerge changes from topic 'nfc-style'
Steven Moreland [Tue, 4 Oct 2016 14:38:31 +0000 (14:38 +0000)]
Merge changes from topic 'nfc-style'
am: 1d4862a6c2

Change-Id: Ic1339a30f4122f3c1abbcc852cbd38a1b750c36c

7 years agonfc: update default implementation to match style.
Steven Moreland [Tue, 4 Oct 2016 14:36:33 +0000 (14:36 +0000)]
nfc: update default implementation to match style.
am: 6b6381cb58

Change-Id: Idaf00ade4652d5f38bd8fbbd85e841a4d1cb684d

7 years agonfc: reflect style guide.
Steven Moreland [Tue, 4 Oct 2016 14:36:32 +0000 (14:36 +0000)]
nfc: reflect style guide.
am: e0c416a6f2

Change-Id: I931b59e9ed4d017ba09f8d82c4de87f39b0fc9e7

7 years agoMerge changes from topic 'nfc-style'
Steven Moreland [Tue, 4 Oct 2016 14:33:40 +0000 (14:33 +0000)]
Merge changes from topic 'nfc-style'

* changes:
  nfc: update default implementation to match style.
  nfc: reflect style guide.

7 years agoAuto hardware/interfaces/Android.bp
Steven Moreland [Tue, 4 Oct 2016 00:10:42 +0000 (00:10 +0000)]
Auto hardware/interfaces/Android.bp
am: 7b66dd9b23

Change-Id: Id242473c4c9e417a5629b6ff1522988b9738f7b9

7 years agoAuto hardware/interfaces/Android.bp
Steven Moreland [Mon, 3 Oct 2016 20:53:07 +0000 (13:53 -0700)]
Auto hardware/interfaces/Android.bp

Bug: 31909444
Test: make various interfaces, mma -j
Change-Id: Ie2de39572e482415b5279110586a0cb7e5220c8e

7 years agonfc: update default implementation to match style.
Steven Moreland [Mon, 26 Sep 2016 19:41:23 +0000 (12:41 -0700)]
nfc: update default implementation to match style.

Test: make android.hardware.nfc@1.0-impl
Change-Id: Ib76d663fcf28816bd2ba57f5fbd5ae0033b620f5

7 years agonfc: reflect style guide.
Steven Moreland [Mon, 26 Sep 2016 19:40:29 +0000 (12:40 -0700)]
nfc: reflect style guide.

Test: make android.hardware.nfc@1.0
Change-Id: I60c1589492752753c362dc9766ebc7776b5e6e6e

7 years agoConvert to Android.bp
Dan Willemsen [Fri, 30 Sep 2016 19:39:44 +0000 (19:39 +0000)]
Convert to Android.bp
am: 242b34edd5

Change-Id: I9e37ecf4f0bc872fef705d3a34e603a30a964326

7 years agoConvert to Android.bp
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

7 years agoTests for Reference Support.
Yifan Hong [Fri, 30 Sep 2016 17:04:03 +0000 (17:04 +0000)]
Tests for Reference Support.
am: fe2b098355

Change-Id: I7786a9043b8875a9ecee424035d92c292c38a002

7 years agoTests for Reference Support.
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

7 years agoMerge "Use MQDescriptorSync instead of MQdescriptor in interface"
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

7 years agoMerge "Use MQDescriptorSync instead of MQdescriptor in interface"
Treehugger Robot [Thu, 29 Sep 2016 16:48:53 +0000 (16:48 +0000)]
Merge "Use MQDescriptorSync instead of MQdescriptor in interface"

7 years agoMerge "Default binderized implementation of android.hardware.nfc@1.0"
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

7 years agoMerge "Default binderized implementation of android.hardware.nfc@1.0"
Martijn Coenen [Thu, 29 Sep 2016 07:41:33 +0000 (07:41 +0000)]
Merge "Default binderized implementation of android.hardware.nfc@1.0"

7 years agoMerge "wifi: Move supplicant HIDL interfaces to subfolder"
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

7 years agoVerify that method arguments and results can share the same name.
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

7 years agoMerge "wifi: Move supplicant HIDL interfaces to subfolder"
Treehugger Robot [Wed, 28 Sep 2016 22:38:53 +0000 (22:38 +0000)]
Merge "wifi: Move supplicant HIDL interfaces to subfolder"

7 years agoDefault binderized implementation of android.hardware.nfc@1.0
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>
7 years agoVerify that method arguments and results can share the same name.
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

7 years agowifi: Move supplicant HIDL interfaces to subfolder
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

7 years agowifi(hidl): Add supplicant HIDL interface
Roshan Pius [Wed, 28 Sep 2016 19:55:54 +0000 (19:55 +0000)]
wifi(hidl): Add supplicant HIDL interface
am: 9a3a84f5a3

Change-Id: I2f8f5df8612919c43389e2bf7a9532a85390795b

7 years agowifi(hidl): Add supplicant HIDL interface
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

7 years agoMerge "Verify that vectors of arrays within structures are properly marshaled"
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

7 years agoMerge "Verify that vectors of arrays within structures are properly marshaled"
Treehugger Robot [Wed, 28 Sep 2016 17:16:52 +0000 (17:16 +0000)]
Merge "Verify that vectors of arrays within structures are properly marshaled"

7 years agoUse MQDescriptorSync instead of MQdescriptor in interface
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

7 years agoUpdated indentation to 4 spaces for Android.mk.
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

7 years agoVerify that vectors of arrays within structures are properly marshaled
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

7 years agoUpdated indentation to 4 spaces for Android.mk.
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

7 years agoUpdated tests for constant expressions.
Yifan Hong [Mon, 26 Sep 2016 22:53:43 +0000 (22:53 +0000)]
Updated tests for constant expressions.
am: 467bb282d2

Change-Id: Ife9919731add41f62b9555325a1d343ab9f2bd2b

7 years agoUpdated tests for constant expressions.
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

7 years agoUpdated makefiles that also add static java library targets.
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

7 years agoUpdated makefiles that also add static java library targets.
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

7 years agoandroid.hardware.nfc@1.0: provide a default implementation
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

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 agoandroid.hardware.nfc@1.0: provide a default implementation
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>
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
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 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."
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.
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."
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
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)
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
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"
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 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
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
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
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>