unplugged-system/hardware/libhardware/modules
2025-10-06 13:59:42 +00:00
..
audio Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
audio_remote_submix Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
camera Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
consumerir Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
fingerprint Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
gralloc Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
hwcomposer Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
input/evdev Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
local_time Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
nfc Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
nfc-nci Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
power Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
radio Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
sensors Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
soundtrigger Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
thermal Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
tv_input Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
usbaudio Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
usbcamera Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
vibrator Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
vr Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
Android.mk Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.android Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00: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/.