• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..09-Sep-20194 KiB

Android.mkH A D09-Sep-2019263

audio/H09-Sep-20194 KiB

audio_remote_submix/H09-Sep-20194 KiB

camera/H09-Sep-20194 KiB

consumerir/H09-Sep-20194 KiB

fingerprint/H09-Sep-20194 KiB

gralloc/H09-Sep-20194 KiB

hwcomposer/H09-Sep-20194 KiB

input/H09-Sep-20194 KiB

local_time/H09-Sep-20194 KiB

nfc/H09-Sep-20194 KiB

nfc-nci/H09-Sep-20194 KiB

power/H09-Sep-20194 KiB

radio/H09-Sep-20194 KiB

README.androidH A D09-Sep-2019883

sensors/H09-Sep-20194 KiB

soundtrigger/H09-Sep-20194 KiB

thermal/H09-Sep-20194 KiB

tv_input/H09-Sep-20194 KiB

usbaudio/H09-Sep-20194 KiB

usbcamera/H09-Sep-20194 KiB

vehicle/H09-Sep-20194 KiB

vibrator/H09-Sep-20194 KiB

vr/H09-Sep-20194 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