Commit graph

47551 commits

Author SHA1 Message Date
Steven Moreland
a06aacdc39 nfc: update default implementation to match style. am: 6b6381cb58 am: 36108aadd4
am: cd1981c475

Change-Id: I1968283d96ddb372945a16f3f4812d833de09028
2016-10-04 14:40:06 +00:00
Steven Moreland
ecfb4eeeb6 nfc: reflect style guide. am: e0c416a6f2 am: ae83f47dd1
am: 7988bc0f40

Change-Id: I2339add2fbc7300edd09275daf295529b4723a30
2016-10-04 14:40:05 +00:00
Steven Moreland
974574da1a Merge changes from topic 'nfc-style' am: 1d4862a6c2
am: e7476a95f5

Change-Id: I19a9f6db1356b4643c4e340173ef3bdedef9388f
2016-10-04 14:39:58 +00:00
Steven Moreland
e7476a95f5 Merge changes from topic 'nfc-style'
am: 1d4862a6c2

Change-Id: Ic1339a30f4122f3c1abbcc852cbd38a1b750c36c
2016-10-04 14:38:31 +00:00
Steven Moreland
cd1981c475 nfc: update default implementation to match style. am: 6b6381cb58
am: 36108aadd4

Change-Id: Iac25d37c46c04aa18357c77ace08c810f67ccf72
2016-10-04 14:38:03 +00:00
Steven Moreland
7988bc0f40 nfc: reflect style guide. am: e0c416a6f2
am: ae83f47dd1

Change-Id: I26a3c72524732fa39c815023113bda778ad3a2e8
2016-10-04 14:38:02 +00:00
Steven Moreland
36108aadd4 nfc: update default implementation to match style.
am: 6b6381cb58

Change-Id: Idaf00ade4652d5f38bd8fbbd85e841a4d1cb684d
2016-10-04 14:36:33 +00:00
Steven Moreland
ae83f47dd1 nfc: reflect style guide.
am: e0c416a6f2

Change-Id: I931b59e9ed4d017ba09f8d82c4de87f39b0fc9e7
2016-10-04 14:36:32 +00:00
Steven Moreland
1d4862a6c2 Merge changes from topic 'nfc-style'
* changes:
  nfc: update default implementation to match style.
  nfc: reflect style guide.
2016-10-04 14:33:43 +00:00
Steven Moreland
80f5cdba6d Auto hardware/interfaces/Android.bp am: 7b66dd9b23 am: 723aa3a593 am: 6a02ac55f3
am: c81393fb24

Change-Id: Ie88ee205db3bacd0e3aaaf09601c247c63ced3b3
2016-10-04 00:18:56 +00:00
Steven Moreland
c81393fb24 Auto hardware/interfaces/Android.bp am: 7b66dd9b23 am: 723aa3a593
am: 6a02ac55f3

Change-Id: I1eb87f35db80592d81c4f46b0dcdd6626b84d777
2016-10-04 00:16:02 +00:00
Steven Moreland
6a02ac55f3 Auto hardware/interfaces/Android.bp am: 7b66dd9b23
am: 723aa3a593

Change-Id: Ibf5201426779673179c021bb36968dc000c6350d
2016-10-04 00:12:41 +00:00
Steven Moreland
723aa3a593 Auto hardware/interfaces/Android.bp
am: 7b66dd9b23

Change-Id: Id242473c4c9e417a5629b6ff1522988b9738f7b9
2016-10-04 00:10:42 +00:00
Steven Moreland
7b66dd9b23 Auto hardware/interfaces/Android.bp
Bug: 31909444
Test: make various interfaces, mma -j
Change-Id: Ie2de39572e482415b5279110586a0cb7e5220c8e
2016-10-03 13:55:42 -07:00
Steven Moreland
6b6381cb58 nfc: update default implementation to match style.
Test: make android.hardware.nfc@1.0-impl
Change-Id: Ib76d663fcf28816bd2ba57f5fbd5ae0033b620f5
2016-10-03 08:54:46 -07:00
Steven Moreland
e0c416a6f2 nfc: reflect style guide.
Test: make android.hardware.nfc@1.0
Change-Id: I60c1589492752753c362dc9766ebc7776b5e6e6e
2016-10-03 08:54:29 -07:00
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