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/
- audio/
- authsecret/
- automotive/
- biometrics/
- 藍牙/
- boot/
- broadcastradio/
- camera/
- cas/
- compatibility_matrices/
- configstore/
- confirmationui/
- contexthub/
- current.txt
- drm/
- dumpstate/
- fastboot/
- gatekeeper/
- gnss/
- graphics/
- health/
- ir/
- keymaster/
- light/
- media/
- memtrack/
- neuralnetworks/
- nfc/
- oemlock/
- power/
- prebuilt_hashes/
- radio/
- renderscript/
- secure_element/
- sensors/
- soundtrigger/
- tests/
- tetheroffload/
- 熱/
- tv/
- usb/
- vibrator/
- vr/
- weaver/
- wifi/