Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
audio/ | 03-May-2024 | - | 934 | 739 | ||
audio_remote_submix/ | 03-May-2024 | - | 1,818 | 1,417 | ||
camera/ | 03-May-2024 | - | 2,189 | 1,477 | ||
consumerir/ | 03-May-2024 | - | 142 | 102 | ||
fingerprint/ | 03-May-2024 | - | 144 | 107 | ||
gralloc/ | 03-May-2024 | - | 1,086 | 708 | ||
hwcomposer/ | 03-May-2024 | - | 167 | 96 | ||
input/ | 03-May-2024 | - | 2,791 | 1,784 | ||
local_time/ | 03-May-2024 | - | 149 | 106 | ||
nfc/ | 03-May-2024 | - | 97 | 65 | ||
nfc-nci/ | 03-May-2024 | - | 163 | 112 | ||
power/ | 03-May-2024 | - | 90 | 62 | ||
radio/ | 03-May-2024 | - | 1,064 | 849 | ||
sensors/ | 03-May-2024 | - | 11,691 | 8,716 | ||
soundtrigger/ | 03-May-2024 | - | 923 | 745 | ||
thermal/ | 03-May-2024 | - | 212 | 148 | ||
tv_input/ | 03-May-2024 | - | 168 | 117 | ||
usbaudio/ | 03-May-2024 | - | 1,295 | 886 | ||
usbcamera/ | 03-May-2024 | - | 1,888 | 1,201 | ||
vehicle/ | 03-May-2024 | - | 632 | 498 | ||
vibrator/ | 03-May-2024 | - | 229 | 162 | ||
vr/ | 03-May-2024 | - | 76 | 33 | ||
Android.mk | D | 03-May-2024 | 259 | 15 | 14 | |
README.android | D | 03-May-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