* changes:
Use explicit aidl versions for audio hal and soundtrigger dependencies.
Add AudioAttributes and AudioFlag for use in HAL interface for engine configuration.
There are still issues with importing implicit versions. Switching to explicit versions while b/188871598 is worked out.
Bug: 242678729
Test: m; AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api && AIDL_FROZEN_REL=true m
Merged-In: Ide6a90716bf042fbb925357e110bc84ddb9e96fb
Change-Id: Ide6a90716bf042fbb925357e110bc84ddb9e96fb
(cherry picked from commit 8296aa824b)
This requires a version bump to android.media.audio.common.types.
cc_defaults and java_defaults are used in order to avoid explicitly updating version references in several Android.bp files when we do future version bumps.
Bug: 242678729
Test: m
Merged-In: Id17820f210f625e370992db4f9f85e37887b088b
Change-Id: Id17820f210f625e370992db4f9f85e37887b088b
(cherry picked from commit bf94fa32cb)
Some are still in VNDK because they are used in other VNDK libs.
Ignore-AOSP-First: some libs are still in internal master only.
Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
(cherry picked from commit 5527adfd7f)
Soundtrigger3 has been built with "-Werror -Weverything" (from
Android.bp) and "-Weverything -Wno-missing-permission-annotation" (from
the AIDL build system). The former is added only for the ToT version of
an AIDL interface.
So far, soundtrigger3 wasn't frozen and therefore the implicit version 1
was the ToT version. As a result, absence of @RequiresPermission in its
interface didn't break the build due to the automatically added
"-Wno-missing-permission-annotation" despite that it had "-Werror".
However, this is causing build breakage as soundtrigger3 now has version
1 and 2 (ToT) and the version 1 is built *without*
"-Wno-missing-permission-annotation".
Fixing this by manually adding the diag flag so that it's applied to all
versions.
Bug: 225941299
Test: m
Change-Id: I3a43fc77997ef900b0f173c88530f570e436bc77
Make 'createConfig' a static function.
Fix OWNERS file to point to the correct location.
Bug: 188932434
Test: m sthal_cli_3
Change-Id: I7a35096acb71a246691f9bb9ddf41660f3e7cf8f
Since tests depend statically on libaudiofoundation,
they also need to depend on the generated interfaces code,
which contains vtables for interface classes.
Update 'sthal_cli_3' test app.
Bug: 188932434
Test: m HalAudioV6_0GeneratorTest
Test: m sthal_cli_3
Change-Id: Ifb8f81d02764f7710ce207603aa6fe2d20123e89
Added SPDX-license-identifier-Apache-2.0 to:
soundtrigger/aidl/Android.bp
soundtrigger/aidl/cli/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I5bb1bf59e40996301a0b002211669de320d3cfb3