platform_hardware_interfaces/audio
Mikhail Naganov 5a6ffb21a5 audio: Centralize audio configuration paths specification
The list of possible paths for the audio configuration
files is now retrieved using audio_get_configuration_paths()
function. All duplicated lists of known configuration
directories have been removed.

Bug: 153680356
Test: atest VtsHalAudioV5_0TargetTest \
            VtsHalAudioPolicyV1_0TargetTest \
            VtsHalAudioEffectV5_0TargetTest
Change-Id: I1e40fdf8d6e3a5ac339f7f138f62063bb87bd3da
2020-04-15 10:09:38 -07:00
..
2.0 Convert VtsHalAudioV*_0TargetTest to parameterized gtest 2020-03-17 13:12:42 -07:00
4.0 Audio HAL: Add missing device to XSD 2019-10-11 23:32:30 +00:00
5.0 audio: add 'useForVolume' field to 'gain'. 2019-11-15 10:39:58 -08:00
6.0 audio: update XSD for dynamic engine loading support config 2020-01-17 21:33:17 -08:00
common audio: Centralize audio configuration paths specification 2020-04-15 10:09:38 -07:00
core/all-versions audio: Centralize audio configuration paths specification 2020-04-15 10:09:38 -07:00
effect audio: Centralize audio configuration paths specification 2020-04-15 10:09:38 -07:00
policy/1.0 audio: Centralize audio configuration paths specification 2020-04-15 10:09:38 -07:00
README Audio HAL: Update file tree documentation 2018-11-28 20:29:52 -08:00

Directory structure of the audio HIDL related code.

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