platform_hardware_libhardware/modules
Eino-Ville Talvala 297e586c29 Merge "Camera: Fix Metadata static info intialization"
am: f7b855ac28

* commit 'f7b855ac2813e5593db48ba9ba1002f3d56d38b8':
  Camera: Fix Metadata static info intialization
2015-11-17 23:39:13 +00:00
..
audio Fix build error on 64-bit 2015-03-23 10:53:55 -07:00
audio_remote_submix Do not reset out_get_presentation_position() to 0 on standby 2015-10-13 11:41:02 -07:00
camera Camera: Fix Metadata static info intialization 2015-11-17 09:46:40 +01:00
consumerir Add missing includes. 2015-01-29 21:19:10 -08:00
fingerprint Fingerprint: Avoid passing structures where simple types should suffice. 2015-06-10 14:10:47 -07:00
gralloc am 69164f04: Merge "Lose HAVE_ANDROID_OS from hardware/libhardware." 2015-08-13 00:40:27 +00:00
hwcomposer Add missing includes. 2015-01-28 19:54:13 -08:00
input Add input HAL methods for getting device properties. 2015-04-16 13:21:39 -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 3f93d2a9: Merge "libhardware: sensors: update multi hal to support 64bit builds" 2015-08-04 19:09:33 +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 Add USB out_get_presentation_position() for timestamps 2015-08-06 11:16:45 -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/.