platform_hardware_libhardware/modules
2017-04-18 18:44:09 +00:00
..
audio Merge "audio.*.default: remove unneeded dependency/IWYU" 2017-04-12 15:49:42 +00:00
audio_remote_submix libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
camera libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
consumerir consumerir.default: remove unneeded dependency. 2017-04-12 18:51:15 +00:00
fingerprint libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
gralloc libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
hwcomposer libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
input Fix format string warnings in InputHub.cpp. 2017-02-13 15:37:23 -05:00
local_time libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
nfc Begin converting Android.mk to Android.bp 2016-07-12 23:34:37 -07:00
nfc-nci libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
power modules/power: Silence compiler warnings 2016-08-25 06:13:52 -07:00
radio libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
sensors libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
soundtrigger libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
thermal Add else branch to avoide fclose(NULL) 2016-11-16 09:26:53 +08:00
tv_input libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
usbaudio Simplify and clarify channel count/mask calculation for stream open routines. 2016-06-13 13:59:59 -06:00
usbcamera libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
vehicle libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07:00
vibrator libhardware: deprecate cutils/log.h 2017-04-11 10:50:06 -07: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/.