platform_hardware_libhardware/modules
Sasha Levitskiy a747c069c6 Hardware: Fingerprint: Introducing Fingerprint HAL
Change-Id: I4e55c42841c3b6a1327a16bdf6d1d4bb3847c7f3
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2014-04-07 18:14:34 +00:00
..
audio Audio HALs are 32-bit only 2014-03-13 09:56:42 -07:00
audio_remote_submix am 9f7332d4: am 5106ad0c: Merge "Audio HALs are 32-bit only" 2014-03-14 10:02:57 +00:00
camera camera3: Update maxRegions tag. 2014-02-03 17:40:43 -08:00
consumerir hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
fingerprint Hardware: Fingerprint: Introducing Fingerprint HAL 2014-04-07 18:14:34 +00:00
gralloc Merge "gralloc: dont hardcode 32bpp as RGBX" 2014-03-06 19:04:07 +00:00
hwcomposer hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
local_time hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
mcu Initial version of the MCU HAL 2014-02-07 18:07:39 -08:00
nfc hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
nfc-nci hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
power hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
sensors Fix sensor multi hal crash when sub-HAL reports an error 2014-03-17 13:05:09 -07:00
tv_input Initial commit of TV input HAL 2014-03-21 14:49:58 +09:00
usbaudio Initial implementation of usb audio I/O 2014-03-31 16:30:16 -07:00
vibrator hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
Android.mk Hardware: Fingerprint: Introducing Fingerprint HAL 2014-04-07 18:14:34 +00: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/.