• Home
  • History
  • Annotate
  • only in /hardware/libhardware/modules/
NameDateSize

..14-Feb-20134 KiB

Android.mk14-Feb-2013166

audio/14-Feb-20134 KiB

audio_remote_submix/14-Feb-20134 KiB

gralloc/14-Feb-20134 KiB

hwcomposer/14-Feb-20134 KiB

local_time/14-Feb-20134 KiB

nfc/14-Feb-20134 KiB

nfc-nci/14-Feb-20134 KiB

power/14-Feb-20134 KiB

README.android14-Feb-2013883

usbaudio/14-Feb-20134 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 /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