platform_hardware_libhardware/modules
Stewart Miles 568e66ff9e Modified submix buffer size accessors to use the pipe configuration.
This change stores the period size (fraction of the pipe buffer size)
in the submix device's configuration which is then used to calculate
the input and output stream buffer size.

In addition, accessors for the input / output stream format have been
modified to use the pipe format in the device configuration rather than
returning hard coded values.

Bug: 11273000
Change-Id: I9c14f8d549f4b4a6d7f77a9aeab4edfa5ba6bd1a
2014-05-14 09:17:22 -07:00
..
audio audio: allow compiling for 64-bit 2014-04-18 15:46:30 -07:00
audio_remote_submix Modified submix buffer size accessors to use the pipe configuration. 2014-05-14 09:17:22 -07:00
camera Camera: HAL: 64-bit warning fixit. 2014-04-23 11:54:24 -07:00
consumerir hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH 2014-01-24 21:00:32 -08:00
fingerprint Hardware: Fingerprint: Fix the remove() argument, typos. 2014-04-23 10:05:57 -07: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 Change MultiHal API version to 1.1 2014-05-05 17:56:32 -07:00
tv_input tv_input: add buffer producer profile 2014-04-09 21:30:04 +09:00
usbaudio USB HAL: 64-bit compile issues 2014-04-28 16:47:58 -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/.