• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Directory structure of the audio HIDL related code.
2
3audio
4|-- 2.0              <== core 2.0 HIDL API. .hal can not be moved into the core directory
5|                        because that would change its namespace and include path
6|-- 4.0              <== Version 4.0 of the core API
7|
8|-- ...
9|
10|-- common           <== code common to audio core and effect API
11|   |-- 2.0          <== HIDL API of V2
12|   |-- 4.0
13|   |-- ...
14|   `-- all_versions <== code common to all version of both core and effect API
15|       |-- default  <== implementation shared code between core and effect impl
16|       |-- test     <== utilities used by tests
17|       `-- util     <== utilities used by both implementation and tests
18|
19|-- core             <== VTS and default implementation of the core API (not HIDL, see /audio/2.0))
20|   `-- all_versions <== Code is version independent through #if and separate files
21|       |-- default  <== code that wraps the legacy API
22|       `-- vts      <== vts of core API
23|           |-- 2.0  <== 2.0 specific tests and helpers
24|           |-- 4.0
25|           |-- ...
26|
27`-- effect           <== idem for the effect API
28    |-- 2.0
29    |-- 4.0
30    |-- ...
31    `-- all_versions
32        |-- default
33        `-- vts
34