Snap for 9080899 from 9d3f694484
to udc-release
Change-Id: I508cff508c59a14ec53aa617d800744ba45d2d7e
This commit is contained in:
commit
db06b9e7c8
6 changed files with 107 additions and 10 deletions
84
bluetooth/cheetah/le_audio_codec_capabilities.xml
Normal file
84
bluetooth/cheetah/le_audio_codec_capabilities.xml
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!---
|
||||||
|
This is an example to configure LE Audio hardware offload supported capability settings
|
||||||
|
codecConfigurationList:
|
||||||
|
Supported codec capability along with its parameter setting
|
||||||
|
|
||||||
|
strategyConfigurationList:
|
||||||
|
ASE Configuration strategies
|
||||||
|
|
||||||
|
configurationList:
|
||||||
|
For each configuration, there are two attributes
|
||||||
|
- codecConfiguration
|
||||||
|
- strategyConfiguration
|
||||||
|
|
||||||
|
scenarioList:
|
||||||
|
There would be only one `scenarios` group
|
||||||
|
For each scenario, the are two attributes
|
||||||
|
- encode
|
||||||
|
- decode
|
||||||
|
If a scenario is unidirectional, mark another direction as `invalid`
|
||||||
|
The configuration should be chosen from `configurationList`
|
||||||
|
-->
|
||||||
|
<leAudioOffloadSetting>
|
||||||
|
<scenarioList>
|
||||||
|
<!-- encode only -->
|
||||||
|
<scenario encode="OneChanMono_16_1" decode="invalid"/>
|
||||||
|
<scenario encode="TwoChanStereo_16_1" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanStereo_16_1" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanMono_16_2" decode="invalid"/>
|
||||||
|
<scenario encode="TwoChanStereo_16_2" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanStereo_16_2" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanMono_24_2" decode="invalid"/>
|
||||||
|
<scenario encode="TwoChanStereo_24_2" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanStereo_24_2" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanMono_32_2" decode="invalid"/>
|
||||||
|
<scenario encode="TwoChanStereo_32_2" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanStereo_32_2" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanMono_48_4" decode="invalid"/>
|
||||||
|
<scenario encode="TwoChanStereo_48_4" decode="invalid"/>
|
||||||
|
<scenario encode="OneChanStereo_48_4" decode="invalid"/>
|
||||||
|
<!-- encode and decode -->
|
||||||
|
<scenario encode="OneChanStereo_16_1" decode="OneChanStereo_16_1"/>
|
||||||
|
<scenario encode="OneChanStereo_16_1" decode="OneChanMono_16_1"/>
|
||||||
|
<scenario encode="TwoChanStereo_16_1" decode="OneChanMono_16_1"/>
|
||||||
|
<scenario encode="OneChanMono_16_1" decode="OneChanMono_16_1"/>
|
||||||
|
<scenario encode="OneChanStereo_16_2" decode="OneChanStereo_16_2"/>
|
||||||
|
<scenario encode="OneChanStereo_16_2" decode="OneChanMono_16_2"/>
|
||||||
|
<scenario encode="TwoChanStereo_16_2" decode="OneChanMono_16_2"/>
|
||||||
|
<scenario encode="OneChanMono_16_2" decode="OneChanMono_16_2"/>
|
||||||
|
<scenario encode="OneChanStereo_32_2" decode="OneChanStereo_32_2"/>
|
||||||
|
<scenario encode="OneChanStereo_32_2" decode="OneChanMono_32_2"/>
|
||||||
|
<scenario encode="TwoChanStereo_32_2" decode="OneChanMono_32_2"/>
|
||||||
|
<scenario encode="OneChanMono_32_2" decode="OneChanMono_32_2"/>
|
||||||
|
</scenarioList>
|
||||||
|
<configurationList>
|
||||||
|
<configuration name="OneChanMono_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="TwoChanStereo_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanStereo_16_1" codecConfiguration="LC3_16k_1" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanMono_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="TwoChanStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanMono_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="TwoChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanMono_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="TwoChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanStereo_32_2" codecConfiguration="LC3_32k_2" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanMono_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
<configuration name="TwoChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||||
|
<configuration name="OneChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||||
|
</configurationList>
|
||||||
|
<codecConfigurationList>
|
||||||
|
<codecConfiguration name="LC3_16k_1" codec="LC3" samplingFrequency="16000" frameDurationUs="7500" octetsPerCodecFrame="30"/>
|
||||||
|
<codecConfiguration name="LC3_16k_2" codec="LC3" samplingFrequency="16000" frameDurationUs="10000" octetsPerCodecFrame="40"/>
|
||||||
|
<codecConfiguration name="LC3_24k_2" codec="LC3" samplingFrequency="24000" frameDurationUs="10000" octetsPerCodecFrame="60"/>
|
||||||
|
<codecConfiguration name="LC3_32k_2" codec="LC3" samplingFrequency="32000" frameDurationUs="10000" octetsPerCodecFrame="80"/>
|
||||||
|
<codecConfiguration name="LC3_48k_4" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="120"/>
|
||||||
|
</codecConfigurationList>
|
||||||
|
<strategyConfigurationList>
|
||||||
|
<strategyConfiguration name="STEREO_ONE_CIS_PER_DEVICE" audioLocation="STEREO" connectedDevice="2" channelCount="1"/>
|
||||||
|
<strategyConfiguration name="STEREO_TWO_CISES_PER_DEVICE" audioLocation="STEREO" connectedDevice="1" channelCount="2"/>
|
||||||
|
<strategyConfiguration name="MONO_ONE_CIS_PER_DEVICE" audioLocation="MONO" connectedDevice="1" channelCount="1"/>
|
||||||
|
</strategyConfigurationList>
|
||||||
|
</leAudioOffloadSetting>
|
|
@ -180,11 +180,6 @@
|
||||||
<!-- Type of the quick pickup sensor. Empty if quick pickup is not supported. -->
|
<!-- Type of the quick pickup sensor. Empty if quick pickup is not supported. -->
|
||||||
<string name="config_quickPickupSensorType" translatable="false">com.google.sensor.quick_pickup</string>
|
<string name="config_quickPickupSensorType" translatable="false">com.google.sensor.quick_pickup</string>
|
||||||
|
|
||||||
<!-- How long it takes for the HW to start illuminating after the illumination is requested.
|
|
||||||
It takes 3 frames to enable the Local High-Brightness Mode (LHBM), which at 120 Hz screen
|
|
||||||
refresh rate equates to a 25 ms delay. -->
|
|
||||||
<integer name="config_udfps_illumination_transition_ms">25</integer>
|
|
||||||
|
|
||||||
<!-- The max vibration strength allowed in audio haptic channels. -->
|
<!-- The max vibration strength allowed in audio haptic channels. -->
|
||||||
<item name="config_hapticChannelMaxVibrationAmplitude" format="float" type="dimen">0.335</item>
|
<item name="config_hapticChannelMaxVibrationAmplitude" format="float" type="dimen">0.335</item>
|
||||||
|
|
||||||
|
|
|
@ -181,12 +181,17 @@ else
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.bluetooth.bqr.event_mask=94
|
persist.bluetooth.bqr.event_mask=94
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Bluetooth LE Audio
|
# Bluetooth LE Audio
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
ro.bluetooth.leaudio_offload.supported=true \
|
ro.bluetooth.leaudio_offload.supported=true \
|
||||||
persist.bluetooth.leaudio_offload.disabled=false \
|
persist.bluetooth.leaudio_offload.disabled=false \
|
||||||
ro.bluetooth.leaudio_switcher.supported=true
|
ro.bluetooth.leaudio_switcher.supported=true
|
||||||
|
|
||||||
|
# LE Auido Offload Capabilities setting
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/pantah/bluetooth/cheetah/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
|
||||||
|
|
||||||
# Bluetooth EWP test tool
|
# Bluetooth EWP test tool
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
ewp_tool
|
ewp_tool
|
||||||
|
|
|
@ -202,11 +202,6 @@
|
||||||
<!-- Type of the quick pickup sensor. Empty if quick pickup is not supported. -->
|
<!-- Type of the quick pickup sensor. Empty if quick pickup is not supported. -->
|
||||||
<string name="config_quickPickupSensorType" translatable="false">com.google.sensor.quick_pickup</string>
|
<string name="config_quickPickupSensorType" translatable="false">com.google.sensor.quick_pickup</string>
|
||||||
|
|
||||||
<!-- How long it takes for the HW to start illuminating after the illumination is requested.
|
|
||||||
It takes 3 frames to enable the Local High-Brightness Mode (LHBM), which at 90 Hz screen
|
|
||||||
refresh rate equates to a 34 ms delay. -->
|
|
||||||
<integer name="config_udfps_illumination_transition_ms">34</integer>
|
|
||||||
|
|
||||||
<!-- The max vibration strength allowed in audio haptic channels. -->
|
<!-- The max vibration strength allowed in audio haptic channels. -->
|
||||||
<item name="config_hapticChannelMaxVibrationAmplitude" format="float" type="dimen">0.335</item>
|
<item name="config_hapticChannelMaxVibrationAmplitude" format="float" type="dimen">0.335</item>
|
||||||
|
|
||||||
|
|
|
@ -129,6 +129,10 @@
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"CdevRequest": "gxp-cooling",
|
||||||
|
"LimitInfo": [0, 0, 0, 0, 0, 9, 9]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -754,6 +758,11 @@
|
||||||
"Name":"tpu_cooling",
|
"Name":"tpu_cooling",
|
||||||
"Type":"NPU",
|
"Type":"NPU",
|
||||||
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"gxp-cooling",
|
||||||
|
"Type":"NPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"PowerRails":[
|
"PowerRails":[
|
||||||
|
|
|
@ -129,6 +129,10 @@
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"CdevRequest": "gxp-cooling",
|
||||||
|
"LimitInfo": [0, 0, 0, 0, 0, 9, 9]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -755,6 +759,11 @@
|
||||||
"Name":"tpu_cooling",
|
"Name":"tpu_cooling",
|
||||||
"Type":"NPU",
|
"Type":"NPU",
|
||||||
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"gxp-cooling",
|
||||||
|
"Type":"NPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"PowerRails":[
|
"PowerRails":[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue