platform_hardware_libhardware/modules
soon1.choi 781bb3f72e DO NOT MERGE - fix: memory leak
free momory for str_parms to prevent memory leak.

cherry-pcik from aosp c357157e28

Bug: 18798194.

Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
2014-12-18 09:55:05 -08:00
..
audio audio HAL: add parameters to open stream 2014-07-28 11:38:40 -07:00
audio_remote_submix Reroute submix HAL: fix race condition on output state 2014-12-09 20:27:11 -08:00
camera hardware: camera_common: add module open legacy device API 2014-06-13 11:44:19 -07:00
consumerir Fix warnings 2014-07-15 11:17:19 -07:00
fingerprint Hardware: Fingerprint: Fix the remove() argument, typos. 2014-04-23 10:05:57 -07:00
gralloc Merge "gralloc: let target configure page flipping ioctl" 2014-07-04 08:02:36 +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
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 Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant 2014-10-10 16:02:26 -07:00
soundtrigger sound_trigger HAL update 2014-07-31 11:16:16 -07:00
tv_input tv_input: add buffer producer profile 2014-04-09 21:30:04 +09:00
usbaudio DO NOT MERGE - fix: memory leak 2014-12-18 09:55:05 -08:00
vibrator hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
Android.mk Delete mcu HAL. 2014-07-26 14:58:23 -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/.