HAL 接口描述语言 (HIDL) 用于指定 HAL 与其用户之间的接口。它定义了收集到接口和软件包中的类型和方法调用。HIDL 是用于在可以独立编译的代码库之间进行通信的系统,旨在用于进程间通信。请参阅 HIDL 指南。
已弃用针对 HIDL (.hal) 文件的自动生成的文档。 如需详细了解接口规范,请参阅 AOSP 中的 HIDL 源文件。
HIDL 接口文件位于 AOSP 中的四个不同位置:
- /hardware/interfaces
 - /frameworks/hardware/interfaces
 - /system/hardware/interfaces
 - /system/libhidl/transport
 
如需查看每个位置的 HIDL 源文件的链接,请参阅下文。
/hardware/interfaces
- /hardware/interfaces/
- atrace/
 - 音频/
 - authsecret/
 - 汽车/
 - 生物识别/
 - 蓝牙/
 - boot/
 - broadcastradio/
 - camera/
 - cas/
 - compatibility_matrices/
 - configstore/
 - confirmationui/
 - contexthub/
 - current.txt
 - drm/
 - dumpstate/
 - fastboot/
 - gatekeeper/
 - gnss/
 - graphics/
 - health/
 - 爱尔兰/
 - keymaster/
 - 浅色/
 - 媒体/
 - memtrack/
 - neuralnetworks/
 - nfc/
 - oemlock/
 - power/
 - prebuilt_hashes/
 - radio/
 - renderscript/
 - 安全元素/
 - sensors/
 - soundtrigger/
 - tests/
 - tetheroffload/
 - 热/
 - 电视/
 - usb/
 - 振动器/
 - vr/
 - weaver/
 - wifi/