Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
audio/ | 23-Mar-2024 | - | 1,041 | 827 | ||
audio_remote_submix/ | 23-Mar-2024 | - | 2,217 | 1,744 | ||
camera/ | 23-Mar-2024 | - | 16,901 | 11,148 | ||
consumerir/ | 23-Mar-2024 | - | 148 | 106 | ||
fingerprint/ | 23-Mar-2024 | - | 149 | 110 | ||
gralloc/ | 23-Mar-2024 | - | 1,078 | 707 | ||
hwcomposer/ | 23-Mar-2024 | - | 172 | 120 | ||
input/evdev/ | 23-Mar-2024 | - | 2,727 | 1,762 | ||
local_time/ | 23-Mar-2024 | - | 149 | 106 | ||
nfc/ | 23-Mar-2024 | - | 99 | 67 | ||
nfc-nci/ | 23-Mar-2024 | - | 150 | 105 | ||
power/ | 23-Mar-2024 | - | 95 | 67 | ||
radio/ | 23-Mar-2024 | - | 1,088 | 894 | ||
sensors/ | 23-Mar-2024 | - | 11,810 | 8,907 | ||
soundtrigger/ | 23-Mar-2024 | - | 962 | 794 | ||
thermal/ | 23-Mar-2024 | - | 212 | 164 | ||
tv_input/ | 23-Mar-2024 | - | 170 | 119 | ||
usbaudio/ | 23-Mar-2024 | - | 1,361 | 956 | ||
usbcamera/ | 23-Mar-2024 | - | 1,905 | 1,222 | ||
vibrator/ | 23-Mar-2024 | - | 229 | 162 | ||
vr/ | 23-Mar-2024 | - | 77 | 49 | ||
Android.mk | D | 23-Mar-2024 | 124 | 6 | 5 | |
README.android | D | 23-Mar-2024 | 878 | 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 /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