platform_hardware_libhardware/modules
Paul McLean ddf5d74c44 Merge "Lock input and output sample rates" into nyc-dev
am: 6bd8429fe2

* commit '6bd8429fe2efab5339c4a8446aaae53bd4d06422':
  Lock input and output sample rates

Change-Id: I759c4fd7fd7563fe85abc789fe0bbc5970408829
2016-05-25 18:42:05 +00:00
..
audio Fix build error on 64-bit 2015-03-23 10:53:55 -07:00
audio_remote_submix Fix typo in error logs in r_submix open_input_stream function 2016-04-05 17:20:29 -07:00
camera Fix misc-macro-parentheses warnings. 2016-05-12 10:07:30 -07:00
consumerir Fix misc-macro-parentheses warnings. 2016-05-12 10:07:30 -07:00
fingerprint Fingerprint: Avoid passing structures where simple types should suffice. 2015-06-10 14:10:47 -07:00
gralloc Adjust gralloc to SwiftShader's requirements. 2015-10-05 17:12:46 -04:00
hwcomposer Add missing includes. 2015-01-28 19:54:13 -08:00
input Only log when actually receiving actual switch events. 2015-11-25 16:51:44 +00: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 Update audio services for 64 bit compilation 2016-03-18 10:43:05 -07:00
sensors Sensors: MultiHal: fix naming and compiler warning 2016-04-18 16:37:34 -07:00
soundtrigger Add "clear" command. 2016-04-08 09:55:16 -07:00
thermal Update temp limits in thermal HAL impl. 2016-03-25 13:45:00 -07:00
tv_input Revert "tv_input: add signal detection flag to stream config" 2016-05-03 23:44:53 +00:00
usbaudio Lock input and output sample rates 2016-05-25 10:37:03 -06:00
usbcamera Fix misc-macro-parentheses warnings. 2016-05-12 10:07:30 -07:00
vehicle vehicle hal further clarification / HVAC update 2016-04-06 15:37:07 -07:00
vibrator vibrator: add support to use led-trigger interface 2016-03-22 13:59:42 -05:00
vr Add HAL for VR mode. 2016-01-27 17:58:31 -08:00
Android.mk Re-worked hardware_properties to thermal HAL. 2016-03-17 10:09:24 +01: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/.