platform_hardware_interfaces/audio
Daniel Norman fb4aadf622 Replaces 'oneshot' and 'interface' with 'onrestart restart audioserver'.
This default service should still restart on audioserver restart because
audioserver uses 'onrestart restart vendor.audio-hal-2-0' for restarts.

Bug: 138114550
Bug: 80227481
Test: for i in {0..100}; do \
      adb shell 'ps|grep audio;killall audioserver;ps|grep audio' \
      && sleep 2; \
      done
Test: Ran steps mentioned in http://b/80227481#comment1, device did not
get stuck in boot animation. Killing either audioserver or audio-hal
caused both to restart (just once) and the device booted correctly after
the sleep finished.
Change-Id: Ice128b51f79d3a9de22a719e6d897c8dca915e28
2019-07-31 21:08:02 +00: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 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
common Replaces 'oneshot' and 'interface' with 'onrestart restart audioserver'. 2019-07-31 21:08:02 +00:00
core Remove the dependency on ICU 2019-01-31 14:05:15 +00:00
effect Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
README Audio V4: Copy 2.0 .hal files in 4.0 2018-01-31 10:39:47 -08:00

Directory structure of the audio HIDL related code.

audio
|-- 2.0              <== HIDL (.hal) can not be moved to fit the directory structure
|                        because that would create a separate HAL
|-- 4.0              <== Version 4.0 of the core API
|
|-- common           <== code common to audio core and effect API
|   |-- 2.0
|   |   |-- default  <== code that wraps the legacy API
|   |   `-- vts      <== vts of 2.0 core and effect API common code
|   |-- 4.0
|   |   |-- default
|   |   `-- vts
|   |-- ...          <== The future versions should continue this structure
|   |   |-- default
|   |   `-- vts
|   `-- all_versions <== code common to all version of both core and effect API
|       |-- default
|       `-- vts      <== vts of core and effect API common version independent code
|
|-- core           <== code relative to the core API
|   |-- 2.0          <== 2.0 core API code (except .hal, see audio/2.0)
|   |   |-- default
|   |   `-- vts
|   |-- 4.0
|   |   |-- default  <== default implementation of the core 4.0 api
|   |   `-- vts      <== vts code of the 4.0 API
|   |-- ...
|   |   |-- default
|   |   `-- vts
|   `-- all_versions
|       |-- default
|       `-- vts      <== vts of core API common version independent code
|
`-- effect           <== idem for the effect API
    |-- 2.0
    |   |-- default
    |   `-- vts
    |-- 4.0
    |   |-- default
    |   `-- vts
    |-- ...
    |   |-- default
    |   `-- vts
    `-- all_versions
        |-- default
        `-- vts