platform_hardware_libhardware/modules
Treehugger Robot 60b7e3a576 Merge "Revert "Revert "Increase HidRawSensor thread priority to reduce latency""" into main am: 095c6960f8
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2755006

Change-Id: Ibdee07646502b1b4f494486d23bab55d1b567894
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-18 22:21:39 +00:00
..
audio [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
audio_remote_submix AudioParameter: Use for RemoteSubmix exiting 2023-04-25 10:45:59 -07:00
camera Merge "Use libgtest_prod_headers." 2021-04-28 20:53:30 +00:00
consumerir [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
fingerprint [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
gralloc Merge Android U (ab/10368041) 2023-08-22 11:36:57 -07:00
hwcomposer [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
input/evdev [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
local_time [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
nfc [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
nfc-nci [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
power [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
radio libhardware: tests/tools to vendor 2023-07-18 20:56:46 +00:00
sensors Merge "Revert "Revert "Increase HidRawSensor thread priority to reduce latency""" into main am: 095c6960f8 2023-09-18 22:21:39 +00:00
soundtrigger Fix sizeof warnings on unusual calloc 2022-12-09 12:41:40 -08:00
thermal [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
tv_input [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
usbaudio Merge "Use requested sample rate when it matches device sample rate." 2023-05-22 18:28:54 +00:00
usbcamera [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
vibrator [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
vr [LSC] Add LOCAL_LICENSE_KINDS to hardware/libhardware 2021-02-12 20:51:13 -08:00
Android.mk Convert to Android.bp 2017-12-27 11:05:29 -08:00
README.android Move default HAL libraries to vendor 2017-03-07 11:28:32 +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 /vendor/lib/hw/ and have a well defined naming
convention:

    /vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.product.board>.so
    /vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.board.platform>.so
    /vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.arch>.so
    /vendor/lib/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/.