platform_hardware_libhardware/modules
Steven Moreland 1df2ad3daf audio.*.default: remove unneeded dependency/IWYU
libcutils not needed as only functions from liblog are being used

Test: links
(cherry picked from commit 02b5d168f2)
Merged-In: I2a2cb58d883c0ec1e26a2f023865b137517da432
Change-Id: I2a2cb58d883c0ec1e26a2f023865b137517da432
2017-04-11 20:11:15 -07:00
..
audio audio.*.default: remove unneeded dependency/IWYU 2017-04-11 20:11:15 -07:00
audio_remote_submix Fix typo in error logs in r_submix open_input_stream function 2016-04-05 17:20:29 -07:00
camera modules/camera: Fix compiler warnings 2016-08-25 06:20:32 -07:00
consumerir Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
fingerprint Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
gralloc Merge \"Fix google-explicit-constructor warnings in libhardware\" 2016-06-30 23:14:35 +00:00
hwcomposer Add missing includes. 2015-01-28 19:54:13 -08:00
input Only log when actually receiving actual switch events. 2015-11-25 16:51:44 +00:00
local_time Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
nfc Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
nfc-nci Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
power modules/power: Silence compiler warnings 2016-08-25 06:13:52 -07:00
radio Add radio HAL stub to the build list; fix format warning. 2017-02-08 15:04:31 -08:00
sensors Sensors: MultiHal: support sensor API version 1.4 2016-10-14 21:38:48 +00:00
soundtrigger Add "clear" command. 2016-04-08 09:55:16 -07:00
thermal Add else branch to avoide fclose(NULL) 2016-11-16 09:26:53 +08:00
tv_input Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
usbaudio Simplify and clarify channel count/mask calculation for stream open routines. 2016-06-13 13:59:59 -06:00
usbcamera Fix google-explicit-constructor warnings in libhardware 2016-06-30 14:21:20 -07:00
vehicle vehicle hal further clarification / HVAC update 2016-04-06 15:37:07 -07:00
vibrator vibrator: fix issue with ledtrig-transient support 2017-03-08 17:41:53 -08:00
vr Add HAL for VR mode. 2016-01-27 17:58:31 -08:00
Android.mk Add radio HAL stub to the build list; fix format warning. 2017-02-08 15:04:31 -08:00
README.android auto import from //depot/cupcake/@135843 2009-03-03 19:32:14 -08:00

Default (and possibly architecture dependents) HAL modules go here. 


libhardware.so eventually should contain *just* the HAL hub
(hardware.c), everything in it should be rewritten as modules.

Modules are .so in /system/libs/hw/ and have a well defined naming
convention:

    /system/libs/hw/<*_HARDWARE_MODULE_ID>.<ro.product.board>.so
    /system/libs/hw/<*_HARDWARE_MODULE_ID>.<ro.board.platform>.so
    /system/libs/hw/<*_HARDWARE_MODULE_ID>.<ro.arch>.so
    /system/libs/hw/<*_HARDWARE_MODULE_ID>.default.so

They also have a well defined interface which lives in include/hardware/.

A module can have several variants: "default", "arch" and "board", and they're
loaded in the "board", "arch" and "default" order.
The source code for the "board" variant, usually lives under partners/...

The source code for "default" and "arch" would usually
live under hardware/modules/.