• Home
Name Date Size #Lines LOC

..--

audio/07-May-2024-906693

audio_remote_submix/07-May-2024-1,8161,415

camera/07-May-2024-2,1691,472

consumerir/07-May-2024-14488

fingerprint/07-May-2024-14895

gralloc/07-May-2024-1,080703

hwcomposer/07-May-2024-16695

input/07-May-2024-2,7901,783

local_time/07-May-2024-14680

nfc/07-May-2024-9951

nfc-nci/07-May-2024-14786

power/07-May-2024-8947

radio/07-May-2024-1,055842

sensors/07-May-2024-1,102765

soundtrigger/07-May-2024-922744

thermal/07-May-2024-210146

tv_input/07-May-2024-168102

usbaudio/07-May-2024-1,134781

usbcamera/07-May-2024-1,8881,201

vehicle/07-May-2024-647513

vibrator/07-May-2024-16895

vr/07-May-2024-7532

Android.mkD07-May-2024263 54

README.androidD07-May-2024883 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 /system/libs/hw/ and have a well defined naming
8convention:
9
10    /system/libs/hw/<*_HARDWARE_MODULE_ID>.<ro.product.board>.so
11    /system/libs/hw/<*_HARDWARE_MODULE_ID>.<ro.board.platform>.so
12    /system/libs/hw/<*_HARDWARE_MODULE_ID>.<ro.arch>.so
13    /system/libs/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