• Home
Name
Date
Size
#Lines
LOC

..--

audio/03-May-2024-1,050835

audio_remote_submix/03-May-2024-2,1001,653

camera/03-May-2024-16,91511,161

consumerir/03-May-2024-157114

fingerprint/03-May-2024-158118

gralloc/03-May-2024-1,091719

hwcomposer/03-May-2024-181128

input/evdev/03-May-2024-2,7481,778

local_time/03-May-2024-158114

nfc/03-May-2024-10875

nfc-nci/03-May-2024-159113

power/03-May-2024-10475

radio/03-May-2024-1,097902

sensors/03-May-2024-12,8609,675

soundtrigger/03-May-2024-965796

thermal/03-May-2024-221172

tv_input/03-May-2024-179127

usbaudio/03-May-2024-2,1571,660

usbcamera/03-May-2024-1,9141,230

vibrator/03-May-2024-238170

vr/03-May-2024-8657

Android.mkD03-May-2024124 65

README.androidD03-May-2024878 2415

README.android

1Default (and possibly architecture dependents) HAL modules go here.
2
3
4libhardware.so eventually should contain *just* the HAL hub
5(hardware.c), everything in it should be rewritten as modules.
6
7Modules are .so in /vendor/lib/hw/ and have a well defined naming
8convention:
9
10    /vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.product.board>.so
11    /vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.board.platform>.so
12    /vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.arch>.so
13    /vendor/lib/hw/<*_HARDWARE_MODULE_ID>.default.so
14
15They also have a well defined interface which lives in include/hardware/.
16
17A module can have several variants: "default", "arch" and "board", and they're
18loaded in the "board", "arch" and "default" order.
19The source code for the "board" variant, usually lives under partners/...
20
21The source code for "default" and "arch" would usually
22live under hardware/modules/.
23
24