fb4aadf622
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 |
||
---|---|---|
.. | ||
2.0 | ||
4.0 | ||
5.0 | ||
common | ||
core | ||
effect | ||
README |
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