Chih-hung Hsieh
6ac9ba500b
Merge "Use -Werror in hardware/libhardware" am: d1a2b9f7c1
am: d67dcc5fc8
...
am: e142c94113
Change-Id: I03daa2046b0454ab9beb3c72585f76afe485fc96
2017-10-12 01:58:44 +00:00
Chih-hung Hsieh
d67dcc5fc8
Merge "Use -Werror in hardware/libhardware"
...
am: d1a2b9f7c1
Change-Id: I3185f3d8f36c09ee61ebc3746d369a97c4f8a4c3
2017-10-12 01:27:36 +00:00
Chih-Hung Hsieh
235942389f
Use -Werror in hardware/libhardware
...
* Remove unused local variables and function.
* Fix unused return value warning.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I269eca76cda2222c7a0176e85e92df0bb0924a0e
2017-10-04 11:09:30 -07:00
Tri Vo
c060ffc9fc
Build nfc_nci.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 nfc_nci.default.vendor
Change-Id: I39859732e5b99e855fac645571e1cb77447434d0
2017-06-27 12:46:58 -07:00
Greg Kaiser
23c710e7b2
nfc_nci_example: Switch to C++
...
Our custom UNUSED_ARGUMENT macro was redundant with the sys/defs.h
__unused macro, so it needed to be removed. But rather than
switch to __unused, we opt to switch this code to C++, so we can
comment out parameter names to silence compiler warnings about
unused arguments.
The switch to C++ requires casting the result of calloc. We
also change our function argument indentation per our C++
style rules while we're in here.
Test: Compiled and confirmed no compiler warnings.
Change-Id: Ibd0eef7787843597917c3e0e71bdd772f6e9e876
2017-04-25 09:11:27 -07:00
Mark Salyzyn
1ae7379baa
resolve merge conflicts of 7c451a93
to oc-dev-plus-aosp
...
Test: I solemnly swear I tested this conflict resolution.
Bug: 34250038
Change-Id: I4196a6d5a1365106643ac6c1548fd86faffead6f
2017-04-12 09:11:38 -07:00
Mark Salyzyn
d88dfe8607
libhardware: deprecate cutils/log.h
...
Replace cutils/log.h with log/log.h. Sort headers. Minimize conflicts.
Add missing required headers.
Test: compile
Bug: 34250038
Change-Id: I5c0f231cbfed90b73e0538c9d32ad3226c7cc5e4
2017-04-11 10:50:06 -07:00
Po-Chien Hsueh
c535b2fded
Move default HAL libraries to vendor
...
Libraries under /hardware/libhardware/modules should go to /vendor/.
These are conventionl HALs for default implementations, most of them
are not used.
Camera and thermal are already moved in other CLs.
Bug: 35907904
Test: Compiled and checked install path. Verified on Sailfish with
$ lsof | grep default.
Change-Id: Ibde574001c01cbfea014a20a0fbbb3265e6cdc8a
2017-03-07 11:28:32 +08:00
Dan Willemsen
917bcc4df9
resolve merge conflicts of 69ed5d9
to stage-aosp-master am: d269bf4328
am: c1965c958c
...
am: 0002fe0e75
Change-Id: I0c0f7b10857f97e0e4d4700069beaee0cc4cfd11
2016-07-13 19:30:24 +00:00
Dan Willemsen
f51bf92061
Begin converting Android.mk to Android.bp
...
These modules have their dependencies satisfied.
Change-Id: I67986efd7478e477770bedac72ab35a407e3d06a
2016-07-12 23:34:37 -07:00
Greg Kaiser
0a3bb226c2
nfc-nci: Silence compiler warnings
...
Change-Id: I3efe0e3d181f282a9cf6e0852d9d143ff0ed78a3
2016-07-11 12:08:47 -07:00
Elliott Hughes
07c085565a
Add missing includes.
...
Change-Id: I91730363386dae6ecb2193ec8f50ba9f8fc0ad60
2015-01-29 21:19:10 -08:00
Colin Cross
3557abaae2
hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
...
LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.
Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
2014-01-24 21:00:32 -08:00
Martijn Coenen
442752aecd
NFC HAL: Use a separate callback for data.
...
Bug: 7258325
Change-Id: I02d8ea1bdcb8ea6a9430e3dc286f5c2647277f72
2012-09-30 11:08:49 -07:00
Martijn Coenen
1c970f1a49
Initial NFC HAL for NCI controllers.
...
Bug: 7123942
Change-Id: Ic64aa6477f2eb65b489b3be5d49ad21ccce63e2d
2012-09-14 13:56:58 -07:00