[AudioProxy] Enable AudioProxy

CP of go/ag/16674532

1. Enable AudioProxy service and client library.
2. AudioProxy service will implement the audio HAL, so add the audio
policy config file.
3. AudioProxy also has its own AIDL interface. Add the compatibility
matrix file for the new AIDL interface, and the audio HAL.

Bug: 197547824
Test: Build and local run
Change-Id: I9aa3dbced63f071bebade5de7d996655fe502295
This commit is contained in:
Sandeep Vijayasekar 2022-10-20 13:39:48 -07:00
parent 4e093e92ff
commit f75c0dd43d
3 changed files with 39 additions and 0 deletions

View file

@ -220,3 +220,12 @@ PRODUCT_SYSTEM_PROPERTIES += ro.odm.cast.ssid_suffix=ynn
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.extended_launch_boost=1 \
persist.vendor.camera.raise_buf_allocation_priority=1
# AudioProxy
PRODUCT_PACKAGES += \
libaudio_proxy.google \
device.google.atv.audio_proxy@7.1-service
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := device/google/tangorpro/device_framework_matrix_product_tangorpro.xml
PRODUCT_COPY_FILES += \
device/google/tangorpro/public.libraries-google-tangorpro.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/public.libraries-google.txt

View file

@ -0,0 +1,29 @@
<compatibility-matrix version="1.0" type="framework" level="7">
<hal format="hidl">
<name>hardware.google.bluetooth.ccc</name>
<version>1.1</version>
<interface>
<name>IBluetoothCcc</name>
<instance>default</instance>
</interface>
</hal>
<!-- AudioProxy -->
<hal format="aidl" optional="true">
<name>device.google.atv.audio_proxy</name>
<version>1</version>
<interface>
<name>IAudioProxy</name>
<instance>mediashell</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<version>7.1</version>
<interface>
<name>IDevicesFactory</name>
<instance>mediashell</instance>
</interface>
</hal>
</compatibility-matrix>

View file

@ -0,0 +1 @@
libaudio_proxy.google.so