11 Commits

Author SHA1 Message Date
David Li
2a7b2bd35b audio: pack AIDL haptic gen effect into the image
Bug: 330686268
Test: mm; haptic playground
Change-Id: I629ebaf0c8aa1c6b92dce781cb9e1416094a8c67
2024-04-24 05:04:24 +08:00
Mikhail Naganov
57cd0318e2 Set ro.audio.ihaladaptervendorextension_enabled property
This property is used by libaudiohal@aidl to detect whether
the system_ext partition provides an instance of
IHalAdapterVendorExtension.

Bug: 323106963
Test: atest audiorouting_test
Change-Id: I88d4f8ad2aff0c52f103d76e8e17e0f3d049d3b5
2024-02-13 00:42:34 +00:00
Jasmine Cha
0bdf2998a8 audio: move USE_AUDIO_HAL_AIDL to device-<project>.mk
Bug: 317745810
Test: manual test b/317745810#comment3

Change-Id: Ie6f1660dcf9d26bd14061ead187e1f3d8848d565
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-03 07:06:25 +00:00
Carter Hsu
39b2931bf1 Merge "audio: add hdmi audio sepolicy for AIDL HAL" into main 2024-01-02 01:25:24 +00:00
Carter Hsu
e9c4233f11 audio: add hdmi audio sepolicy for AIDL HAL
Bug: 309696512
Test: Verified by test build
Change-Id: I0e1192f228424b80c776445755a93be56c93d1e7
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-02 00:31:06 +00:00
Jasmine Cha
1e19480c70 audio: separate audio hal hidl/aidl by project
Bug: 317444263
Bug: 317733172
Test: boot to home, check basic audio functions

Change-Id: I034b4958b3fc701569988618f5428c07c8d61c15
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-27 11:58:55 +08:00
Jasmine Cha
e5bf86e7cd audio: add soong config for ims media to read
Bug: 291772585
Test: manual test on hidl/aidl

Change-Id: I1bb1bc5963fe28132cb72fe29167b3fa4d384cb7
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-26 05:07:18 +00:00
David Li
4cc0efc9a1 audio: add audio HAL parameter parser and its sepolicy
- pack the parameter parser service into the image
 - add sepolicy for the service audio-hal-parserservice

Bug: 274433842
Test: manual test; make -j128
Change-Id: Ia47da38060a99cf32da5db60cef7e4a067dd0f24
2023-07-12 11:08:14 +08:00
David Li
827c84ee7d audio: pack AIDL s/w effects
Pack the common s/w effects into the AIDL effect HAL enabled image.
Includes the following effects,
  1. libbundleaidl
  2. libreverbaidl
  3. libvisualizeraidl
  4. libdynamicsprocessingaidl
  5. libdownmixaidl
  6. libloudnessenhanceraidl

The project-specific effects should be add into the makefile in the
project folder.

Test: mm
Bug: 271500140
Change-Id: I4d89440791d43eaf03288d5f7bf6d61cbd21659f
2023-04-26 14:57:31 +08:00
Jasmine Cha
6cd390e2cf audio: add policy for rild to get vendor audio propery
- rild has different sepolicy for audio hal by type of service, which is
  hidl or aidl. Read property before querying service in rild can avoid
  avc denied presubmit test.

Bug: 206738075
Test: build pass with hidl/aidl audio service

Change-Id: I2616028fb3a6029646340fc3282e51a5f02b3f7f
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-13 10:59:44 +08:00
Jasmine Cha
8e0e106363 audio: add audio hal aidl service
- separate audio hal HIDL and AIDL services.
- separate sepolicy of aoc and audio

Bug: 259161622
Test: build pass and check hidl/aidl on gs201
      build pass for other chipset

Change-Id: Id3c0446be6cdcd5a6e75c832e7d7f4a64716f79c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-09 13:47:57 +08:00