97bc3fba7b
hidl-gen now generates them for use by all Google Tests, calling toString(). The local audio PrintTo definitions in PrettyPrintAudioTypes.h are now redundant with the generated versions, and the entire header can be removed. Test: Verified the generated PrintTo functions work in a different GTest Change-Id: I80d100907e3c6c638608b0b8b34232b02decac19 |
||
---|---|---|
.. | ||
2.0 | ||
4.0 | ||
5.0 | ||
6.0 | ||
common | ||
core/all-versions | ||
effect | ||
README |
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