Name | Date | Size | |
---|---|---|---|
.. | 29-Aug-2017 | 4 KiB | |
Android.mk | 29-Aug-2017 | 259 | |
audio/ | 29-Aug-2017 | 4 KiB | |
audio_remote_submix/ | 29-Aug-2017 | 4 KiB | |
camera/ | 29-Aug-2017 | 4 KiB | |
consumerir/ | 29-Aug-2017 | 4 KiB | |
fingerprint/ | 29-Aug-2017 | 4 KiB | |
gralloc/ | 29-Aug-2017 | 4 KiB | |
hwcomposer/ | 29-Aug-2017 | 4 KiB | |
input/ | 29-Aug-2017 | 4 KiB | |
local_time/ | 29-Aug-2017 | 4 KiB | |
nfc/ | 29-Aug-2017 | 4 KiB | |
nfc-nci/ | 29-Aug-2017 | 4 KiB | |
power/ | 29-Aug-2017 | 4 KiB | |
radio/ | 29-Aug-2017 | 4 KiB | |
README.android | 29-Aug-2017 | 878 | |
sensors/ | 29-Aug-2017 | 4 KiB | |
soundtrigger/ | 29-Aug-2017 | 4 KiB | |
thermal/ | 29-Aug-2017 | 4 KiB | |
tv_input/ | 29-Aug-2017 | 4 KiB | |
usbaudio/ | 29-Aug-2017 | 4 KiB | |
usbcamera/ | 29-Aug-2017 | 4 KiB | |
vehicle/ | 29-Aug-2017 | 4 KiB | |
vibrator/ | 29-Aug-2017 | 4 KiB | |
vr/ | 29-Aug-2017 | 4 KiB |
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