platform_hardware_interfaces/audio
Kevin Rocard 5261dce877 Audio service: Refactor register interface
Remove all per interface version boilerplate.
Adding a new version now requires only including the file
and adding the version name to the list.

Bug: 134940862
Test: adb shell lshal
Change-Id: Ib6b99d7a2c2079d914970fbe804aaf3c78c143ce
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-07-01 17:41:58 -07:00
..
2.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
4.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
5.0 Merge "Update hidl makefiles for bpfmt" am: ff0bd741ca 2019-04-18 14:34:45 -07:00
common Audio service: Refactor register interface 2019-07-01 17:41:58 -07:00
core/all-versions Validate HAL mic input 2019-05-21 00:27:09 +00:00
effect Version dependant target should included version in name 2019-06-24 15:39:54 -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