TreeHugger Robot
96eeddc5cc
Merge "Add HIDL implementation of vibrator HAL"
2016-10-02 02:12:45 +00:00
Prashant Malani
ca45b2dc29
Add HIDL implementation of vibrator HAL
...
Test: Builds, boots and vibrator works on bullhead
Change-Id: I0ad3a362d83e5063bdaef2d66bfd785fc5ee6757
2016-09-30 16:12:14 -07:00
Mikhail Naganov
f0a5a94fad
Add common types for audio
...
These types are migrated from system/audio.h. The order and syntax
of declarations is preserved where available. The following
changes have been made:
- names changed to satisfy HAL style guide;
- some previously separate enums grouped into one to allow
using values between them (HIDL doesn't allow using values
of one enum in another, and even if it would, that will
probably be incompatible with C++11 enum classes it generates;
- as HIDL doesn't have sizeof, these were substituted with values;
- unions can't contain HIDL string type, thus some names are
expressed as uint8_t arrays;
- "handle" is a reserved word in HIDL;
- HIDL vector type is used instead of count / array pairs;
- obviously, macros and inline functions not migrated.
Bug: 30222631
Test: make
Change-Id: If55de3774deaa0b3f68ca6100e61ccaf79f29183
2016-09-30 14:42:16 -07:00
Dan Willemsen
7b3fbb3e25
Convert to Android.bp am: 242b34edd5
am: 129b540ebe
am: 1eb7fbfb41
...
am: 81cd570d8c
Change-Id: Ib439cba25ee0db74cb4e6358899cc2cc36c48cb6
2016-09-30 20:03:03 +00:00
Dan Willemsen
81cd570d8c
Convert to Android.bp am: 242b34edd5
am: 129b540ebe
...
am: 1eb7fbfb41
Change-Id: Iff7a480d6f9307d7cbb723b19311aab5c28ef998
2016-09-30 19:46:56 +00:00
Dan Willemsen
1eb7fbfb41
Convert to Android.bp am: 242b34edd5
...
am: 129b540ebe
Change-Id: I0997826bfe5506356f4431a27bd6fde4e8b83099
2016-09-30 19:42:45 +00:00
Dan Willemsen
129b540ebe
Convert to Android.bp
...
am: 242b34edd5
Change-Id: I9e37ecf4f0bc872fef705d3a34e603a30a964326
2016-09-30 19:39:44 +00:00
Dan Willemsen
242b34edd5
Convert to Android.bp
...
See build/soong/README.md for more information.
Bug: 31742855
Test: mma -j
Change-Id: Icb93f3b1b2caeb5e9c00f88ca35841b927ad075d
2016-09-30 10:31:54 -07:00
Yifan Hong
1376056a52
Tests for Reference Support. am: fe2b098355
am: 7ea48f1f83
am: 7b0f550344
...
am: 3ed70584fe
Change-Id: I327fd550815a3321a1c07e458e8d533aae0e6e3c
2016-09-30 17:15:08 +00:00
Yifan Hong
3ed70584fe
Tests for Reference Support. am: fe2b098355
am: 7ea48f1f83
...
am: 7b0f550344
Change-Id: I1e53175929bb96efa9476f27a2f8382a70b5b791
2016-09-30 17:10:03 +00:00
Yifan Hong
7b0f550344
Tests for Reference Support. am: fe2b098355
...
am: 7ea48f1f83
Change-Id: I5be0155b3c01ef11be31f9ee26c0638a9efeccff
2016-09-30 17:07:04 +00:00
Yifan Hong
7ea48f1f83
Tests for Reference Support.
...
am: fe2b098355
Change-Id: I7786a9043b8875a9ecee424035d92c292c38a002
2016-09-30 17:04:03 +00:00
Yifan Hong
fe2b098355
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
2016-09-29 14:57:22 -07:00
Hridya Valsaraju
646de3ec43
Merge "Use MQDescriptorSync instead of MQdescriptor in interface" am: aa3a8e0dbc
am: 6635495c02
am: 7e6a4fece3
...
am: e073831012
Change-Id: I02b9d43d862b342e5f94c4e4af759881496f2896
2016-09-29 17:20:17 +00:00
Hridya Valsaraju
e073831012
Merge "Use MQDescriptorSync instead of MQdescriptor in interface" am: aa3a8e0dbc
am: 6635495c02
...
am: 7e6a4fece3
Change-Id: I6705421480782c4a9aa3d33122cec3e3abdb287c
2016-09-29 17:15:55 +00:00
Hridya Valsaraju
7e6a4fece3
Merge "Use MQDescriptorSync instead of MQdescriptor in interface" am: aa3a8e0dbc
...
am: 6635495c02
Change-Id: I5303c34c2ac29d4f75035b8e80ad5762013eee6a
2016-09-29 17:02:17 +00:00
Hridya Valsaraju
6635495c02
Merge "Use MQDescriptorSync instead of MQdescriptor in interface"
...
am: aa3a8e0dbc
Change-Id: I8c87f36ca1c1607c0e72c543a436ca82718e4d84
2016-09-29 16:57:45 +00:00
Treehugger Robot
aa3a8e0dbc
Merge "Use MQDescriptorSync instead of MQdescriptor in interface"
2016-09-29 16:48:53 +00:00
Martijn Coenen
a7c3902fb3
Merge "Default binderized implementation of android.hardware.nfc@1.0" am: a614ac0b88
am: b3bdadd0d0
am: 54e01deea2
...
am: e898002186
Change-Id: Id78eca98cc8a4f545d2aa5198076c6067a1b44b9
2016-09-29 10:20:57 +00:00
Martijn Coenen
e898002186
Merge "Default binderized implementation of android.hardware.nfc@1.0" am: a614ac0b88
am: b3bdadd0d0
...
am: 54e01deea2
Change-Id: I123665eb812c1b79704c993fae72fe2bdcf05345
2016-09-29 08:01:50 +00:00
Martijn Coenen
54e01deea2
Merge "Default binderized implementation of android.hardware.nfc@1.0" am: a614ac0b88
...
am: b3bdadd0d0
Change-Id: Ib3f55c9ed8cfa1c9cef2a24c31b7585980b02d8a
2016-09-29 07:53:16 +00:00
Martijn Coenen
b3bdadd0d0
Merge "Default binderized implementation of android.hardware.nfc@1.0"
...
am: a614ac0b88
Change-Id: Ia447fe7a1db8a1399283998eb6dfc709a340f4af
2016-09-29 07:48:45 +00:00
Martijn Coenen
a614ac0b88
Merge "Default binderized implementation of android.hardware.nfc@1.0"
2016-09-29 07:41:34 +00:00
Roshan Pius
fc68d033e2
Merge "wifi: Move supplicant HIDL interfaces to subfolder" am: d8a7bb5838
am: bc667d76d7
am: 2fc64b6736
...
am: a28a9e59e0
Change-Id: Ic44981ee348520357f90cc8b730bf1d73654b636
2016-09-28 23:04:37 +00:00
Andreas Huber
9e7cd1f6c2
Verify that method arguments and results can share the same name. am: 88476c157b
am: 2b77beb537
am: 62b3b4ca51
...
am: 5c441c9a52
Change-Id: Ie154639b53fbe9b5cef178597db4b78768d03027
2016-09-28 23:04:13 +00:00
Roshan Pius
a28a9e59e0
Merge "wifi: Move supplicant HIDL interfaces to subfolder" am: d8a7bb5838
am: bc667d76d7
...
am: 2fc64b6736
Change-Id: Ia57d52d40392f7e14d1deb3a66aac7f86b2d39b2
2016-09-28 22:49:59 +00:00
Andreas Huber
5c441c9a52
Verify that method arguments and results can share the same name. am: 88476c157b
am: 2b77beb537
...
am: 62b3b4ca51
Change-Id: I11fc8fe0ab3c9ef6e8a0a7419f9deadb367e423f
2016-09-28 22:46:06 +00:00
Roshan Pius
2fc64b6736
Merge "wifi: Move supplicant HIDL interfaces to subfolder" am: d8a7bb5838
...
am: bc667d76d7
Change-Id: Ifa456d3a92d832c4e85f144170fca9865d13f603
2016-09-28 22:46:05 +00:00
Roshan Pius
bc667d76d7
Merge "wifi: Move supplicant HIDL interfaces to subfolder"
...
am: d8a7bb5838
Change-Id: Ica29c5571b54c0051f6b451420c70028ee61b710
2016-09-28 22:42:36 +00:00
Andreas Huber
62b3b4ca51
Verify that method arguments and results can share the same name. am: 88476c157b
...
am: 2b77beb537
Change-Id: Ia14db1fe150aa3b0adc0810e5df67d67bd309ede
2016-09-28 22:42:36 +00:00
Andreas Huber
2b77beb537
Verify that method arguments and results can share the same name.
...
am: 88476c157b
Change-Id: Iaff4fe06ebe22fbaa50e2720f60329d67e203cb2
2016-09-28 22:40:06 +00:00
Treehugger Robot
d8a7bb5838
Merge "wifi: Move supplicant HIDL interfaces to subfolder"
2016-09-28 22:38:53 +00:00
Iliyan Malchev
3db0f605e4
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>
2016-09-28 20:46:27 +00:00
Andreas Huber
88476c157b
Verify that method arguments and results can share the same name.
...
Bug: 30778622
Test: hidl_test, hidl_test_java
Change-Id: Idb35a03337010c1fb63c2896f216392398e03e0c
2016-09-28 13:43:39 -07:00
Roshan Pius
22ab8b2451
wifi: Move supplicant HIDL interfaces to subfolder
...
Move all the supplicant HIDL interfaces to a separate subfolder.
Bug: 31800508
Test: Compiles
Change-Id: I09bfb17b626312e8be819238ab2edbb83ca04322
2016-09-28 13:37:45 -07:00
Roshan Pius
8760803b55
wifi(hidl): Add supplicant HIDL interface am: 9a3a84f5a3
am: 236659d535
am: e344a1aea4
...
am: d971903960
Change-Id: Ibfdaff9e6f97b03769b2c56cb15c2b699fbba572
2016-09-28 20:13:19 +00:00
Roshan Pius
d971903960
wifi(hidl): Add supplicant HIDL interface am: 9a3a84f5a3
am: 236659d535
...
am: e344a1aea4
Change-Id: I29376141c0d9662bd1156982f6f7c049330bee52
2016-09-28 20:06:52 +00:00
Roshan Pius
e344a1aea4
wifi(hidl): Add supplicant HIDL interface am: 9a3a84f5a3
...
am: 236659d535
Change-Id: I55c3e764bc674e58c5eddd7778c315fe0c8f73a7
2016-09-28 20:00:50 +00:00
Roshan Pius
236659d535
wifi(hidl): Add supplicant HIDL interface
...
am: 9a3a84f5a3
Change-Id: I2f8f5df8612919c43389e2bf7a9532a85390795b
2016-09-28 19:55:54 +00:00
Roshan Pius
9a3a84f5a3
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
2016-09-28 11:03:17 -07:00
Andreas Huber
2bd934b6a5
Merge "Verify that vectors of arrays within structures are properly marshaled" am: e168ebab22
am: cb38b3cd29
am: 17613613b9
...
am: ca9109c605
Change-Id: I8a049752ff5072a0a646c47534cfb4f64570d5e8
2016-09-28 17:47:49 +00:00
Andreas Huber
ca9109c605
Merge "Verify that vectors of arrays within structures are properly marshaled" am: e168ebab22
am: cb38b3cd29
...
am: 17613613b9
Change-Id: I6c355d10d67e2a9c4e7678ebabb9914b3dd5af0c
2016-09-28 17:42:04 +00:00
Andreas Huber
17613613b9
Merge "Verify that vectors of arrays within structures are properly marshaled" am: e168ebab22
...
am: cb38b3cd29
Change-Id: I48e139fec5b1fae93a8e3976a0070e143dd117e4
2016-09-28 17:36:33 +00:00
Andreas Huber
cb38b3cd29
Merge "Verify that vectors of arrays within structures are properly marshaled"
...
am: e168ebab22
Change-Id: I961df79e75d8738f6968efb1a72da5f3bcb35f3d
2016-09-28 17:30:24 +00:00
Treehugger Robot
e168ebab22
Merge "Verify that vectors of arrays within structures are properly marshaled"
2016-09-28 17:16:52 +00:00
Hridya Valsaraju
9d9672cce2
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
2016-09-27 22:22:19 +00:00
Yifan Hong
d68af97be7
Updated indentation to 4 spaces for Android.mk. am: b0b5322e7d
am: 929a4a641c
am: c4b5a58382
...
am: 3a707d70dd
Change-Id: I137c4ead2c3ec331b0970cb5a8218ddc28747e52
2016-09-27 21:35:57 +00:00
Yifan Hong
3a707d70dd
Updated indentation to 4 spaces for Android.mk. am: b0b5322e7d
am: 929a4a641c
...
am: c4b5a58382
Change-Id: Ifa9dc871240ffaad84dfc6927beb9af8eec552cc
2016-09-27 21:33:27 +00:00
Yifan Hong
c4b5a58382
Updated indentation to 4 spaces for Android.mk. am: b0b5322e7d
...
am: 929a4a641c
Change-Id: I772cf8e65d6cdbe02c190342312e12af809d84a7
2016-09-27 21:30:26 +00:00
Yifan Hong
929a4a641c
Updated indentation to 4 spaces for Android.mk.
...
am: b0b5322e7d
Change-Id: I1f87ecd7767a373c3a3960de5dc94db89fe0e7fd
2016-09-27 21:28:07 +00:00