Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
audio/ | 22-Nov-2023 | - | 906 | 693 | ||
audio_remote_submix/ | 22-Nov-2023 | - | 1,816 | 1,415 | ||
camera/ | 22-Nov-2023 | - | 2,169 | 1,472 | ||
consumerir/ | 22-Nov-2023 | - | 144 | 88 | ||
fingerprint/ | 22-Nov-2023 | - | 148 | 95 | ||
gralloc/ | 22-Nov-2023 | - | 1,080 | 703 | ||
hwcomposer/ | 22-Nov-2023 | - | 166 | 95 | ||
input/ | 22-Nov-2023 | - | 2,790 | 1,783 | ||
local_time/ | 22-Nov-2023 | - | 146 | 80 | ||
nfc/ | 22-Nov-2023 | - | 99 | 51 | ||
nfc-nci/ | 22-Nov-2023 | - | 147 | 86 | ||
power/ | 22-Nov-2023 | - | 89 | 47 | ||
radio/ | 22-Nov-2023 | - | 1,055 | 842 | ||
sensors/ | 22-Nov-2023 | - | 1,102 | 765 | ||
soundtrigger/ | 22-Nov-2023 | - | 922 | 744 | ||
thermal/ | 22-Nov-2023 | - | 210 | 146 | ||
tv_input/ | 22-Nov-2023 | - | 168 | 102 | ||
usbaudio/ | 22-Nov-2023 | - | 1,134 | 781 | ||
usbcamera/ | 22-Nov-2023 | - | 1,888 | 1,201 | ||
vehicle/ | 22-Nov-2023 | - | 647 | 513 | ||
vibrator/ | 22-Nov-2023 | - | 168 | 95 | ||
vr/ | 22-Nov-2023 | - | 75 | 32 | ||
Android.mk | D | 22-Nov-2023 | 263 | 5 | 4 | |
README.android | D | 22-Nov-2023 | 883 | 24 | 15 |
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