blob: afafbe32d2ac394fb40c5d9c2abfb8ce4615c669 [file] [log] [blame]
Kevin Rocard649142b2017-12-13 18:58:39 -08001Directory structure of the audio HIDL related code.
2
Kevin Rocard130bf682019-10-08 11:09:46 +01003Run `common/all-versions/copyHAL.sh` to create a new version of the audio HAL
4based on an existing one.
5
Kevin Rocard649142b2017-12-13 18:58:39 -08006audio
Kevin Rocardd10247b2018-11-21 18:05:52 -08007|-- 2.0 <== core 2.0 HIDL API. .hal can not be moved into the core directory
8| because that would change its namespace and include path
Kevin Rocarda4e6d8b2018-01-20 21:52:01 -08009|-- 4.0 <== Version 4.0 of the core API
Kevin Rocard649142b2017-12-13 18:58:39 -080010|
Kevin Rocardd10247b2018-11-21 18:05:52 -080011|-- ...
Kevin Rocard649142b2017-12-13 18:58:39 -080012|
Kevin Rocardd10247b2018-11-21 18:05:52 -080013|-- common <== code common to audio core and effect API
14| |-- 2.0 <== HIDL API of V2
Kevin Rocard649142b2017-12-13 18:58:39 -080015| |-- 4.0
Kevin Rocard649142b2017-12-13 18:58:39 -080016| |-- ...
Kevin Rocard130bf682019-10-08 11:09:46 +010017| `-- all-versions <== code common to all version of both core and effect API
Kevin Rocardd10247b2018-11-21 18:05:52 -080018| |-- default <== implementation shared code between core and effect impl
19| |-- test <== utilities used by tests
20| `-- util <== utilities used by both implementation and tests
21|
22|-- core <== VTS and default implementation of the core API (not HIDL, see /audio/2.0))
Kevin Rocard130bf682019-10-08 11:09:46 +010023| `-- all-versions <== Code is version independent through #if and separate files
Kevin Rocardd10247b2018-11-21 18:05:52 -080024| |-- default <== code that wraps the legacy API
25| `-- vts <== vts of core API
26| |-- 2.0 <== 2.0 specific tests and helpers
27| |-- 4.0
28| |-- ...
Kevin Rocard649142b2017-12-13 18:58:39 -080029|
30`-- effect <== idem for the effect API
31 |-- 2.0
Kevin Rocard649142b2017-12-13 18:58:39 -080032 |-- 4.0
Kevin Rocard649142b2017-12-13 18:58:39 -080033 |-- ...
Kevin Rocard130bf682019-10-08 11:09:46 +010034 `-- all-versions
Kevin Rocard649142b2017-12-13 18:58:39 -080035 |-- default
Kevin Rocard649142b2017-12-13 18:58:39 -080036 `-- vts