Porting LE Audio unciast on F10.
1. Default enable LE Audio unicast on android U. 2. Enable LE Audio offload flag 3. Add the offload capability file for unicast 4. Enable LE Audio switcher flag(for developer option) 5. Enable BQR event mask for LE Audio choppy event Bug: 273167787 Test: LE Audio unicast related services are all enabled by default Test: Media & Phone call can stream via LE Audio SW/HW path Change-Id: I3a09fff2191b18ed90c782ab2c8e76a032950cb4
This commit is contained in:
parent
b43e38a419
commit
1c95aad4ee
2 changed files with 107 additions and 0 deletions
|
@ -318,3 +318,37 @@ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
|||
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||
endif
|
||||
|
||||
# Bluetooth LE Audio
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.bluetooth.leaudio_offload.supported=true \
|
||||
persist.bluetooth.leaudio_offload.disabled=false \
|
||||
ro.bluetooth.leaudio_switcher.supported=true \
|
||||
bluetooth.profile.bap.unicast.client.enabled=true \
|
||||
bluetooth.profile.csip.set_coordinator.enabled=true \
|
||||
bluetooth.profile.hap.client.enabled=true \
|
||||
bluetooth.profile.mcp.server.enabled=true \
|
||||
bluetooth.profile.ccp.server.enabled=true \
|
||||
bluetooth.profile.vcp.controller.enabled=true \
|
||||
|
||||
# Override BQR mask to enable LE Audio Choppy report
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.bqr.event_mask=262238
|
||||
else
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.bqr.event_mask=94
|
||||
endif
|
||||
|
||||
# Bluetooth LE Audio CIS handover to SCO
|
||||
# Set the property only if the controller doesn't support CIS and SCO
|
||||
# simultaneously. More details in b/242908683.
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.leaudio.notify.idle.during.call=true
|
||||
|
||||
# LE Audio Offload Capabilities Setting
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/felix/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
|
||||
|
||||
# Bluetooth EWP test tool
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
ewp_tool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue