platform_hardware_libhardware/modules
Andy Hung a374941340 resolve merge conflicts of 03ed3e9 to master
Change-Id: Ib673e9cd0c2260bf5333ff0caa4a61cd2a98f473
2016-07-14 22:47:38 -07:00
..
audio resolve merge conflicts of 03ed3e9 to master 2016-07-14 22:47:38 -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 Fix google-explicit-constructor warnings in libhardware 2016-06-30 14:21:20 -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 InputHub: Fix compiler warnings 2016-06-30 16:03:16 -07: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 resolve merge conflicts of 69ed5d9 to stage-aosp-master am: d269bf4328 am: c1965c958c 2016-07-13 19:30:24 +00:00
power Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
radio Update audio services for 64 bit compilation 2016-03-18 10:43:05 -07:00
sensors Merge "SensorEventQueue_test: Fix compiler warnings" 2016-07-01 13:04:39 +00:00
soundtrigger Add "clear" command. 2016-04-08 09:55:16 -07:00
thermal Update temp limits in thermal HAL impl. 2016-03-25 13:45:00 -07:00
tv_input resolve merge conflicts of 69ed5d9 to stage-aosp-master am: d269bf4328 am: c1965c958c 2016-07-13 19:30:24 +00: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 Default VHAL always returns 0 for driving status 2016-07-11 19:21:26 +00:00
vibrator Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
vr Add HAL for VR mode. 2016-01-27 17:58:31 -08:00
Android.mk resolve merge conflicts of 69ed5d9 to stage-aosp-master 2016-07-13 11:28:47 -07: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/.