Bob Badour
d7984ccf02
[LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware
...
Added SPDX-license-identifier-Apache-2.0 to:
modules/audio/Android.bp
modules/audio_remote_submix/Android.bp
modules/audio_remote_submix/tests/Android.bp
modules/camera/3_0/Android.bp
modules/consumerir/Android.bp
modules/fingerprint/Android.bp
modules/gralloc/Android.mk
modules/hwcomposer/Android.bp
modules/input/evdev/Android.bp
modules/local_time/Android.bp
modules/nfc-nci/Android.bp
modules/nfc/Android.bp
modules/power/Android.bp
modules/radio/Android.bp
modules/sensors/Android.bp
modules/sensors/Android.mk
modules/sensors/dynamic_sensor/Android.bp
modules/sensors/dynamic_sensor/HidUtils/Android.bp
modules/soundtrigger/Android.bp
modules/thermal/Android.bp
modules/tv_input/Android.bp
modules/usbaudio/Android.bp
modules/usbcamera/Android.bp
modules/vibrator/Android.bp
modules/vr/Android.bp
tests/camera3/Android.bp
tests/fingerprint/Android.bp
tests/hardware/Android.bp
tests/hwc/Android.bp
tests/input/evdev/Android.bp
tests/nusensors/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
Android.bp
modules/camera/3_4/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I28924363e6c478f5d0b465b63534c4efd041c770
2021-02-12 20:51:13 -08:00
Dan Willemsen
86e247ae89
Convert to Android.bp
...
See build/soong/README.md for more information
Test: mmma hardware/libhardware
Change-Id: Ibb7e2af9d55f581e951d8996cea5e52cd0766b04
2017-12-27 11:05:29 -08:00
Chih-Hung Hsieh
66f312b91c
Merge "Use -Werror in hardware/libhardware/modules"
...
am: 298fc4f6f5
Change-Id: I3c23dc4ce4609ec27402cae52b71ef79067c8e73
2017-12-06 18:42:24 +00:00
Chih-Hung Hsieh
1f601b1d7d
Use -Werror in hardware/libhardware/modules
...
* Remove unused local variables.
* Remove or comment out unused static functions.
* Fix trivial bugs found by unused value warnings.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I99389b883c89551850180d25241a35a40bb77b26
2017-12-01 10:37:19 -08:00
Jiyong Park
888b1351c8
Merge "Don't rely on transitively included headers" am: 1363159d74
am: 6d76606405
...
am: 873a4a5494
Change-Id: I11b097faac8eb82c3672b18fe2ad581964cd3023
2017-09-06 16:03:56 +00:00
Jiyong Park
32dde03332
Don't rely on transitively included headers
...
One must explicitly include what it need.
time.h for clock_gettime
float.h for FLT_MAX
string.h for memset
Bug: 37629934
Test: build
Change-Id: I1030a9c9ff3c2de4c5febabc3064d6976e9535cf
2017-09-06 12:17:06 +09:00
Jayant Chowdhary
18db97ffa3
Build hwcomposer.default with the VNDK.
...
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.
Test: BOARD_VNDK_VERSION=current m -j k hwcomposer.default
Bug: 37342627
Change-Id: I79d034b71cc69fabb53d1682339da71191a65e3c
2017-07-10 15:39:01 -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
Greg Kaiser
8f35d920ba
hwcomposer: Fix compiler warnings
...
For our prepare and set methods, starting in HWC 1.0 we're
assured that numDisplays is at least 1 and displays[0] is
non-NULL, so we're okay with not explicitly checking that.
We also fix a minor typo while we're in here.
Change-Id: Ia5452a9b3b48e1d6697562a2a9e0ea4d415df5c4
2016-07-08 18:16:16 -07:00
Elliott Hughes
84b9ff8b1c
Add missing includes.
...
Change-Id: Ia74cceea707e51195a570eed37d4b334ac413773
2015-01-28 19:54:13 -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
Jesse Hall
f9d6cd7dee
Add multi-display and flip fence to HWC
...
Change-Id: I3b0446050648e2b386ffb32976c9943b6fd9793d
2012-08-07 12:26:59 -07:00
Jesse Hall
85ab59a147
Revert "Add multi-display and flip fence to HWC"
...
This reverts commit 1d51b2b9fc713da6de18117bc19508ecdfde4f23
Change-Id: I1ae46d8cae1cb3064800cd24df56347b05eb6059
2012-07-31 12:16:24 -07:00
Jesse Hall
65bed1f947
Add multi-display and flip fence to HWC
...
Change-Id: I31b4fc293220bc51169971df93347dd35fdc30ef
2012-07-30 16:52:21 -07:00
Jesse Hall
d479ad22a0
Introduce HWC_DEVICE_API_VERSION_1_0
...
The new version adds an acquire and release fence to each layer,
providing explicit producer->hwc and hwc->producer synchronization.
Change-Id: Ibd6e3c7b3515c012c767246e6d6514274fdef01d
2012-06-18 15:53:25 -07:00
Steve Block
cee8501c16
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
...
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I98e83cc9d22f0ea8fbf397ccccd9ce7773119551
2012-01-03 22:31:17 +00:00
Mathias Agopian
03dd9c671d
remove deprecated/unused HAL headers
...
copybit, overlay, sensors_deprecated are no longer supported.
Change-Id: Ie5da20bd4ff95f7565a162d628bf572a76327b7b
2011-04-28 20:09:45 -07:00
Dima Zavin
7e03316618
libhardware: add separate makefile for modules subdir
...
Change-Id: I787c444ee1c3a687ee6f8f551c359e5e908ed7f5
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-27 14:08:57 -07:00
Iliyan Malchev
14e3641c32
hardware/libhardware: remove LOCAL_PRELINK_MODULE
...
Change-Id: I8a0ba7e4c99e334b9789d88b48383439eb7cc780
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-03-14 14:24:25 -07:00
Mathias Agopian
e6b5c05aa0
Add a helper for dumping layers into the log
...
Change-Id: I0943d9114c33b4800fb797bac316041dec992f5e
2010-08-11 16:15:42 -07:00
Mathias Agopian
5d3de309f4
first stab at hwcomposer HAL and default implementation.
...
Change-Id: I7ff47b94a6b34a8f61031bd94e936a088dcea6ab
2010-08-09 17:15:16 -07:00