mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
HIDL libs are not necessarily part of VNDK now. Because some are used by VNDK libs, they are still VNDK. But rest are now just vendor-available. .hidl_for_test files are also removed because they are used to exclude test-purpose hidl libs from VNDK libs. Instead, .hidl_for_system_ext files are added to tests/lazy to distinguish them from others which are installed /system. Bug: 143933769 Test: update-makefiles.sh && m com.android.vndk.current Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Directory structure of the audio HIDL related code.
Run `common/all-versions/copyHAL.sh` to create a new version of the audio HAL
based on an existing one.
audio
|-- 2.0 <== core 2.0 HIDL API. .hal can not be moved into the core directory
| because that would change its namespace and include path
|-- 4.0 <== Version 4.0 of the core API
|
|-- ...
|
|-- common <== code common to audio core and effect API
| |-- 2.0 <== HIDL API of V2
| |-- 4.0
| |-- ...
| `-- all-versions <== code common to all version of both core and effect API
| |-- default <== implementation shared code between core and effect impl
| |-- test <== utilities used by tests
| `-- util <== utilities used by both implementation and tests
|
|-- core <== VTS and default implementation of the core API (not HIDL, see /audio/2.0))
| `-- all-versions <== Code is version independent through #if and separate files
| |-- default <== code that wraps the legacy API
| `-- vts <== vts of core API
| |-- 2.0 <== 2.0 specific tests and helpers
| |-- 4.0
| |-- ...
|
`-- effect <== idem for the effect API
|-- 2.0
|-- 4.0
|-- ...
`-- all-versions
|-- default
`-- vts