Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 1 | Directory structure of the audio HIDL related code. |
| 2 | |
Kevin Rocard | 130bf68 | 2019-10-08 11:09:46 +0100 | [diff] [blame] | 3 | Run `common/all-versions/copyHAL.sh` to create a new version of the audio HAL |
| 4 | based on an existing one. |
| 5 | |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 6 | audio |
Kevin Rocard | d10247b | 2018-11-21 18:05:52 -0800 | [diff] [blame] | 7 | |-- 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 Rocard | a4e6d8b | 2018-01-20 21:52:01 -0800 | [diff] [blame] | 9 | |-- 4.0 <== Version 4.0 of the core API |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 10 | | |
Kevin Rocard | d10247b | 2018-11-21 18:05:52 -0800 | [diff] [blame] | 11 | |-- ... |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 12 | | |
Kevin Rocard | d10247b | 2018-11-21 18:05:52 -0800 | [diff] [blame] | 13 | |-- common <== code common to audio core and effect API |
| 14 | | |-- 2.0 <== HIDL API of V2 |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 15 | | |-- 4.0 |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 16 | | |-- ... |
Kevin Rocard | 130bf68 | 2019-10-08 11:09:46 +0100 | [diff] [blame] | 17 | | `-- all-versions <== code common to all version of both core and effect API |
Kevin Rocard | d10247b | 2018-11-21 18:05:52 -0800 | [diff] [blame] | 18 | | |-- 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 Rocard | 130bf68 | 2019-10-08 11:09:46 +0100 | [diff] [blame] | 23 | | `-- all-versions <== Code is version independent through #if and separate files |
Kevin Rocard | d10247b | 2018-11-21 18:05:52 -0800 | [diff] [blame] | 24 | | |-- 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 Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 29 | | |
| 30 | `-- effect <== idem for the effect API |
| 31 | |-- 2.0 |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 32 | |-- 4.0 |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 33 | |-- ... |
Kevin Rocard | 130bf68 | 2019-10-08 11:09:46 +0100 | [diff] [blame] | 34 | `-- all-versions |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 35 | |-- default |
Kevin Rocard | 649142b | 2017-12-13 18:58:39 -0800 | [diff] [blame] | 36 | `-- vts |