platform_hardware_libhardware/modules
Tim Kilbourn dbc8c16841 Code layout cleanup
- Fwd declare where possible
- List .h first in the .cpp to verify proper includes
- Remove hacky -internal.h file and move testBitInRange to a new component

Change-Id: I442248c4b32738c6c2af250f45d4c8822c862e08
2015-06-09 11:16:04 -07:00
..
audio Fix build error on 64-bit 2015-03-23 10:53:55 -07:00
audio_remote_submix Implement timestamp reporting functions 2015-05-28 16:19:36 -07:00
camera Camera: Add HAL module init method. 2015-04-15 17:26:13 -07:00
consumerir Add missing includes. 2015-01-29 21:19:10 -08:00
fingerprint Fingerprint: Remove unused API elements. 2015-06-08 14:00:39 -07:00
gralloc Replace/rename old HAL graphics formats 2015-03-06 13:19:36 -08:00
hwcomposer Add missing includes. 2015-01-28 19:54:13 -08:00
input Code layout cleanup 2015-06-09 11:16:04 -07:00
local_time Add missing includes. 2015-01-29 21:19:10 -08:00
nfc Add missing includes. 2015-01-29 21:19:10 -08:00
nfc-nci Add missing includes. 2015-01-29 21:19:10 -08:00
power hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
radio fm radio HAL: fix metadata handling 2015-04-27 23:05:08 +00:00
sensors am cecfb56c: Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE." 2014-12-16 20:53:38 +00:00
soundtrigger sound_trigger HAL update 2014-07-31 11:16:16 -07:00
tv_input Add missing includes. 2015-01-28 19:54:13 -08:00
usbaudio Remove unused data conversion functions from usb hal 2015-05-11 12:19:37 -07:00
usbcamera Camera: Add HAL module init method. 2015-04-15 17:26:13 -07:00
vibrator Add missing includes. 2015-01-29 21:19:10 -08:00
Android.mk Add input HAL header. 2015-02-23 10:45:55 -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/.