HAL 接口描述语言 (HIDL) 用于指定 HAL 与其用户之间的接口。HIDL 可定义收集到接口和软件包中的类型和方法调用。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/
- automotive/
- 生物识别/
- 蓝牙/
- 启动/
- broadcastradio/
- camera/
- cas/
- compatibility_matrices/
- configstore/
- confirmationui/
- contexthub/
- current.txt
- drm/
- dumpstate/
- fastboot/
- gatekeeper/
- gnss/
- graphics/
- health/
- ir/
- keymaster/
- 光线/
- media/
- memtrack/
- neuralnetworks/
- nfc/
- oemlock/
- power/
- prebuilt_hashes/
- radio/
- renderscript/
- 安全元素/
- 传感器/
- soundtrigger/
- tests/
- tetheroffload/
- 热/
- 电视/
- usb/
- 振动器/
- vr/
- weaver/
- Wi-Fi/