Merge Android 14 QPR1

Merged-In: I3b4d08e3a3fd62a4887a518e9ad93294700693b3
Bug: 315507370
Change-Id: Idac49a7a1c71b017efadae2ea3d58422e9b41093
This commit is contained in:
Xin Li 2023-12-08 13:15:54 -08:00
commit ad5cc178e1
83 changed files with 22680 additions and 20595 deletions

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_husky.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_husky_fullmte

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_ripcurrent.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_ripcurrent_fullmte

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_shiba.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_shiba_fullmte

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2023 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPlatformConfiguration xmlns:xi="http://www.w3.org/2001/XInclude">
<features>
<feature name="ThermalThrottle">
<argument name="Type" value="SKIN" />
<argument name="Name" value="VIRTUAL-SKIN" />
</feature>
<feature name="BatteryThrottle">
<argument name="Type" value="BCL_VOLTAGE" />
<argument name="Name" value="BCL_AUDIO_BAACL" />
<argument name="Strategy" value="MediaSpeakerAndScreenOn" />
</feature>
<feature name="PlaybackThermalThrottle">
<argument name="PollWaitMs" value="20000" />
<argument name="ThermistorName" value="VIRTUAL-SKIN" />
<argument name="ThermistorType" value="SKIN" />
<argument name="ThrottlingSeverity" value="MODERATE" />
</feature>
<feature name="RuntimeTuningDump" />
</features>
<voipVolume>
<path voipDevice="VoipDevice::kUsb">
<gain>0.01</gain>
<gain>0.02</gain>
<gain>0.04</gain>
<gain>0.10</gain>
<gain>0.21</gain>
<gain>0.47</gain>
<gain>1.00</gain>
</path>
</voipVolume>
<devices>
<device name="bluetooth" />
<device name="usb">
<argument name="MaxSamplingRate" value="192000" />
<argument name="UnsupportedFormat" value="S24_LE" />
<argument name="MaxCapPacketInterval" value="125" />
<argument name="MaxCapSampleRate" value="192000" />
<argument name="MaxCapBitWidth" value="32" />
<argument name="MaxCapChannel" value="2" />
<argument name="EnableHifi192kMultichannel" value="0" />
</device>
<device name="speaker" codec="cs35l41">
<argument name="SpeakerNum" value="2" />
<argument name="Rotation" />
<argument name="AcousticShockProtection" />
</device>
</devices>
<tuners>
<tuner type="playback" name="waves">
<argument name="Sink" value="SPK" />
<argument name="ThermistorsName" value="VIRTUAL-SKIN" />
</tuner>
<tuner type="telephony" name="fortemedia">
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" />
<argument name="VoIP_Rate" value="32000" />
<argument name="BOOST_USB_SWB_CLK" value="y" />
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
</tuner>
<tuner type="capture" name="gs_capture" />
</tuners>
<latencies>
<latency source="primary-playback" sink="speaker" milliseconds="20" />
<latency source="primary-playback" sink="usb-device" milliseconds="10" />
<latency source="primary-playback" sink="usb-headset" milliseconds="10" />
<latency source="primary-playback" sink="bluetooth-a2dp-device" milliseconds="10" />
<latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="10" />
<latency source="deep-buffer-playback" sink="speaker" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-device" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-headset" milliseconds="70" />
<latency source="deep-buffer-playback" sink="bluetooth-a2dp-device" milliseconds="180" />
<latency source="compress-offload-playback" sink="speaker" milliseconds="40" />
<latency source="compress-offload-playback" sink="usb-device" milliseconds="40" />
<latency source="compress-offload-playback" sink="usb-headset" milliseconds="40" />
<latency source="compress-offload-playback" sink="bluetooth-a2dp-device" milliseconds="70" />
<latency source="immersive-playback" sink="bluetooth-a2dp-device" milliseconds="100" />
<latency source="microphones" sink="primary-capture" milliseconds="160" />
<latency source="back-microphones" sink="primary-capture" milliseconds="160" />
<latency source="bluetooth-sco-headset" sink="primary-capture" milliseconds="40" />
</latencies>
<spatialCapture>
<enablement useCase="primary-capture" deviceInterface="microphones">
<source>MIC</source>
<source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement>
<enablement useCase="primary-capture" deviceInterface="back-microphones">
<source>MIC</source>
<source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement>
</spatialCapture>
<xi:include href="audio_policy_volumes.xml" />
<xi:include href="default_volume_tables.xml" />
</audioPlatformConfiguration>

View file

@ -1,76 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2023, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<audio_platform_configuration>
<product_lists>
<product name="Blackbird">
<id value="18d1:5033" />
</product>
<product name="Condor">
<id value="18d1:5034" />
</product>
<product name="Condor_Sprint">
<id value="18d1:5038" />
</product>
<product name="Condor_Sprint2">
<id value="18d1:5036" />
</product>
</product_lists>
<features>
<feature name="ThermalThrottle=Type:SKIN,Name:VIRTUAL-SKIN" />
<feature
name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:MediaSpeakerAndScreenOn" />
<feature
name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN,ThermistorType:SKIN,ThrottlingSeverity:MODERATE" />
</features>
<!-- The voip_db_mapping: format is "device="x" value="f1,f2..." -->
<!-- device should be "handset","speaker","usb","bt","bt_hearing_aid" or "digital_dock" -->
<voip_db_mapping>
<voip_path device="usb" value="0.01,0.02,0.04,0.1,0.21,0.47,1.0" />
</voip_db_mapping>
<!-- The device_builder: format is "type="x" codec_name="y" argu="z". name and argu are optional. -->
<device_builder>
<device type="bt" />
<device type="usb" argu="MaxSamplingRate=192000,UnsupportedFormat=S24_LE,MaxCapPacketInterval=125,MaxCapSampleRate=192000,MaxCapBitWidth=32,MaxCapChannel=2,EnableHifi192kMultichannel=0" />
<device type="speaker" codec_name="cs35l41" argu="SpeakerNum=4,Rotation,AcousticShockProtection" />
</device_builder>
<!-- The spatial_capture_conditions: format is "use_case="x" audio_source="y" -->
<!-- use_case defines in aidl/audio/usecase/use_case.h, audio_source is definied in aidl interfaces. -->
<spatial_capture_conditions>
<conditions use_case="primary-capture" audio_source="MIC,CAMCORDER,VOICE_RECOGNITION" />
</spatial_capture_conditions>
<!-- The tuner_builder: format is "type="x" codec_name="y" argu="z". argu is optional. -->
<tuner_builder>
<tuner type="playback" name="waves" argu="Sink=SPK ThermistorsName=VIRTUAL-SKIN" />
<tuner type="telephony" name="fortemedia" argu="VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000 BOOST_USB_SWB_CLK=y CCA=y" />
<tuner type="capture" name="gs_capture" />
</tuner_builder>
</audio_platform_configuration>

View file

@ -1,215 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Speaker Safe</item>
<item>Earpiece</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
<item>Telephony Tx</item>
<item>Voice Call And Telephony Rx</item>
<item>Echo Ref In</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source"
flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
recommendedMuteDurationMs="40">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="compressed offload" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
<profile name="" format="AUDIO_FORMAT_MP3"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO" />
<profile name="" format="AUDIO_FORMAT_AAC_LC"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO" />
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO" />
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO" />
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voip_rx" role="source"
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<!-- <mixPort name="mmap playback" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="raw" role="source"
flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort> -->
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_INDEX_MASK_3" />
</mixPort>
<mixPort name="voip_tx" role="sink"
flags="AUDIO_INPUT_FLAG_VOIP_TX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO" />
</mixPort>
<mixPort name="fast input" role="sink"
flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort>
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="16000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort>
<mixPort name="hotword tap" role="sink" flags="AUDIO_INPUT_FLAG_HOTWORD_TAP">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="16000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort>
<mixPort name="hotword lookback" role="sink" flags="AUDIO_INPUT_FLAG_HOTWORD_TAP AUDIO_INPUT_FLAG_HW_LOOKBACK">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="16000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort>
<!-- <mixPort name="mmap capture" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort> -->
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink" />
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink" />
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink" />
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET"
role="sink" />
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE"
role="sink" />
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink" />
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET"
role="sink" />
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT"
role="sink" />
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink" />
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET"
role="sink" />
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink" />
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink" />
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source" />
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC"
role="source" />
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET"
role="source" />
<devicePort tagName="BT SCO Headset Mic"
type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source" />
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BT A2DP Headphones"
type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER"
role="sink"
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BT BLE Headset" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"
encodedFormats="AUDIO_FORMAT_LC3">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BT BLE Speaker" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"
encodedFormats="AUDIO_FORMAT_LC3">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BLE Headset Mic" type="AUDIO_DEVICE_IN_BLE_HEADSET"
role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source" />
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET"
role="source" />
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same
value -->
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL"
role="source" />
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE"
role="source" />
</devicePorts>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,voip_rx,compressed offload" />
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,voip_rx,compressed offload" />
<route type="mix" sink="Telephony Tx" sources="incall playback" />
<route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic" />
<route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic" />
<route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic" />
<route type="mix" sink="hotword input" sources="Built-In Mic" />
<route type="mix" sink="hotword tap" sources="Built-In Mic" />
<route type="mix" sink="hotword lookback" sources="Built-In Mic" />
</routes>
</module>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="audio_policy_volumes.xml" />
<xi:include href="default_volume_tables.xml" />
<!-- End of Volume section -->
</audioPolicyConfiguration>

View file

@ -79,8 +79,8 @@
<!-- Cirrus Booster Amp Output Gain -->
<ctl name="AMP PCM Gain" value="17" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="Digital PCM Volume" value="0" />
<ctl name="R Digital PCM Volume" value="0" />
<!-- Cirrus Booster Amp Power -->
<ctl name="Main AMP Enable Switch" value="0" />
@ -97,6 +97,8 @@
<ctl name="R DSP RX2 Source" value="ASPRX1" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="PCM Soft Ramp" value=".5ms" />
<ctl name="R PCM Soft Ramp" value=".5ms" />
<!-- Cirrus ASP TX source -->
<ctl name="ASP TX1 Source" value="VMON" />
@ -315,6 +317,7 @@
<ctl name="Decoder Reference Enable" value="0" />
<ctl name="LVM Enable" value="0" />
<ctl name="AoC Chirp Enable" value="0" />
<!-- sidetone dynamic control -->
<path name="sidetone-for handset">
<!-- 1065353216 = 0x3f800000 = 1.0 -->
@ -374,10 +377,46 @@
<ctl name="BT_RX Mixer EP2" value="1" />
</path>
<path name="primary-playback -> usb-headset">
<path name="primary-playback-0 -> bt">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-a2dp-device">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-a2dp-headphone">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-a2dp-speaker">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-sco-default">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-sco-headset">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-sco-car-kit">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> usb">
<ctl name="USB_RX Mixer EP2" value="1" />
</path>
<path name="primary-playback-0 -> usb-headset">
<path name="primary-playback-0 -> usb" />
</path>
<path name="primary-playback-0 -> usb-device">
<path name="primary-playback-0 -> usb" />
</path>
<path name="raw-playback -> speaker">
<ctl name="TDM_0_RX Mixer RAW" value="1" />
</path>
@ -398,10 +437,46 @@
<ctl name="BT_RX Mixer RAW" value="1" />
</path>
<path name="raw-playback -> usb-headset">
<path name="raw-playback-0 -> bt">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-a2dp-device">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-a2dp-headphone">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-a2dp-speaker">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-sco-default">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-sco-headset">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-sco-car-kit">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> usb">
<ctl name="USB_RX Mixer RAW" value="1" />
</path>
<path name="raw-playback-0 -> usb-headset">
<path name="raw-playback-0 -> usb" />
</path>
<path name="raw-playback-0 -> usb-device">
<path name="raw-playback-0 -> usb" />
</path>
<path name="deep-buffer-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP6" value="1" />
</path>
@ -422,10 +497,46 @@
<ctl name="BT_RX Mixer EP6" value="1" />
</path>
<path name="deep-buffer-playback -> usb-headset">
<path name="deep-buffer-playback-0 -> bt">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-a2dp-device">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-a2dp-headphone">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-a2dp-speaker">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-sco-default">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-sco-headset">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-sco-car-kit">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> usb">
<ctl name="USB_RX Mixer EP6" value="1" />
</path>
<path name="deep-buffer-playback-0 -> usb-headset">
<path name="deep-buffer-playback-0 -> usb" />
</path>
<path name="deep-buffer-playback-0 -> usb-device">
<path name="deep-buffer-playback-0 -> usb" />
</path>
<path name="compress-offload-playback">
<ctl name="LVM Enable" value="1" />
</path>
@ -451,10 +562,46 @@
<ctl name="BT_RX Mixer EP7" value="1" />
</path>
<path name="compress-offload-playback -> usb-headset">
<path name="compress-offload-playback-0 -> bt">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-a2dp-device">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-a2dp-headphone">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-a2dp-speaker">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-sco-default">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-sco-headset">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-sco-car-kit">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP7" value="1" />
</path>
<path name="compress-offload-playback-0 -> usb-headset">
<path name="compress-offload-playback-0 -> usb" />
</path>
<path name="compress-offload-playback-0 -> usb-device">
<path name="compress-offload-playback-0 -> usb" />
</path>
<path name="mmap-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP1" value="1" />
</path>
@ -475,14 +622,58 @@
<ctl name="BT_RX Mixer EP1" value="1" />
</path>
<path name="mmap-playback -> usb-headset">
<path name="mmap-playback-0 -> bt">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-a2dp-device">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-a2dp-headphone">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-a2dp-speaker">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-sco-default">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-sco-headset">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-sco-car-kit">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> usb">
<ctl name="USB_RX Mixer EP1" value="1" />
</path>
<path name="hifi-playback -> usb-headset">
<path name="mmap-playback-0 -> usb-headset">
<path name="mmap-playback-0 -> usb" />
</path>
<path name="mmap-playback-0 -> usb-device">
<path name="mmap-playback-0 -> usb" />
</path>
<path name="hifi-playback-0 -> usb">
<ctl name="USB_RX Mixer HIFI" value="1" />
</path>
<path name="hifi-playback-0 -> usb-headset">
<path name="hifi-playback-0 -> usb" />
</path>
<path name="hifi-playback-0 -> usb-device">
<path name="hifi-playback-0 -> usb" />
</path>
<path name="voip-playback -> speaker">
<ctl name="TDM_0_RX Mixer VOIP" value="1" />
</path>
@ -503,10 +694,46 @@
<ctl name="BT_RX Mixer VOIP" value="1" />
</path>
<path name="voip-playback -> usb-headset">
<path name="voip-playback-0 -> bt">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-a2dp-device">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-a2dp-headphone">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-a2dp-speaker">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-sco-default">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-sco-headset">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-sco-car-kit">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> usb">
<ctl name="USB_RX Mixer VOIP" value="1" />
</path>
<path name="voip-playback-0 -> usb-headset">
<path name="voip-playback-0 -> usb" />
</path>
<path name="voip-playback-0 -> usb-device">
<path name="voip-playback-0 -> usb" />
</path>
<path name="immersive-playback -> speaker">
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
</path>
@ -527,10 +754,34 @@
<ctl name="BT_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback -> usb-headset">
<path name="immersive-playback-0 -> bt">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-device">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-headphone">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-speaker">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> usb">
<ctl name="USB_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> usb-headset">
<path name="immersive-playback-0 -> usb" />
</path>
<path name="immersive-playback-0 -> usb-device">
<path name="immersive-playback-0 -> usb" />
</path>
<path name="haptic-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP3" value="1" />
<ctl name="TDM_0_RX Mixer EP8" value="1" />
@ -553,11 +804,47 @@
<ctl name="TDM_0_RX Mixer EP8" value="1" />
</path>
<path name="haptic-playback -> usb-headset">
<path name="haptic-playback-0 -> bt">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-a2dp-device">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-a2dp-headphone">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-a2dp-speaker">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-sco-default">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-sco-headset">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-sco-car-kit">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> usb">
<ctl name="USB_RX Mixer EP3" value="1" />
<ctl name="TDM_0_RX Mixer EP8" value="1" />
</path>
<path name="haptic-playback-0 -> usb-headset">
<path name="haptic-playback-0 -> usb" />
</path>
<path name="haptic-playback-0 -> usb-device">
<path name="haptic-playback-0 -> usb" />
</path>
<!-- audio capture dynamic route -->
<path name="microphones -> primary-capture-0">
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
@ -567,10 +854,18 @@
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> primary-capture-0">
<path name="usb-microphones -> primary-capture-0">
<ctl name="EP1 TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> primary-capture-0">
<path name="usb-microphones -> primary-capture-0" />
</path>
<path name="usb-device-microphones -> primary-capture-0">
<path name="usb-microphones -> primary-capture-0" />
</path>
<path name="microphones -> voip-capture-0">
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
@ -579,11 +874,19 @@
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> voip-capture-0">
<path name="usb-microphones -> voip-capture-0">
<ctl name="VOIP TX Mixer USB_TX" value="1" />
</path>
<path name="bt-mic -> voip-capture-0">
<path name="usb-headset-microphones -> voip-capture-0">
<path name="usb-microphones -> voip-capture-0" />
</path>
<path name="usb-device-microphones -> voip-capture-0">
<path name="usb-microphones -> voip-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> voip-capture-0">
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
@ -595,11 +898,19 @@
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> fast-capture-0">
<path name="usb-microphones -> fast-capture-0">
<ctl name="EP3 TX Mixer USB_TX" value="1" />
</path>
<path name="bt-mic -> fast-capture-0">
<path name="usb-headset-microphones -> fast-capture-0">
<path name="usb-microphones -> fast-capture-0" />
</path>
<path name="usb-device-microphones -> fast-capture-0">
<path name="usb-microphones -> fast-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> fast-capture-0">
<ctl name="EP3 TX Mixer BT_TX" value="1" />
</path>
@ -625,10 +936,30 @@
<ctl name="BT_RX Mixer EP5" value="1" />
</path>
<path name="voice-call-downlink-0 -> usb-headphone">
<path name="voice-call-downlink-0 -> bluetooth-sco-default">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> bluetooth-sco-headset">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> bluetooth-sco-car-kit">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> usb">
<ctl name="USB_RX Mixer EP5" value="1" />
</path>
<path name="voice-call-downlink-0 -> usb-headset">
<path name="voice-call-downlink-0 -> usb" />
</path>
<path name="voice-call-downlink-0 -> usb-device">
<path name="voice-call-downlink-0 -> usb" />
</path>
<path name="voice-call-downlink-0 -> null-sink">
<ctl name="INCALL_RX Mixer EP5" value="1" />
</path>
@ -641,11 +972,19 @@
<ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> voice-call-uplink-0">
<path name="usb-microphones -> voice-call-uplink-0">
<ctl name="EP4 TX Mixer USB_TX" value="1" />
</path>
<path name="bt-mic -> voice-call-uplink-0">
<path name="usb-headset-microphones -> voice-call-uplink-0">
<path name="usb-microphones -> voice-call-uplink-0" />
</path>
<path name="usb-device-microphones -> voice-call-uplink-0">
<path name="usb-microphones -> voice-call-uplink-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> voice-call-uplink-0">
<ctl name="EP4 TX Mixer BT_TX" value="1" />
</path>
@ -657,19 +996,59 @@
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="telephony-rx -> in-call-capture-0" />
<path name="telephony-rx -> in-call-capture-1" />
<path name="telephony-rx -> in-call-capture-2" />
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="UL_DL" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="UL_DL" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="UL_DL" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<path name="bt-mic -> mmap-capture-0">
<path name="usb-headset-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="usb-device-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
@ -682,15 +1061,13 @@
</path>
<path name="speaker-earpiece (VOICE)">
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="PCM Source" value="ASP" />
<ctl name="AMP PCM Gain" value="7" />
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="AoC Chirp Enable" value="1" />
</path>
<path name="speaker">
<ctl name="Boost Peak Current Limit" value="2.50A" />
<ctl name="R Boost Peak Current Limit" value="2.50A" />
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
@ -700,8 +1077,6 @@
</path>
<path name="speaker (VOICE)">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="ASPTX1 Slot Position" value="1" />
<ctl name="R ASPTX1 Slot Position" value="0" />
<!--<ctl name="R DSP RX2 Source" value="ASPRX2" />-->
@ -712,11 +1087,9 @@
<ctl name="Fast Use Case Switch Enable" value="1" />
<ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
<ctl name="R Fast Use Case Switch Enable" value="1" />
<ctl name="Digital PCM Volume" value="800" />
</path>
<path name="speaker-safe">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="R Main AMP Enable Switch" value="1" />
<!-- load Bypass FIR -->
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
@ -758,6 +1131,17 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (SOUND_TRIGGER_AEC)">
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="Audio Capture Mic Source" value="ERASER" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="back-microphones">
<ctl name="Mic Spatial Module Enable" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
@ -778,8 +1162,7 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="camcorder-mic">
<ctl name="Mic Spatial Module Enable" value="1" />
<path name="microphones (CAMCORDER)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@ -788,14 +1171,17 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="voice-recog-aec-mic">
<ctl name="Audio Capture Eraser Enable" value="1" />
<path name="back-microphones (CAMCORDER)">
<path name="microphones (CAMCORDER)" />
</path>
<path name="camcorder-mic">
<ctl name="Mic Spatial Module Enable" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="Audio Capture Mic Source" value="ERASER" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
@ -826,7 +1212,7 @@
<ctl name="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="bt-mic">
<path name="bluetooth-sco-headset-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@ -836,7 +1222,7 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="usb-headset-mic">
<path name="usb-headset-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@ -861,4 +1247,68 @@
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c end-->
<!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc -->
<!-- Which is controlled by speaker module and path name format is fixed. -->
<!-- Path name format: adapted-{type}{-battery-throttled}{-acoustic-shock} -->
<!-- Battery throttle and acoustic shock are disabled: "adapted-speaker" -->
<!-- Battery throttle enabled: "adapted-speaker-battery-throttled" -->
<!-- Acoustic shock enabled: "adapted-speaker-acoustic-shock" -->
<!-- Both are enabled: "adapted-speaker-battery-throttled-acoustic-shock" -->
<path name="adapted-speaker">
<ctl name="Boost Peak Current Limit" value="2.50A" />
<ctl name="R Boost Peak Current Limit" value="2.50A" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-speaker-battery-throttled">
<ctl name="Boost Peak Current Limit" value="1.80A" />
<ctl name="R Boost Peak Current Limit" value="1.80A" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-speaker-safe">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-speaker-safe-battery-throttled">
<path name="adapted-speaker-safe" />
</path>
<path name="adapted-earpiece">
<ctl name="Digital PCM Volume" value="817" />
</path>
<path name="adapted-earpiece-battery-throttled">
<path name="adapted-earpiece" />
</path>
<path name="adapted-voice-speaker">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="Digital PCM Volume" value="800" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-voice-speaker-battery-throttled">
<path name="adapted-voice-speaker" />
</path>
<path name="adapted-voice-speaker-acoustic-shock">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="PCM Soft Ramp" value="2ms" />
<ctl name="Digital PCM Volume" value="0" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-voice-speaker-battery-throttled-acoustic-shock">
<path name="adapted-voice-speaker-acoustic-shock" />
</path>
<path name="adapted-voice-earpiece">
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="Digital PCM Volume" value="817" />
</path>
<path name="adapted-voice-earpiece-battery-throttled">
<path name="adapted-voice-earpiece" />
</path>
<!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc end -->
</mixer>

View file

@ -21,8 +21,7 @@ AUDIO_TABLE_FOLDER := husky
ifeq ($(BUILD_AUDIO_AIDL_VERSION),true)
PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration_aidl.xml \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/mixer_paths_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_aidl.xml
else

View file

@ -300,13 +300,14 @@
<device_handle>
<handler libname="audio_bt_aoc.so"/>
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=192000,UnsupportedFormat=S24_LE,MaxCapPacketInterval=125,MaxCapSampleRate=192000,MaxCapBitWidth=32,MaxCapChannel=2,EnableHifi192kMultichannel=0"/>
<handler libname="audio_hdmi_aoc.so"/>
</device_handle>
<external_module>
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN-SPEAKER"/>
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl"/>
<module libname="audio_fortemedia_aoc.so" argu="BOOST_HANDSET_SWB_CLK=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
<module libname="audio_fortemedia_aoc.so" argu="MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
<module libname="liboffloadeffect.so"/>
<module libname="audio_amcs_ext.so"/>
<module libname="audio_bluenote_aoc.so"/>

View file

@ -149,7 +149,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -228,6 +228,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -149,7 +149,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -184,6 +184,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -145,7 +145,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -180,6 +180,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -149,7 +149,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -205,6 +205,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -687,6 +687,12 @@
<ctl name="R Fast Use Case Switch Enable" value="1" /-->
</path>
<path name="hdmi">
</path>
<path name="hdmi-post">
</path>
<path name="voice-speaker">
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
<ctl name="Boost Peak Current Limit" value="3.50A"/>

View file

@ -3,7 +3,7 @@
#EXPORT_FLAG BLUETOOTH
#PARAM_MODE FULL
#SAVE_MODE 3
#SAVE_TIME 2023-07-06 16:40:03
#SAVE_TIME 2023-09-14 20:13:28
#CASE_NAME BLUETOOTH-BT_HAC-VOICE_GENERIC-NB
#PARAM_TYPE TX+2RX
@ -535,8 +535,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -3230,8 +3230,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -5925,8 +5925,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -8620,8 +8620,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -11315,8 +11315,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -14010,8 +14010,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -16705,8 +16705,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -19400,8 +19400,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -22095,8 +22095,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -24790,8 +24790,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -27485,8 +27485,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -30180,8 +30180,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -32875,8 +32875,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -35570,8 +35570,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -38265,8 +38265,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -40960,8 +40960,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -43655,8 +43655,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -46350,8 +46350,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -49045,8 +49045,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -51740,8 +51740,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -54435,8 +54435,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -57130,8 +57130,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -59825,8 +59825,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -62520,8 +62520,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -65215,8 +65215,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -67910,8 +67910,8 @@
523 0x0000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR

View file

@ -3,7 +3,7 @@
#EXPORT_FLAG HANDSET
#PARAM_MODE FULL
#SAVE_MODE 3
#SAVE_TIME 2023-08-28 11:13:37
#SAVE_TIME 2023-09-14 20:10:18
#CASE_NAME HANDSET-HANDSET-VOICE_GENERIC-NB
#PARAM_TYPE TX+2RX
@ -535,8 +535,8 @@
523 0x6000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -3230,8 +3230,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -5925,8 +5925,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -8620,8 +8620,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -11315,8 +11315,8 @@
523 0x6000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -14010,8 +14010,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -16705,8 +16705,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -19400,8 +19400,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -22095,8 +22095,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -24790,8 +24790,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -27485,8 +27485,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -30180,8 +30180,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -32875,8 +32875,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -35570,8 +35570,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -38265,8 +38265,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -40960,8 +40960,8 @@
523 0x6000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -43655,8 +43655,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -46350,8 +46350,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -49045,8 +49045,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -51740,8 +51740,8 @@
523 0x6000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -54435,8 +54435,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -57130,8 +57130,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -59825,8 +59825,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -62520,8 +62520,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR

View file

@ -3,7 +3,7 @@
#EXPORT_FLAG HANDSFREE
#PARAM_MODE FULL
#SAVE_MODE 3
#SAVE_TIME 2023-07-05 18:50:05
#SAVE_TIME 2023-09-14 20:13:51
#CASE_NAME HANDSFREE-HANDSFREE-VOICE_GENERIC-NB
#PARAM_TYPE TX+2RX
@ -535,8 +535,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -3230,8 +3230,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -5925,8 +5925,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -8620,8 +8620,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -11315,8 +11315,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -14010,8 +14010,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -16705,8 +16705,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -19400,8 +19400,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -22095,8 +22095,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -24790,8 +24790,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -27485,8 +27485,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR

View file

@ -3,7 +3,7 @@
#EXPORT_FLAG HEADSET
#PARAM_MODE FULL
#SAVE_MODE 3
#SAVE_TIME 2023-07-14 14:37:27
#SAVE_TIME 2023-09-14 20:13:07
#CASE_NAME HEADSET-USB_BLACKBIRD-VOICE_GENERIC-NB
#PARAM_TYPE TX+2RX
@ -535,8 +535,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -3230,8 +3230,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -5925,8 +5925,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -8620,8 +8620,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -11315,8 +11315,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -14010,8 +14010,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -16705,8 +16705,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -19400,8 +19400,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -22095,8 +22095,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -24790,8 +24790,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -27485,8 +27485,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -30180,8 +30180,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -32875,8 +32875,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -35570,8 +35570,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -38265,8 +38265,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -40960,8 +40960,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -43655,8 +43655,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -46350,8 +46350,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -49045,8 +49045,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -51740,8 +51740,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -54435,8 +54435,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -57130,8 +57130,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -59825,8 +59825,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -62520,8 +62520,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -65215,8 +65215,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -67910,8 +67910,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -70605,8 +70605,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -73300,8 +73300,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -75995,8 +75995,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -78690,8 +78690,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -81385,8 +81385,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -84080,8 +84080,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -86775,8 +86775,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -89470,8 +89470,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -92165,8 +92165,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -94860,8 +94860,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -97555,8 +97555,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -100250,8 +100250,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -102945,8 +102945,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -105640,8 +105640,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR

View file

@ -295,6 +295,7 @@
<device_handle>
<handler libname="audio_bt_aoc.so"/>
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=192000,UnsupportedFormat=S24_LE,MaxCapPacketInterval=125,MaxCapSampleRate=192000,MaxCapBitWidth=32,MaxCapChannel=2,EnableHifi192kMultichannel=0"/>
<handler libname="audio_hdmi_aoc.so"/>
</device_handle>
<external_module>

View file

@ -148,7 +148,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -227,6 +227,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -148,7 +148,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -183,6 +183,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -144,7 +144,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -179,6 +179,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -148,7 +148,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -204,6 +204,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -700,6 +700,12 @@
<ctl name="R Main AMP Enable Switch" value="1"/>
</path>
<path name="hdmi">
</path>
<path name="hdmi-post">
</path>
<path name="speaker-safe">
<ctl name="R Main AMP Enable Switch" value="1"/>
</path>

View file

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2023 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPlatformConfiguration xmlns:xi="http://www.w3.org/2001/XInclude">
<features>
<feature name="ThermalThrottle">
<argument name="Type" value="SKIN" />
<argument name="Name" value="VIRTUAL-SKIN" />
</feature>
<feature name="BatteryThrottle">
<argument name="Type" value="BCL_VOLTAGE" />
<argument name="Name" value="BCL_AUDIO_BAACL" />
<argument name="Strategy" value="MediaSpeakerAndScreenOn" />
</feature>
<feature name="PlaybackThermalThrottle">
<argument name="PollWaitMs" value="20000" />
<argument name="ThermistorName" value="VIRTUAL-SKIN" />
<argument name="ThermistorType" value="SKIN" />
<argument name="ThrottlingSeverity" value="MODERATE" />
</feature>
<feature name="RuntimeTuningDump" />
</features>
<voipVolume>
<path voipDevice="VoipDevice::kUsb">
<gain>0.01</gain>
<gain>0.02</gain>
<gain>0.04</gain>
<gain>0.10</gain>
<gain>0.21</gain>
<gain>0.47</gain>
<gain>1.00</gain>
</path>
</voipVolume>
<devices>
<device name="bluetooth" />
<device name="usb">
<argument name="MaxSamplingRate" value="192000" />
<argument name="UnsupportedFormat" value="S24_LE" />
<argument name="MaxCapPacketInterval" value="125" />
<argument name="MaxCapSampleRate" value="192000" />
<argument name="MaxCapBitWidth" value="32" />
<argument name="MaxCapChannel" value="2" />
<argument name="EnableHifi192kMultichannel" value="0" />
</device>
<device name="speaker" codec="cs35l41">
<argument name="SpeakerNum" value="2" />
<argument name="Rotation" />
<argument name="AcousticShockProtection" />
</device>
</devices>
<tuners>
<tuner type="playback" name="waves">
<argument name="Sink" value="SPK" />
<argument name="ThermistorsName" value="VIRTUAL-SKIN" />
</tuner>
<tuner type="telephony" name="fortemedia">
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" />
<argument name="VoIP_Rate" value="32000" />
<argument name="BOOST_USB_SWB_CLK" value="y" />
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
</tuner>
<tuner type="capture" name="gs_capture" />
</tuners>
<latencies>
<latency source="primary-playback" sink="speaker" milliseconds="20" />
<latency source="primary-playback" sink="usb-device" milliseconds="10" />
<latency source="primary-playback" sink="usb-headset" milliseconds="10" />
<latency source="primary-playback" sink="bluetooth-a2dp-device" milliseconds="10" />
<latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="10" />
<latency source="deep-buffer-playback" sink="speaker" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-device" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-headset" milliseconds="70" />
<latency source="deep-buffer-playback" sink="bluetooth-a2dp-device" milliseconds="180" />
<latency source="compress-offload-playback" sink="speaker" milliseconds="40" />
<latency source="compress-offload-playback" sink="usb-device" milliseconds="40" />
<latency source="compress-offload-playback" sink="usb-headset" milliseconds="40" />
<latency source="compress-offload-playback" sink="bluetooth-a2dp-device" milliseconds="70" />
<latency source="immersive-playback" sink="bluetooth-a2dp-device" milliseconds="100" />
<latency source="microphones" sink="primary-capture" milliseconds="160" />
<latency source="back-microphones" sink="primary-capture" milliseconds="160" />
<latency source="bluetooth-sco-headset" sink="primary-capture" milliseconds="40" />
</latencies>
<spatialCapture>
<enablement useCase="primary-capture" deviceInterface="microphones">
<source>MIC</source>
<source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement>
<enablement useCase="primary-capture" deviceInterface="back-microphones">
<source>MIC</source>
<source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement>
</spatialCapture>
<xi:include href="audio_policy_volumes.xml" />
<xi:include href="default_volume_tables.xml" />
</audioPlatformConfiguration>

View file

@ -1,76 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2023, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<audio_platform_configuration>
<product_lists>
<product name="Blackbird">
<id value="18d1:5033" />
</product>
<product name="Condor">
<id value="18d1:5034" />
</product>
<product name="Condor_Sprint">
<id value="18d1:5038" />
</product>
<product name="Condor_Sprint2">
<id value="18d1:5036" />
</product>
</product_lists>
<features>
<feature name="ThermalThrottle=Type:SKIN,Name:VIRTUAL-SKIN" />
<feature
name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:MediaSpeakerAndScreenOn" />
<feature
name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN,ThermistorType:SKIN,ThrottlingSeverity:MODERATE" />
</features>
<!-- The voip_db_mapping: format is "device="x" value="f1,f2..." -->
<!-- device should be "handset","speaker","usb","bt","bt_hearing_aid" or "digital_dock" -->
<voip_db_mapping>
<voip_path device="usb" value="0.01,0.02,0.04,0.1,0.21,0.47,1.0" />
</voip_db_mapping>
<!-- The device_builder: format is "type="x" codec_name="y" argu="z". name and argu are optional. -->
<device_builder>
<device type="bt" />
<device type="usb" argu="MaxSamplingRate=192000,UnsupportedFormat=S24_LE,MaxCapPacketInterval=125,MaxCapSampleRate=192000,MaxCapBitWidth=32,MaxCapChannel=2,EnableHifi192kMultichannel=0" />
<device type="speaker" codec_name="cs35l41" argu="SpeakerNum=4,Rotation,AcousticShockProtection" />
</device_builder>
<!-- The spatial_capture_conditions: format is "use_case="x" audio_source="y" -->
<!-- use_case defines in aidl/audio/usecase/use_case.h, audio_source is definied in aidl interfaces. -->
<spatial_capture_conditions>
<conditions use_case="primary-capture" audio_source="MIC,CAMCORDER,VOICE_RECOGNITION" />
</spatial_capture_conditions>
<!-- The tuner_builder: format is "type="x" codec_name="y" argu="z". argu is optional. -->
<tuner_builder>
<tuner type="playback" name="waves" argu="Sink=SPK ThermistorsName=VIRTUAL-SKIN" />
<tuner type="telephony" name="fortemedia" argu="VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000 BOOST_USB_SWB_CLK=y CCA=y" />
<tuner type="capture" name="gs_capture" />
</tuner_builder>
</audio_platform_configuration>

View file

@ -1,215 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2020 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
<modules>
<!-- Primary Audio HAL -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Speaker Safe</item>
<item>Earpiece</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
<item>Telephony Tx</item>
<item>Voice Call And Telephony Rx</item>
<item>Echo Ref In</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source"
flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
recommendedMuteDurationMs="40">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="compressed offload" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
<profile name="" format="AUDIO_FORMAT_MP3"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO" />
<profile name="" format="AUDIO_FORMAT_AAC_LC"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO" />
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO" />
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
samplingRates="8000 16000 24000 32000 44100 48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO" />
</mixPort>
<mixPort name="haptic" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="incall playback" role="source"
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="voip_rx" role="source"
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<!-- <mixPort name="mmap playback" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort>
<mixPort name="raw" role="source"
flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</mixPort> -->
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_INDEX_MASK_3" />
</mixPort>
<mixPort name="voip_tx" role="sink"
flags="AUDIO_INPUT_FLAG_VOIP_TX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO" />
</mixPort>
<mixPort name="fast input" role="sink"
flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort>
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="16000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort>
<mixPort name="hotword tap" role="sink" flags="AUDIO_INPUT_FLAG_HOTWORD_TAP">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="16000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort>
<mixPort name="hotword lookback" role="sink" flags="AUDIO_INPUT_FLAG_HOTWORD_TAP AUDIO_INPUT_FLAG_HW_LOOKBACK">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="16000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort>
<!-- <mixPort name="mmap capture" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
samplingRates="48000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO" />
</mixPort> -->
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink" />
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink" />
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink" />
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET"
role="sink" />
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE"
role="sink" />
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink" />
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET"
role="sink" />
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT"
role="sink" />
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink" />
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET"
role="sink" />
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink" />
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink" />
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source" />
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC"
role="source" />
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET"
role="source" />
<devicePort tagName="BT SCO Headset Mic"
type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source" />
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BT A2DP Headphones"
type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER"
role="sink"
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BT BLE Headset" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"
encodedFormats="AUDIO_FORMAT_LC3">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BT BLE Speaker" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"
encodedFormats="AUDIO_FORMAT_LC3">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
</devicePort>
<devicePort tagName="BLE Headset Mic" type="AUDIO_DEVICE_IN_BLE_HEADSET"
role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source" />
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET"
role="source" />
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same
value -->
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL"
role="source" />
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE"
role="source" />
</devicePorts>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,voip_rx,compressed offload" />
<route type="mix" sink="Speaker"
sources="primary output,deep buffer,haptic,voip_rx,compressed offload" />
<route type="mix" sink="Telephony Tx" sources="incall playback" />
<route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic" />
<route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic" />
<route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic" />
<route type="mix" sink="hotword input" sources="Built-In Mic" />
<route type="mix" sink="hotword tap" sources="Built-In Mic" />
<route type="mix" sink="hotword lookback" sources="Built-In Mic" />
</routes>
</module>
</modules>
<!-- End of Modules section -->
<!-- Volume section -->
<xi:include href="audio_policy_volumes.xml" />
<xi:include href="default_volume_tables.xml" />
<!-- End of Volume section -->
</audioPolicyConfiguration>

View file

@ -79,8 +79,8 @@
<!-- Cirrus Booster Amp Output Gain -->
<ctl name="AMP PCM Gain" value="17" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="Digital PCM Volume" value="0" />
<ctl name="R Digital PCM Volume" value="0" />
<!-- Cirrus Booster Amp Power -->
<ctl name="Main AMP Enable Switch" value="0" />
@ -97,6 +97,8 @@
<ctl name="R DSP RX2 Source" value="ASPRX1" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="PCM Soft Ramp" value=".5ms" />
<ctl name="R PCM Soft Ramp" value=".5ms" />
<!-- Cirrus ASP TX source -->
<ctl name="ASP TX1 Source" value="VMON" />
@ -315,6 +317,7 @@
<ctl name="Decoder Reference Enable" value="0" />
<ctl name="LVM Enable" value="0" />
<ctl name="AoC Chirp Enable" value="0" />
<!-- sidetone dynamic control -->
<path name="sidetone-for handset">
<!-- 1065353216 = 0x3f800000 = 1.0 -->
@ -374,10 +377,46 @@
<ctl name="BT_RX Mixer EP2" value="1" />
</path>
<path name="primary-playback -> usb-headset">
<path name="primary-playback-0 -> bt">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-a2dp-device">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-a2dp-headphone">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-a2dp-speaker">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-sco-default">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-sco-headset">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> bluetooth-sco-car-kit">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> usb">
<ctl name="USB_RX Mixer EP2" value="1" />
</path>
<path name="primary-playback-0 -> usb-headset">
<path name="primary-playback-0 -> usb" />
</path>
<path name="primary-playback-0 -> usb-device">
<path name="primary-playback-0 -> usb" />
</path>
<path name="raw-playback -> speaker">
<ctl name="TDM_0_RX Mixer RAW" value="1" />
</path>
@ -398,10 +437,46 @@
<ctl name="BT_RX Mixer RAW" value="1" />
</path>
<path name="raw-playback -> usb-headset">
<path name="raw-playback-0 -> bt">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-a2dp-device">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-a2dp-headphone">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-a2dp-speaker">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-sco-default">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-sco-headset">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> bluetooth-sco-car-kit">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> usb">
<ctl name="USB_RX Mixer RAW" value="1" />
</path>
<path name="raw-playback-0 -> usb-headset">
<path name="raw-playback-0 -> usb" />
</path>
<path name="raw-playback-0 -> usb-device">
<path name="raw-playback-0 -> usb" />
</path>
<path name="deep-buffer-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP6" value="1" />
</path>
@ -422,10 +497,46 @@
<ctl name="BT_RX Mixer EP6" value="1" />
</path>
<path name="deep-buffer-playback -> usb-headset">
<path name="deep-buffer-playback-0 -> bt">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-a2dp-device">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-a2dp-headphone">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-a2dp-speaker">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-sco-default">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-sco-headset">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> bluetooth-sco-car-kit">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> usb">
<ctl name="USB_RX Mixer EP6" value="1" />
</path>
<path name="deep-buffer-playback-0 -> usb-headset">
<path name="deep-buffer-playback-0 -> usb" />
</path>
<path name="deep-buffer-playback-0 -> usb-device">
<path name="deep-buffer-playback-0 -> usb" />
</path>
<path name="compress-offload-playback">
<ctl name="LVM Enable" value="1" />
</path>
@ -451,10 +562,46 @@
<ctl name="BT_RX Mixer EP7" value="1" />
</path>
<path name="compress-offload-playback -> usb-headset">
<path name="compress-offload-playback-0 -> bt">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-a2dp-device">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-a2dp-headphone">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-a2dp-speaker">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-sco-default">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-sco-headset">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> bluetooth-sco-car-kit">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP7" value="1" />
</path>
<path name="compress-offload-playback-0 -> usb-headset">
<path name="compress-offload-playback-0 -> usb" />
</path>
<path name="compress-offload-playback-0 -> usb-device">
<path name="compress-offload-playback-0 -> usb" />
</path>
<path name="mmap-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP1" value="1" />
</path>
@ -475,14 +622,58 @@
<ctl name="BT_RX Mixer EP1" value="1" />
</path>
<path name="mmap-playback -> usb-headset">
<path name="mmap-playback-0 -> bt">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-a2dp-device">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-a2dp-headphone">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-a2dp-speaker">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-sco-default">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-sco-headset">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> bluetooth-sco-car-kit">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> usb">
<ctl name="USB_RX Mixer EP1" value="1" />
</path>
<path name="hifi-playback -> usb-headset">
<path name="mmap-playback-0 -> usb-headset">
<path name="mmap-playback-0 -> usb" />
</path>
<path name="mmap-playback-0 -> usb-device">
<path name="mmap-playback-0 -> usb" />
</path>
<path name="hifi-playback-0 -> usb">
<ctl name="USB_RX Mixer HIFI" value="1" />
</path>
<path name="hifi-playback-0 -> usb-headset">
<path name="hifi-playback-0 -> usb" />
</path>
<path name="hifi-playback-0 -> usb-device">
<path name="hifi-playback-0 -> usb" />
</path>
<path name="voip-playback -> speaker">
<ctl name="TDM_0_RX Mixer VOIP" value="1" />
</path>
@ -503,10 +694,46 @@
<ctl name="BT_RX Mixer VOIP" value="1" />
</path>
<path name="voip-playback -> usb-headset">
<path name="voip-playback-0 -> bt">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-a2dp-device">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-a2dp-headphone">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-a2dp-speaker">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-sco-default">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-sco-headset">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> bluetooth-sco-car-kit">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> usb">
<ctl name="USB_RX Mixer VOIP" value="1" />
</path>
<path name="voip-playback-0 -> usb-headset">
<path name="voip-playback-0 -> usb" />
</path>
<path name="voip-playback-0 -> usb-device">
<path name="voip-playback-0 -> usb" />
</path>
<path name="immersive-playback -> speaker">
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
</path>
@ -527,10 +754,34 @@
<ctl name="BT_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback -> usb-headset">
<path name="immersive-playback-0 -> bt">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-device">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-headphone">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-a2dp-speaker">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> usb">
<ctl name="USB_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> usb-headset">
<path name="immersive-playback-0 -> usb" />
</path>
<path name="immersive-playback-0 -> usb-device">
<path name="immersive-playback-0 -> usb" />
</path>
<path name="haptic-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP3" value="1" />
<ctl name="TDM_0_RX Mixer EP8" value="1" />
@ -553,11 +804,47 @@
<ctl name="TDM_0_RX Mixer EP8" value="1" />
</path>
<path name="haptic-playback -> usb-headset">
<path name="haptic-playback-0 -> bt">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-a2dp-device">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-a2dp-headphone">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-a2dp-speaker">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-sco-default">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-sco-headset">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> bluetooth-sco-car-kit">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> usb">
<ctl name="USB_RX Mixer EP3" value="1" />
<ctl name="TDM_0_RX Mixer EP8" value="1" />
</path>
<path name="haptic-playback-0 -> usb-headset">
<path name="haptic-playback-0 -> usb" />
</path>
<path name="haptic-playback-0 -> usb-device">
<path name="haptic-playback-0 -> usb" />
</path>
<!-- audio capture dynamic route -->
<path name="microphones -> primary-capture-0">
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
@ -567,10 +854,18 @@
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> primary-capture-0">
<path name="usb-microphones -> primary-capture-0">
<ctl name="EP1 TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> primary-capture-0">
<path name="usb-microphones -> primary-capture-0" />
</path>
<path name="usb-device-microphones -> primary-capture-0">
<path name="usb-microphones -> primary-capture-0" />
</path>
<path name="microphones -> voip-capture-0">
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
@ -579,11 +874,19 @@
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> voip-capture-0">
<path name="usb-microphones -> voip-capture-0">
<ctl name="VOIP TX Mixer USB_TX" value="1" />
</path>
<path name="bt-mic -> voip-capture-0">
<path name="usb-headset-microphones -> voip-capture-0">
<path name="usb-microphones -> voip-capture-0" />
</path>
<path name="usb-device-microphones -> voip-capture-0">
<path name="usb-microphones -> voip-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> voip-capture-0">
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
@ -595,11 +898,19 @@
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> fast-capture-0">
<path name="usb-microphones -> fast-capture-0">
<ctl name="EP3 TX Mixer USB_TX" value="1" />
</path>
<path name="bt-mic -> fast-capture-0">
<path name="usb-headset-microphones -> fast-capture-0">
<path name="usb-microphones -> fast-capture-0" />
</path>
<path name="usb-device-microphones -> fast-capture-0">
<path name="usb-microphones -> fast-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> fast-capture-0">
<ctl name="EP3 TX Mixer BT_TX" value="1" />
</path>
@ -625,10 +936,30 @@
<ctl name="BT_RX Mixer EP5" value="1" />
</path>
<path name="voice-call-downlink-0 -> usb-headphone">
<path name="voice-call-downlink-0 -> bluetooth-sco-default">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> bluetooth-sco-headset">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> bluetooth-sco-car-kit">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> usb">
<ctl name="USB_RX Mixer EP5" value="1" />
</path>
<path name="voice-call-downlink-0 -> usb-headset">
<path name="voice-call-downlink-0 -> usb" />
</path>
<path name="voice-call-downlink-0 -> usb-device">
<path name="voice-call-downlink-0 -> usb" />
</path>
<path name="voice-call-downlink-0 -> null-sink">
<ctl name="INCALL_RX Mixer EP5" value="1" />
</path>
@ -641,11 +972,19 @@
<ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> voice-call-uplink-0">
<path name="usb-microphones -> voice-call-uplink-0">
<ctl name="EP4 TX Mixer USB_TX" value="1" />
</path>
<path name="bt-mic -> voice-call-uplink-0">
<path name="usb-headset-microphones -> voice-call-uplink-0">
<path name="usb-microphones -> voice-call-uplink-0" />
</path>
<path name="usb-device-microphones -> voice-call-uplink-0">
<path name="usb-microphones -> voice-call-uplink-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> voice-call-uplink-0">
<ctl name="EP4 TX Mixer BT_TX" value="1" />
</path>
@ -657,19 +996,59 @@
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="telephony-rx -> in-call-capture-0" />
<path name="telephony-rx -> in-call-capture-1" />
<path name="telephony-rx -> in-call-capture-2" />
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="UL_DL" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="UL_DL" />
</path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="UL" />
</path>
<path name="telephony-rx (VOICE_CALL) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="UL_DL" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-headset-mic -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<path name="bt-mic -> mmap-capture-0">
<path name="usb-headset-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="usb-device-microphones -> mmap-capture-0">
<path name="usb-microphones -> mmap-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
@ -682,15 +1061,13 @@
</path>
<path name="speaker-earpiece (VOICE)">
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="PCM Source" value="ASP" />
<ctl name="AMP PCM Gain" value="7" />
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="AoC Chirp Enable" value="1" />
</path>
<path name="speaker">
<ctl name="Boost Peak Current Limit" value="2.50A" />
<ctl name="R Boost Peak Current Limit" value="2.50A" />
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
@ -700,8 +1077,6 @@
</path>
<path name="speaker (VOICE)">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="ASPTX1 Slot Position" value="1" />
<ctl name="R ASPTX1 Slot Position" value="0" />
<!--<ctl name="R DSP RX2 Source" value="ASPRX2" />-->
@ -712,11 +1087,9 @@
<ctl name="Fast Use Case Switch Enable" value="1" />
<ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
<ctl name="R Fast Use Case Switch Enable" value="1" />
<ctl name="Digital PCM Volume" value="800" />
</path>
<path name="speaker-safe">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="R Main AMP Enable Switch" value="1" />
<!-- load Bypass FIR -->
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
@ -758,6 +1131,17 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (SOUND_TRIGGER_AEC)">
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="Audio Capture Mic Source" value="ERASER" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="back-microphones">
<ctl name="Mic Spatial Module Enable" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
@ -778,8 +1162,7 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="camcorder-mic">
<ctl name="Mic Spatial Module Enable" value="1" />
<path name="microphones (CAMCORDER)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@ -788,14 +1171,17 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="voice-recog-aec-mic">
<ctl name="Audio Capture Eraser Enable" value="1" />
<path name="back-microphones (CAMCORDER)">
<path name="microphones (CAMCORDER)" />
</path>
<path name="camcorder-mic">
<ctl name="Mic Spatial Module Enable" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="Audio Capture Mic Source" value="ERASER" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
@ -826,7 +1212,7 @@
<ctl name="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="bt-mic">
<path name="bluetooth-sco-headset-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@ -836,7 +1222,7 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="usb-headset-mic">
<path name="usb-headset-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@ -861,4 +1247,68 @@
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c end-->
<!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc -->
<!-- Which is controlled by speaker module and path name format is fixed. -->
<!-- Path name format: adapted-{type}{-battery-throttled}{-acoustic-shock} -->
<!-- Battery throttle and acoustic shock are disabled: "adapted-speaker" -->
<!-- Battery throttle enabled: "adapted-speaker-battery-throttled" -->
<!-- Acoustic shock enabled: "adapted-speaker-acoustic-shock" -->
<!-- Both are enabled: "adapted-speaker-battery-throttled-acoustic-shock" -->
<path name="adapted-speaker">
<ctl name="Boost Peak Current Limit" value="2.50A" />
<ctl name="R Boost Peak Current Limit" value="2.50A" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-speaker-battery-throttled">
<ctl name="Boost Peak Current Limit" value="1.80A" />
<ctl name="R Boost Peak Current Limit" value="1.80A" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-speaker-safe">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-speaker-safe-battery-throttled">
<path name="adapted-speaker-safe" />
</path>
<path name="adapted-earpiece">
<ctl name="Digital PCM Volume" value="817" />
</path>
<path name="adapted-earpiece-battery-throttled">
<path name="adapted-earpiece" />
</path>
<path name="adapted-voice-speaker">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="Digital PCM Volume" value="800" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-voice-speaker-battery-throttled">
<path name="adapted-voice-speaker" />
</path>
<path name="adapted-voice-speaker-acoustic-shock">
<ctl name="R Boost Peak Current Limit" value="3.50A" />
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="PCM Soft Ramp" value="2ms" />
<ctl name="Digital PCM Volume" value="0" />
<ctl name="R Digital PCM Volume" value="817" />
</path>
<path name="adapted-voice-speaker-battery-throttled-acoustic-shock">
<path name="adapted-voice-speaker-acoustic-shock" />
</path>
<path name="adapted-voice-earpiece">
<ctl name="Boost Peak Current Limit" value="3.50A" />
<ctl name="Digital PCM Volume" value="817" />
</path>
<path name="adapted-voice-earpiece-battery-throttled">
<path name="adapted-voice-earpiece" />
</path>
<!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc end -->
</mixer>

View file

@ -21,8 +21,7 @@ AUDIO_TABLE_FOLDER := shiba
ifeq ($(BUILD_AUDIO_AIDL_VERSION),true)
PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration_aidl.xml \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/mixer_paths_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_aidl.xml
else

View file

@ -300,13 +300,14 @@
<device_handle>
<handler libname="audio_bt_aoc.so"/>
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=192000,UnsupportedFormat=S24_LE,MaxCapPacketInterval=125,MaxCapSampleRate=192000,MaxCapBitWidth=32,MaxCapChannel=2,EnableHifi192kMultichannel=0"/>
<handler libname="audio_hdmi_aoc.so"/>
</device_handle>
<external_module>
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN-SPEAKER"/>
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl"/>
<module libname="audio_fortemedia_aoc.so" argu="BOOST_HANDSET_SWB_CLK=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
<module libname="audio_fortemedia_aoc.so" argu="MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
<module libname="liboffloadeffect.so"/>
<module libname="audio_amcs_ext.so"/>
<module libname="audio_bluenote_aoc.so"/>

View file

@ -149,7 +149,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -228,6 +228,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -149,7 +149,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -184,6 +184,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -145,7 +145,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -180,6 +180,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -149,7 +149,7 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
@ -205,6 +205,8 @@
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset"

View file

@ -687,6 +687,12 @@
<ctl name="R Fast Use Case Switch Enable" value="1" /-->
</path>
<path name="hdmi">
</path>
<path name="hdmi-post">
</path>
<path name="voice-speaker">
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
<ctl name="Boost Peak Current Limit" value="3.50A"/>

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,7 @@
#EXPORT_FLAG HANDSET
#PARAM_MODE FULL
#SAVE_MODE 3
#SAVE_TIME 2023-08-28 14:39:36
#SAVE_TIME 2023-09-13 17:44:33
#CASE_NAME HANDSET-HANDSET-VOICE_GENERIC-NB
#PARAM_TYPE TX+2RX
@ -535,8 +535,8 @@
523 0x6000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -3230,8 +3230,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -5925,8 +5925,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -8620,8 +8620,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -11315,8 +11315,8 @@
523 0x6000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -14010,8 +14010,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -16705,8 +16705,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -19400,8 +19400,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -22095,8 +22095,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -24790,8 +24790,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -27485,8 +27485,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -30180,8 +30180,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -32875,8 +32875,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -35570,8 +35570,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -38265,8 +38265,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -40960,8 +40960,8 @@
523 0x6000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -43655,8 +43655,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -46350,8 +46350,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -49045,8 +49045,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -51740,8 +51740,8 @@
523 0x6000 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -54435,8 +54435,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -57130,8 +57130,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -59825,8 +59825,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -62520,8 +62520,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR

View file

@ -3,7 +3,7 @@
#EXPORT_FLAG HANDSFREE
#PARAM_MODE FULL
#SAVE_MODE 3
#SAVE_TIME 2023-07-06 22:17:23
#SAVE_TIME 2023-09-13 17:44:57
#CASE_NAME HANDSFREE-HANDSFREE-VOICE_GENERIC-NB
#PARAM_TYPE TX+2RX
@ -535,8 +535,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -3230,8 +3230,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -5925,8 +5925,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -8620,8 +8620,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -11315,8 +11315,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -14010,8 +14010,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -16705,8 +16705,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -19400,8 +19400,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -22095,8 +22095,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -24790,8 +24790,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -27485,8 +27485,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR

View file

@ -3,7 +3,7 @@
#EXPORT_FLAG HEADSET
#PARAM_MODE FULL
#SAVE_MODE 3
#SAVE_TIME 2023-07-14 14:39:03
#SAVE_TIME 2023-09-13 17:45:47
#CASE_NAME HEADSET-USB_BLACKBIRD-VOICE_GENERIC-NB
#PARAM_TYPE TX+2RX
@ -535,8 +535,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -3230,8 +3230,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -5925,8 +5925,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -8620,8 +8620,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -11315,8 +11315,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -14010,8 +14010,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -16705,8 +16705,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -19400,8 +19400,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -22095,8 +22095,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -24790,8 +24790,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -27485,8 +27485,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -30180,8 +30180,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -32875,8 +32875,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -35570,8 +35570,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -38265,8 +38265,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -40960,8 +40960,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -43655,8 +43655,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -46350,8 +46350,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -49045,8 +49045,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -51740,8 +51740,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -54435,8 +54435,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -57130,8 +57130,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -59825,8 +59825,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -62520,8 +62520,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -65215,8 +65215,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -67910,8 +67910,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -70605,8 +70605,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -73300,8 +73300,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -75995,8 +75995,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -78690,8 +78690,8 @@
523 0x7E2C //TX_WIDE2_MEANHTH
524 0x0064 //TX_DR_RESRV_5
525 0x1000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -81385,8 +81385,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -84080,8 +84080,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -86775,8 +86775,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -89470,8 +89470,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -92165,8 +92165,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x0000 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0028 //TX_SNR_THR
@ -94860,8 +94860,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -97555,8 +97555,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -100250,8 +100250,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -102945,8 +102945,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR
@ -105640,8 +105640,8 @@
523 0x0064 //TX_WIDE2_MEANHTH
524 0x0000 //TX_DR_RESRV_5
525 0x0000 //TX_DR_RESRV_6
526 0x0000 //TX_DR_RESRV_7
527 0x0000 //TX_DR_RESRV_8
526 0x122E //TX_DR_RESRV_7
527 0x1100 //TX_DR_RESRV_8
528 0x1333 //TX_WIND_MARK_TH
529 0x399A //TX_CORR_THR
530 0x0004 //TX_SNR_THR

View file

@ -3,9 +3,20 @@
# Uart port name
UartPort = /dev/ttySAC18
# Userial type
UserialType = 2
# <boolean> Enable check whether let aoc controls power pin
AocPowerPinCtrlCheckEnable = true
# <string> The hardware stage does not need aoc to control power pin
# This only affects when AocPowerPinCtrlCheckEnable is true
HwStageDoesNotCtrlPowerPinFromAoc = PROTO1.0-EVT1.0-EVT1.2
# <string> The hardware stage with old chip revision is no longer
# supported by BT firmware.
HwStageWithOldChipFwNoLongerSupport = PROTO1.0-PROTO1.1
# Sar backOff high resolution support
SarBackOffHighResolution = true

View file

@ -3,6 +3,9 @@
# Uart port name
UartPort = /dev/ttySAC18
# Userial type
UserialType = 2
# Sar backOff high resolution support
SarBackOffHighResolution = true

View file

@ -47,6 +47,8 @@
<scenario encode="TwoChanStereo_32_2" decode="OneChanMono_32_2"/>
<scenario encode="OneChanMono_32_2" decode="OneChanMono_32_2"/>
<!-- broadcast -->
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_48_4"/>
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_48_2"/>
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_24_2"/>
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_16_2"/>
</scenarioList>
@ -65,6 +67,8 @@
<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"/>
<configuration name="BcastStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="BROADCAST_STEREO"/>
<configuration name="BcastStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="BROADCAST_STEREO"/>
<configuration name="BcastStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="BROADCAST_STEREO"/>
<configuration name="BcastStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="BROADCAST_STEREO"/>
</configurationList>
@ -73,6 +77,7 @@
<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_2" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="100"/>
<codecConfiguration name="LC3_48k_4" codec="LC3" samplingFrequency="48000" frameDurationUs="10000" octetsPerCodecFrame="120"/>
</codecConfigurationList>
<strategyConfigurationList>

View file

@ -94,6 +94,27 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/6-0043/default/delay_before_stop_playback_us
chown system system /sys/bus/i2c/devices/5-0043/default/delay_before_stop_playback_us
chown system system /sys/bus/i2c/devices/4-0043/default/delay_before_stop_playback_us
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_env_rel_coef
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_env_rel_coef
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_env_rel_coef
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_rise_headroom
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_rise_headroom
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_rise_headroom
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_fall_headroom
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_fall_headroom
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_fall_headroom
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_enable
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_enable
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_enable
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_tx_lvl_thresh_fs
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_tx_lvl_thresh_fs
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_tx_lvl_thresh_fs
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_tx_lvl_hold_off_ms
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_tx_lvl_hold_off_ms
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_tx_lvl_hold_off_ms
chown system system /sys/bus/i2c/devices/6-0043/default/pm_active_timeout_ms
chown system system /sys/bus/i2c/devices/5-0043/default/pm_active_timeout_ms
chown system system /sys/bus/i2c/devices/4-0043/default/pm_active_timeout_ms
enable vendor.vibrator.cs40l26

View file

@ -90,6 +90,27 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/6-0043/default/delay_before_stop_playback_us
chown system system /sys/bus/i2c/devices/5-0043/default/delay_before_stop_playback_us
chown system system /sys/bus/i2c/devices/4-0043/default/delay_before_stop_playback_us
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_env_rel_coef
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_env_rel_coef
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_env_rel_coef
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_rise_headroom
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_rise_headroom
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_rise_headroom
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_fall_headroom
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_fall_headroom
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_fall_headroom
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_enable
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_enable
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_enable
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_tx_lvl_thresh_fs
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_tx_lvl_thresh_fs
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_tx_lvl_thresh_fs
chown system system /sys/bus/i2c/devices/6-0043/dbc/dbc_tx_lvl_hold_off_ms
chown system system /sys/bus/i2c/devices/5-0043/dbc/dbc_tx_lvl_hold_off_ms
chown system system /sys/bus/i2c/devices/4-0043/dbc/dbc_tx_lvl_hold_off_ms
chown system system /sys/bus/i2c/devices/6-0043/default/pm_active_timeout_ms
chown system system /sys/bus/i2c/devices/5-0043/default/pm_active_timeout_ms
chown system system /sys/bus/i2c/devices/4-0043/default/pm_active_timeout_ms
enable vendor.vibrator.cs40l26

411
device-husky.mk Normal file
View file

@ -0,0 +1,411 @@
#
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_KERNEL_DIR ?= device/google/shusky-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers
LOCAL_PATH := device/google/shusky
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
USE_UWBFIELDTESTQM := true
endif
$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-husky.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/husky/device-vendor-husky.mk)
$(call inherit-product-if-exists, vendor/google_devices/husky/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk)
$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/WallpapersHusky.mk)
# display
DEVICE_PACKAGE_OVERLAYS += device/google/shusky/husky/overlay
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true
PRODUCT_COPY_FILES += \
device/google/shusky/husky/display_colordata_dev_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_dev_cal0.pb \
device/google/shusky/husky/display_golden_google-hk3_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_google-hk3_cal0.pb
include device/google/shusky/audio/husky/audio-tables.mk
include device/google/zuma/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/touch/stm/stm20.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/touch/touchinspector/touchinspector.mk
# go/lyric-soong-variables
$(call soong_config_set,lyric,camera_hardware,husky)
$(call soong_config_set,lyric,tuning_product,husky)
$(call soong_config_set,google3a_config,target_device,husky)
# Init files
PRODUCT_COPY_FILES += \
device/google/shusky/conf/init.husky.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.husky.rc
# Recovery files
PRODUCT_COPY_FILES += \
device/google/shusky/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.husky.rc
# MIPI Coex Configs
PRODUCT_COPY_FILES += \
device/google/shusky/husky/radio/husky_camera_front_dbr_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_dbr_coex_table.csv \
device/google/shusky/husky/radio/husky_camera_front_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_mipi_coex_table.csv \
device/google/shusky/husky/radio/husky_camera_rear_tele_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_rear_tele_mipi_coex_table.csv \
device/google/shusky/husky/radio/husky_display_primary_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv
# Camera
PRODUCT_COPY_FILES += \
device/google/shusky/media_profiles_husky.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
# NFC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
device/google/shusky/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
device/google/shusky/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
PRODUCT_PACKAGES += \
NfcNci \
Tag \
android.hardware.nfc-service.st
# SecureElement
PRODUCT_PACKAGES += \
android.hardware.secure_element-service.thales
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
device/google/shusky/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
# Bluetooth HAL
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_CA.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_husky_GC3VE_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GC3VE_EU.csv
# POF
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.finder.supported=true
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Audio CCA property
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
# DCK properties based on target
PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=3 \
ro.gms.dck.se_capability=1
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
hci_inject
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
ewp_tool
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=29 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=true
else
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=16 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=false
endif
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio \
librondo
# Bluetooth Super Wide Band
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.hfp.swb.supported=true
# Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \
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
# Bluetooth LE Audio enable hardware offloading
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_offload.supported=true \
persist.bluetooth.leaudio_offload.disabled=false
# Bluetooth LE Auido offload capabilities setting
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.notify.idle.during.call=true
# Not support LE Audio dual mic SWB call based on the current launch strategy
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.dual_bidirection_swb.supported=false
# Support One-Handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true
# Keymaster HAL
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
# Gatekeeper HAL
#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= android.hardware.gatekeeper@1.0-service.software
# Gatekeeper
# PRODUCT_PACKAGES += \
# android.hardware.gatekeeper@1.0-service.software
# Keymint replaces Keymaster
# PRODUCT_PACKAGES += \
# android.hardware.security.keymint-service
# Keymaster
#PRODUCT_PACKAGES += \
# android.hardware.keymaster@4.0-impl \
# android.hardware.keymaster@4.0-service
#PRODUCT_PACKAGES += android.hardware.keymaster@4.0-service.remote
#PRODUCT_PACKAGES += android.hardware.keymaster@4.1-service.remote
#LOCAL_KEYMASTER_PRODUCT_PACKAGE := android.hardware.keymaster@4.1-service
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
# PRODUCT_PROPERTY_OVERRIDES += \
# ro.hardware.keystore_desede=true \
# ro.hardware.keystore=software \
# ro.hardware.gatekeeper=software
# PowerStats HAL
PRODUCT_SOONG_NAMESPACES += \
device/google/shusky/powerstats/husky \
device/google/shusky
# WiFi Overlay
PRODUCT_PACKAGES += \
UwbOverlayHK3 \
WifiOverlay2023 \
PixelWifiOverlay2023
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts
# Location
# SDK build system
include device/google/gs-common/gps/brcm/device.mk
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps_user.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
# Set zram size
PRODUCT_VENDOR_PROPERTIES += \
vendor.zram.size=50p \
persist.device_config.configuration.disable_rescue_party=true
# Fingerprint HAL
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
include device/google/gs101/fingerprint/udfps_common.mk
ifeq ($(filter factory%, $(TARGET_PRODUCT)),)
include device/google/gs101/fingerprint/udfps_shipping.mk
else
include device/google/gs101/fingerprint/udfps_factory.mk
endif
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.als_feed_forward_supported=true \
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
# Fingerprint exposure compensation
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.auto_exposure_compensation_supported=true
# Camera Vendor property
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.front_720P_always_binning=true
# Media Performance Class 14
PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=33
# config of display brightness dimming
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.dimming.usage?=1
PRODUCT_VENDOR_PROPERTIES += \
vendor.primarydisplay.op.hs_hz=120 \
vendor.primarydisplay.op.ns_hz=60 \
vendor.primarydisplay.op.ns_min_dbv=1172
# kernel idle timer for display driver
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.support_kernel_idle_timer=true
# lhbm peak brightness delay: decided by kernel
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=0
# Display LBE
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
# blocking zone for min idle refresh rate
PRODUCT_VENDOR_PROPERTIES += \
vendor.primarydisplay.min_idle_refresh_rate.default=1 \
vendor.primarydisplay.min_idle_refresh_rate.blocking_zone=10 \
vendor.primarydisplay.min_idle_refresh_rate.blocking_zone_dbv=492
# Display ACL
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.0.brightness.acl.default=0
# display color data
PRODUCT_COPY_FILES += \
device/google/shusky/husky/panel_config_google-hk3_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-hk3_cal0.pb
# Vibrator HAL
ACTUATOR_MODEL := luxshare_ict_081545
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.chirp.enabled=0 \
ro.vendor.vibrator.hal.device.mass=0.222 \
ro.vendor.vibrator.hal.loc.coeff=2.8 \
persist.vendor.vibrator.hal.context.enable=false \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000 \
ro.vendor.vibrator.hal.dbc.enable=true \
ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5
# Increment the SVN for any official public releases
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=6
# WLC userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/zuma/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
endif
# Setup Wizard device-specific settings
PRODUCT_PRODUCT_PROPERTIES += \
setupwizard.feature.enable_quick_start_flow=true \
# Quick Start device-specific settings
PRODUCT_PRODUCT_PROPERTIES += \
ro.quick_start.oem_id=00e0 \
ro.quick_start.device_id=husky
# PKVM Memory Reclaim
PRODUCT_VENDOR_PROPERTIES += \
hypervisor.memory_reclaim.supported=1
# P23 Devices no longer need rlsservice
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.rls_supported=false
# Settings Overlay
PRODUCT_PACKAGES += \
SettingsHuskyOverlay
# Display RRS default Config
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.vendor.display.primary.boot_config=1008x2244@120
# TODO: b/250788756 - the property will be phased out after HWC loads user-preferred mode
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.preferred_mode=1008x2244@120
# Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# Disable Settings large-screen optimization enabled by Window Extensions
PRODUCT_SYSTEM_PROPERTIES += \
persist.settings.large_screen_opt.enabled=false
# Keyboard height ratio and bottom padding in dp for portrait mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.com.google.ime.kb_pad_port_b=10.4 \
ro.com.google.ime.height_ratio=1.0
# Enable camera exif model/make reporting
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.exif_reveal_make_model=true
# Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true
# DisplayPort should be disabled by default (b/300167292)
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.usb.displayport.enabled=0

255
device-ripcurrent.mk Normal file
View file

@ -0,0 +1,255 @@
#
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_KERNEL_DIR ?= device/google/shusky-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
USE_UWBFIELDTESTQM := true
endif
$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-ripcurrent.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/ripcurrent/device-vendor-ripcurrent.mk)
$(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk)
include device/google/shusky/audio/ripcurrent/audio-tables.mk
include device/google/zuma/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device-stereo.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/gps/brcm/cbd_gps.mk
include device/google/gs-common/touch/stm/stm20.mk
# go/lyric-soong-variables
$(call soong_config_set,lyric,camera_hardware,ripcurrent)
$(call soong_config_set,lyric,tuning_product,ripcurrent)
$(call soong_config_set,google3a_config,target_device,ripcurrent)
# display
DEVICE_PACKAGE_OVERLAYS += device/google/shusky/ripcurrent/overlay
# Init files
PRODUCT_COPY_FILES += \
device/google/shusky/conf/init.ripcurrent.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.ripcurrent.rc
# Recovery files
PRODUCT_COPY_FILES += \
device/google/shusky/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.ripcurrent.rc
# Camera
PRODUCT_COPY_FILES += \
device/google/shusky/media_profiles_ripcurrent.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
# NFC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
device/google/shusky/nfc/libnfc-hal-st-disable.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
device/google/shusky/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st-enable.conf \
device/google/shusky/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
PRODUCT_PACKAGES += \
NfcNci \
Tag \
android.hardware.nfc-service.st
# SecureElement
PRODUCT_PACKAGES += \
android.hardware.secure_element-service.thales
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
device/google/shusky/nfc/libse-gto-hal-disable.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
# Bluetooth HAL
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/bt_vendor_overlay_ripcurrent.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
hci_inject
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
ewp_tool
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=29 \
persist.bluetooth.bqr.vnd_trace_mask=0
else
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=16 \
persist.bluetooth.bqr.vnd_trace_mask=0
endif
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio \
librondo
# Bluetooth Super Wide Band
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.hfp.swb.supported=true
# Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \
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
# Bluetooth LE Audio enable hardware offloading
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_offload.supported=true \
persist.bluetooth.leaudio_offload.disabled=false
# Bluetooth LE Auido offload capabilities setting
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.notify.idle.during.call=true
# Not support LE Audio dual mic SWB call based on the current launch strategy
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.dual_bidirection_swb.supported=false
# Keymaster HAL
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
# Gatekeeper HAL
#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= android.hardware.gatekeeper@1.0-service.software
# Gatekeeper
# PRODUCT_PACKAGES += \
# android.hardware.gatekeeper@1.0-service.software
# Keymint replaces Keymaster
# PRODUCT_PACKAGES += \
# android.hardware.security.keymint-service
# Keymaster
#PRODUCT_PACKAGES += \
# android.hardware.keymaster@4.0-impl \
# android.hardware.keymaster@4.0-service
#PRODUCT_PACKAGES += android.hardware.keymaster@4.0-service.remote
#PRODUCT_PACKAGES += android.hardware.keymaster@4.1-service.remote
#LOCAL_KEYMASTER_PRODUCT_PACKAGE := android.hardware.keymaster@4.1-service
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
# PRODUCT_PROPERTY_OVERRIDES += \
# ro.hardware.keystore_desede=true \
# ro.hardware.keystore=software \
# ro.hardware.gatekeeper=software
# PowerStats HAL
PRODUCT_SOONG_NAMESPACES += \
device/google/shusky/powerstats/ripcurrent
# WiFi Overlay
PRODUCT_PACKAGES += \
WifiOverlay2023
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts
# Location
# SDK build system
include device/google/gs-common/gps/brcm/device.mk
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
# Set zram size
PRODUCT_VENDOR_PROPERTIES += \
vendor.zram.size=50p \
persist.device_config.configuration.disable_rescue_party=true
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.als_feed_forward_supported=true \
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
# Camera Vendor property
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.front_720P_always_binning=true
# Vibrator HAL
ACTUATOR_MODEL := luxshare_ict_081545
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.chirp.enabled=0 \
ro.vendor.vibrator.hal.device.mass=0.222 \
ro.vendor.vibrator.hal.loc.coeff=2.8
# PKVM Memory Reclaim
PRODUCT_VENDOR_PROPERTIES += \
hypervisor.memory_reclaim.supported=1

386
device-shiba.mk Normal file
View file

@ -0,0 +1,386 @@
#
# Copyright (C) 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_KERNEL_DIR ?= device/google/shusky-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/shusky-kernel/kernel-headers
LOCAL_PATH := device/google/shusky
$(call inherit-product-if-exists, vendor/google_devices/shusky/prebuilts/device-vendor-shiba.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/shiba/device-vendor-shiba.mk)
$(call inherit-product-if-exists, vendor/google_devices/shiba/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/shusky/proprietary/WallpapersShiba.mk)
DEVICE_PACKAGE_OVERLAYS += device/google/shusky/shiba/overlay
include device/google/shusky/audio/shiba/audio-tables.mk
include device/google/zuma/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/touch/gti/gti.mk
# go/lyric-soong-variables
$(call soong_config_set,lyric,camera_hardware,shiba)
$(call soong_config_set,lyric,tuning_product,shiba)
$(call soong_config_set,google3a_config,target_device,shiba)
# Init files
PRODUCT_COPY_FILES += \
device/google/shusky/conf/init.shiba.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.shiba.rc
# Recovery files
PRODUCT_COPY_FILES += \
device/google/shusky/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.shiba.rc
# MIPI Coex Configs
PRODUCT_COPY_FILES += \
device/google/shusky/shiba/radio/shiba_camera_front_dbr_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_dbr_coex_table.csv \
device/google/shusky/shiba/radio/shiba_camera_front_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_front_mipi_coex_table.csv \
device/google/shusky/shiba/radio/shiba_display_primary_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv
# Camera
PRODUCT_COPY_FILES += \
device/google/shusky/media_profiles_shiba.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.rls_range_supported=false
# NFC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
device/google/shusky/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \
device/google/shusky/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf
PRODUCT_PACKAGES += \
NfcNci \
Tag \
android.hardware.nfc-service.st
# SecureElement
PRODUCT_PACKAGES += \
android.hardware.secure_element-service.thales
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
device/google/shusky/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
# Bluetooth HAL
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/bt_vendor_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_vendor_overlay.conf
PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_CA.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_EU.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_US.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_GKWS6_CA.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GKWS6_CA.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_GKWS6_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GKWS6_EU.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_GKWS6_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GKWS6_JP.csv \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_shiba_GKWS6_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GKWS6_US.csv
# POF
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.finder.supported=true
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Audio CCA property
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
# DCK properties based on target
PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=2 \
ro.gms.dck.se_capability=1
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
hci_inject
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
ewp_tool
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=29 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=true
else
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.bqr.event_mask=295006 \
persist.bluetooth.bqr.vnd_quality_mask=16 \
persist.bluetooth.bqr.vnd_trace_mask=0 \
persist.bluetooth.vendor.btsnoop=false
endif
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio \
librondo
# Bluetooth Super Wide Band
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.hfp.swb.supported=true
# Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \
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
# Bluetooth LE Audio enable hardware offloading
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_offload.supported=true \
persist.bluetooth.leaudio_offload.disabled=false
# Bluetooth LE Auido offload capabilities setting
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.notify.idle.during.call=true
# Not support LE Audio dual mic SWB call based on the current launch strategy
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.dual_bidirection_swb.supported=false
# Support One-Handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true
# Keymaster HAL
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
# Gatekeeper HAL
#LOCAL_GATEKEEPER_PRODUCT_PACKAGE ?= android.hardware.gatekeeper@1.0-service.software
# Gatekeeper
# PRODUCT_PACKAGES += \
# android.hardware.gatekeeper@1.0-service.software
# Keymint replaces Keymaster
# PRODUCT_PACKAGES += \
# android.hardware.security.keymint-service
# Keymaster
#PRODUCT_PACKAGES += \
# android.hardware.keymaster@4.0-impl \
# android.hardware.keymaster@4.0-service
#PRODUCT_PACKAGES += android.hardware.keymaster@4.0-service.remote
#PRODUCT_PACKAGES += android.hardware.keymaster@4.1-service.remote
#LOCAL_KEYMASTER_PRODUCT_PACKAGE := android.hardware.keymaster@4.1-service
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
# PRODUCT_PROPERTY_OVERRIDES += \
# ro.hardware.keystore_desede=true \
# ro.hardware.keystore=software \
# ro.hardware.gatekeeper=software
# PowerStats HAL
PRODUCT_SOONG_NAMESPACES += \
device/google/shusky/powerstats/shiba \
device/google/shusky
# WiFi Overlay
PRODUCT_PACKAGES += \
WifiOverlay2023 \
PixelWifiOverlay2023
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/shusky/prebuilts
# Location
# SDK build system
include device/google/gs-common/gps/brcm/device.mk
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/shusky/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/shusky/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
device/google/shusky/location/gps_user.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
# Set zram size
PRODUCT_VENDOR_PROPERTIES += \
vendor.zram.size=50p \
persist.device_config.configuration.disable_rescue_party=true
# Fingerprint HAL
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
include device/google/gs101/fingerprint/udfps_common.mk
ifeq ($(filter factory%, $(TARGET_PRODUCT)),)
include device/google/gs101/fingerprint/udfps_shipping.mk
else
include device/google/gs101/fingerprint/udfps_factory.mk
endif
# Fingerprint exposure compensation
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.auto_exposure_compensation_supported=true
# Display
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=1500
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.ignore_hdr_camera_layers=true
# lhbm peak brightness delay: decided by kernel
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.primarydisplay.lhbm.frames_to_reach_peak_brightness=0
# display color data
PRODUCT_COPY_FILES += \
device/google/shusky/shiba/panel_config_google-bigsurf_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-bigsurf_cal0.pb \
device/google/shusky/shiba/panel_config_google-shoreline_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/panel_config_google-shoreline_cal0.pb
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.als_feed_forward_supported=true \
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
PRODUCT_COPY_FILES += \
device/google/shusky/shiba/display_colordata_google-bigsurf_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_google-bigsurf_cal0.pb \
device/google/shusky/shiba/display_colordata_google-shoreline_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_colordata_google-shoreline_cal0.pb \
device/google/shusky/shiba/display_golden_google-bigsurf_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_google-bigsurf_cal0.pb \
device/google/shusky/shiba/display_golden_google-shoreline_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_google-shoreline_cal0.pb
# Camera Vendor property
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.front_720P_always_binning=true
# Media Performance Class 14
PRODUCT_PRODUCT_PROPERTIES += ro.odm.build.media_performance_class=33
# Display LBE
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
# Vibrator HAL
ACTUATOR_MODEL := luxshare_ict_081545
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.chirp.enabled=0 \
ro.vendor.vibrator.hal.device.mass=0.187 \
ro.vendor.vibrator.hal.loc.coeff=2.75 \
persist.vendor.vibrator.hal.context.enable=false \
persist.vendor.vibrator.hal.context.scale=60 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000 \
ro.vendor.vibrator.hal.dbc.enable=true \
ro.vendor.vibrator.hal.dbc.envrelcoef=8353728 \
ro.vendor.vibrator.hal.dbc.riseheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.fallheadroom=1909602 \
ro.vendor.vibrator.hal.dbc.txlvlthreshfs=2516583 \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5
# Increment the SVN for any official public releases
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=6
# P23 Devices no longer need rlsservice
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.rls_supported=false
# WLC userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/zuma/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
endif
# Setup Wizard device-specific settings
PRODUCT_PRODUCT_PROPERTIES += \
setupwizard.feature.enable_quick_start_flow=true \
# Quick Start device-specific settings
PRODUCT_PRODUCT_PROPERTIES += \
ro.quick_start.oem_id=00e0 \
ro.quick_start.device_id=shiba
# PKVM Memory Reclaim
PRODUCT_VENDOR_PROPERTIES += \
hypervisor.memory_reclaim.supported=1
# Settings Overlay
PRODUCT_PACKAGES += \
SettingsShibaOverlay
# Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# Disable Settings large-screen optimization enabled by Window Extensions
PRODUCT_SYSTEM_PROPERTIES += \
persist.settings.large_screen_opt.enabled=false
# Keyboard bottom padding in dp for portrait mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.com.google.ime.kb_pad_port_b=8
# Enable camera exif model/make reporting
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.exif_reveal_make_model=true
# Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true
# DisplayPort should be disabled by default (b/300167292)
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.usb.displayport.enabled=0

View file

@ -19,6 +19,9 @@ TARGET_LINUX_KERNEL_VERSION := 5.15
$(call inherit-product, device/google/zuma/factory_common.mk)
$(call inherit-product, device/google/shusky/device-husky.mk)
include device/google/shusky/audio/husky/factory-audio-tables.mk
# Override to factory SDK
$(call soong_config_set, gpssdk, sdkv1, True)
$(call soong_config_set, gpssdk, gpsmcuversion, gpsv1_$(TARGET_BUILD_VARIANT))
PRODUCT_NAME := factory_husky
PRODUCT_DEVICE := husky

View file

@ -19,6 +19,9 @@ TARGET_LINUX_KERNEL_VERSION := 5.15
$(call inherit-product, device/google/zuma/factory_common.mk)
$(call inherit-product, device/google/shusky/device-ripcurrent.mk)
include device/google/shusky/audio/ripcurrent/factory-audio-tables.mk
# Override to factory SDK
$(call soong_config_set, gpssdk, sdkv1, True)
$(call soong_config_set, gpssdk, gpsmcuversion, gpsv1_$(TARGET_BUILD_VARIANT))
PRODUCT_NAME := factory_ripcurrent
PRODUCT_DEVICE := ripcurrent

View file

@ -19,6 +19,9 @@ TARGET_LINUX_KERNEL_VERSION := 5.15
$(call inherit-product, device/google/zuma/factory_common.mk)
$(call inherit-product, device/google/shusky/device-shiba.mk)
include device/google/shusky/audio/shiba/factory-audio-tables.mk
# Override to factory SDK
$(call soong_config_set, gpssdk, sdkv1, True)
$(call soong_config_set, gpssdk, gpsmcuversion, gpsv1_$(TARGET_BUILD_VARIANT))
PRODUCT_NAME := factory_shiba
PRODUCT_DEVICE := shiba

View file

@ -1,2 +0,0 @@
BOARD_KERNEL_CMDLINE += bootloader.pixel.MTE_FORCE_ON
PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.default=sync

View file

@ -1,4 +0,0 @@
ifeq ($(filter memtag_heap,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) memtag_heap memtag_stack)
SANITIZE_TARGET_DIAG := $(strip $(SANITIZE_TARGET_DIAG) memtag_heap)
endif

View file

@ -48,18 +48,8 @@
<!-- 140 nits: (140-2)/(1000-2)*(0.63-0.0)+0.0 = 0.087114228 -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.087114228</item>
<!-- Not allow to switch to higher refresh rate when display brightness setting is
equal or less than this value -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
<!-- System brightness for 8 nits: round((8-2)/(1600-2)*(255-1)+1) = 2 -->
<item>2</item> <!-- 14% UI brightness -->
</integer-array>
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
<item>5</item>
</integer-array>
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
<integer name="config_defaultRefreshRateInZone">120</integer>
<!-- Allow normal brightness controller feature. -->
<bool name="config_allowNormalBrightnessControllerFeature">true</bool>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows:
@ -314,5 +304,5 @@
<bool name="allow_clear_initial_attach_data_profile">true</bool>
<!-- The integer index of the selected option in config_udfps_touch_detection_options -->
<integer name="config_selected_udfps_touch_detection">4</integer>
<integer name="config_selected_udfps_touch_detection">5</integer>
</resources>

View file

@ -26,4 +26,6 @@
<!-- Padding for the lock icon on the keyguard. In pixels - should not scale with
display size. -->
<dimen name="lock_icon_padding">57px</dimen>
<dimen name="udfps_burn_in_offset_y">19px</dimen>
</resources>

View file

@ -58,10 +58,12 @@
AssertEnabled="true"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="1200"
RuntimeSwLteFilterEnable="true"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll

View file

@ -58,10 +58,12 @@
AssertEnabled="true"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="1200"
RuntimeSwLteFilterEnable="true"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll

View file

@ -58,10 +58,12 @@
AssertEnabled="true"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="1200"
RuntimeSwLteFilterEnable="true"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll

View file

@ -57,10 +57,12 @@
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="1200"
RuntimeSwLteFilterEnable="true"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll

View file

@ -57,10 +57,12 @@
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="1200"
RuntimeSwLteFilterEnable="true"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll

View file

@ -57,10 +57,12 @@
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="1200"
RuntimeSwLteFilterEnable="true"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll

View file

@ -261,6 +261,36 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUUClampMaxFilterEnable",
"Path": "/proc/vendor_sched/uclamp_max_filter_enable",
"Values": [
"1",
"0"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/bg_uclamp_max",
"Values": [
"130",
"512"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "Dex2oatUClampMaxBoost",
"Path": "/proc/vendor_sched/dex2oat_uclamp_max",
"Values": [
"-2",
"615"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CAMUClampBoost",
"Path": "/proc/vendor_sched/cam_uclamp_min",
@ -317,6 +347,15 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGCpuset",
"Path": "/dev/cpuset/foreground/cpus",
"Values": [
"0-5",
"0-7"
],
"ResetOnInit": true
},
{
"Name": "CDCpuset",
"Path": "/dev/cpuset/camera-daemon/cpus",
@ -402,8 +441,8 @@
"Name": "NPITaskPacking",
"Path": "/proc/vendor_sched/npi_packing",
"Values": [
"0",
"1"
"1",
"0"
],
"ResetOnInit": true
},
@ -463,121 +502,61 @@
"ResetOnInit": true
},
{
"Name": "BigControlTempSet",
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_2_temp",
"Name": "BigTjOffset",
"Path": "/sys/devices/platform/100a0000.BIG/offset_enabled",
"Values": [
"95000",
"80000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "MidControlTempSet",
"Path": "/dev/thermal/tz-by-name/MID/trip_point_2_temp",
"Name": "MidTjOffset",
"Path": "/sys/devices/platform/100a0000.MID/offset_enabled",
"Values": [
"95000",
"80000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "LittleControlTempSet",
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp",
"Name": "LittleTjOffset",
"Path": "/sys/devices/platform/100a0000.LITTLE/offset_enabled",
"Values": [
"100000",
"85000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "G3dControlTempSet",
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_2_temp",
"Name": "G3dTjOffset",
"Path": "/sys/devices/platform/100b0000.G3D/offset_enabled",
"Values": [
"85000",
"80000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "TpuControlTempSet",
"Path": "/dev/thermal/tz-by-name/TPU/trip_point_2_temp",
"Name": "TpuTjOffset",
"Path": "/sys/devices/platform/100b0000.TPU/offset_enabled",
"Values": [
"85000",
"80000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "AurControlTempSet",
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp",
"Name": "AurTjOffset",
"Path": "/sys/devices/platform/100b0000.AUR/offset_enabled",
"Values": [
"85000",
"80000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "BigSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_1_temp",
"Values": [
"75000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "MidSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/MID/trip_point_1_temp",
"Values": [
"75000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "LittleSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_1_temp",
"Values": [
"75000",
"65000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "G3dSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_1_temp",
"Values": [
"65000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "TpuSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/TPU/trip_point_1_temp",
"Values": [
"65000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "AurSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp",
"Values": [
"65000",
"60000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
@ -770,7 +749,8 @@
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
"Values": [
"",
"game"
"game",
"camera"
],
"DefaultIndex": 0,
"ResetOnInit": true,
@ -796,6 +776,15 @@
"20 40"
],
"ResetOnInit": true
},
{
"Name": "SchedLibMaskIn",
"Path": "/proc/vendor_sched/sched_lib_mask_in",
"Values": [
"0x100",
"0x0"
],
"ResetOnInit": true
}
],
"Actions": [
@ -858,6 +847,24 @@
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUUClampMaxFilterEnable",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "BGUClampMaxBoost",
"Duration": 5000,
"Value": "512"
},
{
"PowerHint": "LAUNCH",
"Node": "Dex2oatUClampMaxBoost",
"Duration": 5000,
"Value": "615"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
@ -888,12 +895,6 @@
"Duration": 5000,
"Value": "1401000"
},
{
"PowerHint": "LAUNCH",
"Node": "NPITaskPacking",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Type": "DoHint",
@ -946,6 +947,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
@ -976,6 +983,24 @@
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUUClampMaxFilterEnable",
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "BGUClampMaxBoost",
"Duration": 2000,
"Value": "512"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "Dex2oatUClampMaxBoost",
"Duration": 2000,
"Value": "615"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPULittleClusterDownRateLimitUs",
@ -1006,6 +1031,12 @@
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@ -1083,6 +1114,24 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@ -1137,12 +1186,6 @@
"Duration": 1000,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "NPITaskPacking",
"Duration": 1000,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "PMU_POLL",
@ -1155,6 +1198,30 @@
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "FGCpuset",
"Duration": 1000,
"Value": "0-5"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@ -1175,15 +1242,15 @@
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "NPITaskPacking",
"Node": "PMU_POLL",
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "PMU_POLL",
"Node": "FGCpuset",
"Duration": 2000,
"Value": "0"
"Value": "0-5"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
@ -1211,33 +1278,15 @@
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "MemFreq",
"Duration": 300,
"Value": "9999999"
"Node": "PMU_POLL",
"Duration": 100,
"Value": "0"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUBigClusterMaxFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUBigClusterMinFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUMidClusterMaxFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUMidClusterMinFreq",
"Duration": 300,
"Value": "9999999"
"Node": "CAMUClampBoost",
"Duration": 100,
"Value": "765"
},
{
"PowerHint": "CAMERA_BACKEND_BOOST",
@ -1601,9 +1650,9 @@
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "NPITaskPacking",
"Node": "VIRTUAL-SKIN-CPU-MID",
"Duration": 0,
"Value": "0"
"Value": "camera"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
@ -1617,6 +1666,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "DsuMinFreq",
"Duration": 0,
"Value": "820000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PMU_LIT_LIMIT_FREQ",
@ -1751,9 +1806,9 @@
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "NPITaskPacking",
"Node": "VIRTUAL-SKIN-CPU-MID",
"Duration": 0,
"Value": "0"
"Value": "camera"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
@ -1883,9 +1938,9 @@
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "NPITaskPacking",
"Node": "VIRTUAL-SKIN-CPU-MID",
"Duration": 0,
"Value": "0"
"Value": "camera"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1965,12 +2020,6 @@
"Duration": 0,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "PowerHALCameraRunning",
@ -2109,12 +2158,6 @@
"Duration": 0,
"Value": "30"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_VIDEO_RECORDING",
"Type": "MaskHint",
@ -2281,75 +2324,45 @@
},
{
"PowerHint": "LOW_POWER",
"Node": "BigControlTempSet",
"Node": "BigTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "MidControlTempSet",
"Node": "MidTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "LittleControlTempSet",
"Node": "LittleTjOffset",
"Duration": 0,
"Value": "85000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "G3dControlTempSet",
"Node": "G3dTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "TpuControlTempSet",
"Node": "TpuTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "AurControlTempSet",
"Node": "AurTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "BigSwitchOnTempSet",
"Node": "CPUTaperedDVFSHeadroomEnable",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "MidSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "LittleSwitchOnTempSet",
"Duration": 0,
"Value": "65000"
},
{
"PowerHint": "LOW_POWER",
"Node": "G3dSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "TpuSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "AurSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
"Value": "1"
},
{
"PowerHint": "DISPLAY_IDLE",
@ -2464,6 +2477,18 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "GAME",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "SchedLibMaskIn",
"Duration": 0,
"Value": "0x100"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",
@ -2472,75 +2497,39 @@
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "BigControlTempSet",
"Node": "BigTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "MidControlTempSet",
"Node": "MidTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "LittleControlTempSet",
"Node": "LittleTjOffset",
"Duration": 0,
"Value": "85000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "G3dControlTempSet",
"Node": "G3dTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "TpuControlTempSet",
"Node": "TpuTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "AurControlTempSet",
"Node": "AurTjOffset",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "BigSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "MidSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "LittleSwitchOnTempSet",
"Duration": 0,
"Value": "65000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "G3dSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "TpuSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "AurSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
@ -2560,6 +2549,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "CPUTaperedDVFSHeadroomEnable",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "Dex2oatThreads",
@ -2579,19 +2574,19 @@
"Value": "2"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
@ -2812,12 +2807,6 @@
"Duration": 0,
"Value": "0-8"
},
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "MIFTargetLoad",
@ -2854,7 +2843,7 @@
"Name": "REFRESH_90FPS",
"PID_On": true,
"PID_Po": 2.0,
"PID_Pu": 1.0,
"PID_Pu": 0.7,
"PID_I": 0.0,
"PID_I_Init": 200,
"PID_I_High": 512,
@ -2862,7 +2851,7 @@
"PID_Do": 500.0,
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 161,
"UclampMin_Init": 231,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"SamplingWindow_P": 1,
@ -2878,7 +2867,7 @@
"Name": "REFRESH_60FPS",
"PID_On": true,
"PID_Po": 2.0,
"PID_Pu": 1.0,
"PID_Pu": 0.5,
"PID_I": 0.0,
"PID_I_Init": 200,
"PID_I_High": 512,
@ -2886,7 +2875,7 @@
"PID_Do": 500.0,
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 161,
"UclampMin_Init": 231,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"SamplingWindow_P": 1,

View file

@ -247,6 +247,36 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUUClampMaxFilterEnable",
"Path": "/proc/vendor_sched/uclamp_max_filter_enable",
"Values": [
"1",
"0"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/bg_uclamp_max",
"Values": [
"130",
"512"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "Dex2oatUClampMaxBoost",
"Path": "/proc/vendor_sched/dex2oat_uclamp_max",
"Values": [
"-2",
"615"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CAMUClampBoost",
"Path": "/proc/vendor_sched/cam_uclamp_min",
@ -303,6 +333,15 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGCpuset",
"Path": "/dev/cpuset/foreground/cpus",
"Values": [
"0-5",
"0-7"
],
"ResetOnInit": true
},
{
"Name": "CDCpuset",
"Path": "/dev/cpuset/camera-daemon/cpus",
@ -388,8 +427,8 @@
"Name": "NPITaskPacking",
"Path": "/proc/vendor_sched/npi_packing",
"Values": [
"0",
"1"
"1",
"0"
],
"ResetOnInit": true
},
@ -759,6 +798,15 @@
"20 40"
],
"ResetOnInit": true
},
{
"Name": "SchedLibMaskIn",
"Path": "/proc/vendor_sched/sched_lib_mask_in",
"Values": [
"0x100",
"0x0"
],
"ResetOnInit": true
}
],
"Actions": [
@ -821,6 +869,24 @@
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUUClampMaxFilterEnable",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "BGUClampMaxBoost",
"Duration": 5000,
"Value": "512"
},
{
"PowerHint": "LAUNCH",
"Node": "Dex2oatUClampMaxBoost",
"Duration": 5000,
"Value": "615"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
@ -851,12 +917,6 @@
"Duration": 5000,
"Value": "1401000"
},
{
"PowerHint": "LAUNCH",
"Node": "NPITaskPacking",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Type": "DoHint",
@ -909,6 +969,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
@ -939,6 +1005,24 @@
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUUClampMaxFilterEnable",
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "BGUClampMaxBoost",
"Duration": 2000,
"Value": "512"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "Dex2oatUClampMaxBoost",
"Duration": 2000,
"Value": "615"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPULittleClusterDownRateLimitUs",
@ -969,6 +1053,12 @@
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@ -1077,12 +1167,6 @@
"Duration": 1000,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "NPITaskPacking",
"Duration": 1000,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "PMU_POLL",
@ -1095,6 +1179,12 @@
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "FGCpuset",
"Duration": 1000,
"Value": "0-5"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@ -1115,15 +1205,15 @@
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "NPITaskPacking",
"Node": "PMU_POLL",
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "PMU_POLL",
"Node": "FGCpuset",
"Duration": 2000,
"Value": "0"
"Value": "0-5"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
@ -1151,33 +1241,15 @@
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "MemFreq",
"Duration": 300,
"Value": "9999999"
"Node": "PMU_POLL",
"Duration": 100,
"Value": "0"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUBigClusterMaxFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUBigClusterMinFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUMidClusterMaxFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUMidClusterMinFreq",
"Duration": 300,
"Value": "9999999"
"Node": "CAMUClampBoost",
"Duration": 100,
"Value": "765"
},
{
"PowerHint": "CAMERA_BACKEND_BOOST",
@ -1437,18 +1509,18 @@
"Duration": 0,
"Value": "0-8"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "DsuMinFreq",
"Duration": 0,
"Value": "820000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PMU_LIT_LIMIT_FREQ",
@ -1581,12 +1653,6 @@
"Duration": 0,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@ -1707,12 +1773,6 @@
"Duration": 0,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "PowerHALCameraRunning",
@ -1785,12 +1845,6 @@
"Duration": 0,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "PowerHALCameraRunning",
@ -1929,12 +1983,6 @@
"Duration": 0,
"Value": "30"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_VIDEO_RECORDING",
"Type": "MaskHint",
@ -2099,6 +2147,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "CPUTaperedDVFSHeadroomEnable",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "DISPLAY_IDLE",
"Node": "FGPreferIdle",
@ -2182,6 +2236,18 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "GAME",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "SchedLibMaskIn",
"Duration": 0,
"Value": "0x100"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",
@ -2278,6 +2344,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "CPUTaperedDVFSHeadroomEnable",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "Dex2oatThreads",
@ -2524,12 +2596,6 @@
"Duration": 0,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "MIFTargetLoad",

View file

@ -221,6 +221,16 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "MidClusterPowerDownTargetResidency",
"Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl1_target_residency",
"Values": [
"750000",
"10000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@ -251,6 +261,36 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUUClampMaxFilterEnable",
"Path": "/proc/vendor_sched/uclamp_max_filter_enable",
"Values": [
"1",
"0"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/bg_uclamp_max",
"Values": [
"130",
"512"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "Dex2oatUClampMaxBoost",
"Path": "/proc/vendor_sched/dex2oat_uclamp_max",
"Values": [
"-2",
"615"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CAMUClampBoost",
"Path": "/proc/vendor_sched/cam_uclamp_min",
@ -307,6 +347,15 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGCpuset",
"Path": "/dev/cpuset/foreground/cpus",
"Values": [
"0-5",
"0-7"
],
"ResetOnInit": true
},
{
"Name": "CDCpuset",
"Path": "/dev/cpuset/camera-daemon/cpus",
@ -392,8 +441,8 @@
"Name": "NPITaskPacking",
"Path": "/proc/vendor_sched/npi_packing",
"Values": [
"0",
"1"
"1",
"0"
],
"ResetOnInit": true
},
@ -453,131 +502,61 @@
"ResetOnInit": true
},
{
"Name": "BigControlTempSet",
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_2_temp",
"Name": "BigTjOffset",
"Path": "/sys/devices/platform/100a0000.BIG/offset_enabled",
"Values": [
"90000",
"80000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "MidControlTempSet",
"Path": "/dev/thermal/tz-by-name/MID/trip_point_2_temp",
"Name": "MidTjOffset",
"Path": "/sys/devices/platform/100a0000.MID/offset_enabled",
"Values": [
"90000",
"80000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "LittleControlTempSet",
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp",
"Name": "LittleTjOffset",
"Path": "/sys/devices/platform/100a0000.LITTLE/offset_enabled",
"Values": [
"95000",
"85000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "G3dControlTempSet",
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_2_temp",
"Name": "G3dTjOffset",
"Path": "/sys/devices/platform/100b0000.G3D/offset_enabled",
"Values": [
"85000",
"80000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "TpuControlTempSet",
"Path": "/dev/thermal/tz-by-name/TPU/trip_point_2_temp",
"Name": "TpuTjOffset",
"Path": "/sys/devices/platform/100b0000.TPU/offset_enabled",
"Values": [
"85000",
"80000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "AurControlTempSet",
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp",
"Name": "AurTjOffset",
"Path": "/sys/devices/platform/100b0000.AUR/offset_enabled",
"Values": [
"85000",
"80000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "BigSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_1_temp",
"Values": [
"70000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "MidSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/MID/trip_point_1_temp",
"Values": [
"70000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "LittleSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_1_temp",
"Values": [
"70000",
"65000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "G3dSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_1_temp",
"Values": [
"65000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "TpuSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/TPU/trip_point_1_temp",
"Values": [
"65000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "AurSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp",
"Values": [
"65000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "BigEarlyThrottlingTempSet",
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_4_temp",
"Values": [
"80000",
"85000"
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": false
@ -770,7 +749,8 @@
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
"Values": [
"",
"game"
"game",
"camera"
],
"DefaultIndex": 0,
"ResetOnInit": true,
@ -796,6 +776,15 @@
"20 40"
],
"ResetOnInit": true
},
{
"Name": "SchedLibMaskIn",
"Path": "/proc/vendor_sched/sched_lib_mask_in",
"Values": [
"0x100",
"0x0"
],
"ResetOnInit": true
}
],
"Actions": [
@ -858,6 +847,24 @@
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUUClampMaxFilterEnable",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "BGUClampMaxBoost",
"Duration": 5000,
"Value": "512"
},
{
"PowerHint": "LAUNCH",
"Node": "Dex2oatUClampMaxBoost",
"Duration": 5000,
"Value": "615"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
@ -888,12 +895,6 @@
"Duration": 5000,
"Value": "1401000"
},
{
"PowerHint": "LAUNCH",
"Node": "NPITaskPacking",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Type": "DoHint",
@ -946,6 +947,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
@ -976,6 +983,24 @@
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUUClampMaxFilterEnable",
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "BGUClampMaxBoost",
"Duration": 2000,
"Value": "512"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "Dex2oatUClampMaxBoost",
"Duration": 2000,
"Value": "615"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPULittleClusterDownRateLimitUs",
@ -1006,6 +1031,12 @@
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@ -1071,6 +1102,12 @@
"Duration": 0,
"Value": "10000"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "MidClusterPowerDownTargetResidency",
"Duration": 0,
"Value": "10000"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "TAPreferIdle",
@ -1083,6 +1120,24 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@ -1137,12 +1192,6 @@
"Duration": 1000,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "NPITaskPacking",
"Duration": 1000,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "PMU_POLL",
@ -1155,6 +1204,30 @@
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "FGCpuset",
"Duration": 1000,
"Value": "0-5"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@ -1175,15 +1248,15 @@
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "NPITaskPacking",
"Node": "PMU_POLL",
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "PMU_POLL",
"Node": "FGCpuset",
"Duration": 2000,
"Value": "0"
"Value": "0-5"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
@ -1211,33 +1284,15 @@
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "MemFreq",
"Duration": 300,
"Value": "9999999"
"Node": "PMU_POLL",
"Duration": 100,
"Value": "0"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUBigClusterMaxFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUBigClusterMinFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUMidClusterMaxFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUMidClusterMinFreq",
"Duration": 300,
"Value": "9999999"
"Node": "CAMUClampBoost",
"Duration": 100,
"Value": "765"
},
{
"PowerHint": "CAMERA_BACKEND_BOOST",
@ -1499,9 +1554,9 @@
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "NPITaskPacking",
"Node": "VIRTUAL-SKIN-CPU-MID",
"Duration": 0,
"Value": "0"
"Value": "camera"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
@ -1515,6 +1570,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "DsuMinFreq",
"Duration": 0,
"Value": "820000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PMU_LIT_LIMIT_FREQ",
@ -1649,9 +1710,9 @@
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "NPITaskPacking",
"Node": "VIRTUAL-SKIN-CPU-MID",
"Duration": 0,
"Value": "0"
"Value": "camera"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
@ -1781,9 +1842,9 @@
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "NPITaskPacking",
"Node": "VIRTUAL-SKIN-CPU-MID",
"Duration": 0,
"Value": "0"
"Value": "camera"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1863,12 +1924,6 @@
"Duration": 0,
"Value": "4-8"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "PowerHALCameraRunning",
@ -2007,12 +2062,6 @@
"Duration": 0,
"Value": "30"
},
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_VIDEO_RECORDING",
"Type": "MaskHint",
@ -2179,81 +2228,45 @@
},
{
"PowerHint": "LOW_POWER",
"Node": "BigControlTempSet",
"Node": "BigTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "MidControlTempSet",
"Node": "MidTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "LittleControlTempSet",
"Node": "LittleTjOffset",
"Duration": 0,
"Value": "85000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "G3dControlTempSet",
"Node": "G3dTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "TpuControlTempSet",
"Node": "TpuTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "AurControlTempSet",
"Node": "AurTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "BigSwitchOnTempSet",
"Node": "CPUTaperedDVFSHeadroomEnable",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "MidSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "LittleSwitchOnTempSet",
"Duration": 0,
"Value": "65000"
},
{
"PowerHint": "LOW_POWER",
"Node": "G3dSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "TpuSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "AurSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "BigEarlyThrottlingTempSet",
"Duration": 0,
"Value": "85000"
"Value": "1"
},
{
"PowerHint": "DISPLAY_IDLE",
@ -2368,6 +2381,18 @@
"Duration": 0,
"Value": "game"
},
{
"PowerHint": "GAME",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "SchedLibMaskIn",
"Duration": 0,
"Value": "0x100"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",
@ -2376,81 +2401,39 @@
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "BigControlTempSet",
"Node": "BigTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "MidControlTempSet",
"Node": "MidTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "LittleControlTempSet",
"Node": "LittleTjOffset",
"Duration": 0,
"Value": "85000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "G3dControlTempSet",
"Node": "G3dTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "TpuControlTempSet",
"Node": "TpuTjOffset",
"Duration": 0,
"Value": "80000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "AurControlTempSet",
"Node": "AurTjOffset",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "BigSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "MidSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "LittleSwitchOnTempSet",
"Duration": 0,
"Value": "65000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "G3dSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "TpuSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "AurSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "BigEarlyThrottlingTempSet",
"Duration": 0,
"Value": "85000"
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
@ -2470,6 +2453,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "CPUTaperedDVFSHeadroomEnable",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "Dex2oatThreads",
@ -2489,19 +2478,19 @@
"Value": "2"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
@ -2722,12 +2711,6 @@
"Duration": 0,
"Value": "0-8"
},
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "NPITaskPacking",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "MIFTargetLoad",
@ -2764,7 +2747,7 @@
"Name": "REFRESH_90FPS",
"PID_On": true,
"PID_Po": 2.0,
"PID_Pu": 1.0,
"PID_Pu": 0.7,
"PID_I": 0.0,
"PID_I_Init": 200,
"PID_I_High": 512,
@ -2772,7 +2755,7 @@
"PID_Do": 500.0,
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 161,
"UclampMin_Init": 231,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"SamplingWindow_P": 1,
@ -2788,7 +2771,7 @@
"Name": "REFRESH_60FPS",
"PID_On": true,
"PID_Po": 2.0,
"PID_Pu": 1.0,
"PID_Pu": 0.5,
"PID_I": 0.0,
"PID_I_Init": 200,
"PID_I_High": 512,
@ -2796,7 +2779,7 @@
"PID_Do": 500.0,
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 161,
"UclampMin_Init": 231,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"SamplingWindow_P": 1,

View file

@ -45,6 +45,9 @@
<!-- 140 nits: (140-2)/(1000-2)*(0.71-0.0)+0.0 = 0.098176353 -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.098176353</item>
<!-- Allow normal brightness controller feature. -->
<bool name="config_allowNormalBrightnessControllerFeature">true</bool>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows:
Zone 0: 0 <= LUX < array[0]
@ -245,10 +248,7 @@
<!-- Display cutout configuration -->
<string translatable="false" name="config_mainBuiltInDisplayCutout">
M 504,66.5
a 36,36 0 0 1 72,0
a 36,36 0 0 1 -72,0
Z
m 576,65.75 a 36.25,36.25 0 0 0 -72.5,0 36.25,36.25 0 0 0 72.5,0 z
@left
</string>

View file

@ -49,10 +49,7 @@
<!-- Configure 13px of extra protection around the front-facing camera -->
<string translatable="false" name="config_frontBuiltInDisplayCutoutProtection">
M 489.5,66
a 50,50 0 0 1 100,0
a 50,50 0 0 1 -100,0
Z
m 589,65.75 a 49.25,49.25 0 0 0 -98.5,0 49.25,49.25 0 0 0 98.5,0 z
</string>
<!-- The time (in ms) needed to trigger the lock icon view's long-press affordance -->

View file

@ -23,4 +23,11 @@
<dimen name="physical_volume_up_button_center_screen_location_y">1000px</dimen>
<dimen name="physical_volume_down_button_center_screen_location_y">1160px</dimen>
<!-- Padding for the lock icon on the keyguard. In pixels - should not scale with
display size. -->
<dimen name="lock_icon_padding">50px</dimen>
<!-- Offset should not be more than 1mm -->
<dimen name="udfps_burn_in_offset_x">6px</dimen>
<dimen name="udfps_burn_in_offset_y">17px</dimen>
</resources>

View file

@ -20,7 +20,6 @@
<item>GKWS6</item>
<item>GZPF0</item>
<item>GPJ41</item>
<item>G9BQD</item>
</string-array>
<bool name="tag_intent_app_pref_supported">true</bool>
<!-- NFC Antenna Location API -->

View file

@ -129,15 +129,40 @@
"Offset":1140,
"Multiplier":0.001
},
{
"Name":"thb_hda",
"Type":"UNKNOWN",
"Multiplier":1
},
{
"Name":"IS_WLC",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"Combination":["thb_hda"],
"Coefficient":[1],
"Multiplier":1
},
{
"Name":"VIRTUAL-SKIN-CHARGE",
"Type":"UNKNOWN",
"Version":"4.0",
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1", "VIRTUAL-SKIN-CHARGE-SUB-2", "VIRTUAL-SKIN-CHARGE-SUB-3"],
"Coefficient":[1.0, 1.0, 1.0, 1.0],
"Multiplier":0.001
},
{
"Name":"VIRTUAL-SKIN-CHARGE-WIRED",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"WEIGHTED_AVG",
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
"Coefficient":[1.0, -1000000],
"HotThreshold":["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
"Multiplier":0.001,
@ -172,6 +197,49 @@
}
]
},
{
"Name":"VIRTUAL-SKIN-CHARGE-PERSIST",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE"],
"Coefficient":[1.0],
"HotThreshold":["NAN", 35.0, 41.0, 45.0, 47.0, 51.0, 55.0],
"HotHysteresis":[0.0, 1.9, 1.9, 3.9, 1.9, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":60000,
"PassiveDelay":7000,
"PIDInfo": {
"K_Po":["NAN", "NAN", 213, "NAN", "NAN", "NAN", "NAN"],
"K_Pu":["NAN", "NAN", 213, "NAN", "NAN", "NAN", "NAN"],
"K_I":["NAN", "NAN", 27, "NAN", "NAN", "NAN", "NAN"],
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"I_Max":["NAN", "NAN", 1383, "NAN", "NAN", "NAN", "NAN"],
"S_Power":["NAN", "NAN", 2383, "NAN", "NAN", "NAN", "NAN"],
"MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", 8022, "NAN", "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", 8, "NAN", "NAN", "NAN", "NAN"],
"I_Default":1383
},
"ExcludedPowerInfo": [
{
"PowerRail": "PARTIAL_SYSTEM_POWER",
"PowerWeight": [0.21, 0.21, 0.21, 0.21, 0.42, 0.42, 0.42]
}
],
"BindedCdevInfo": [
{
"CdevRequest": "chg_mdis",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"CdevCeiling": [0, 25, 25, 26, 26, 26, 26],
"LimitInfo": [0, 0, 1, 1, 26, 26, 26]
}
]
},
{
"Name":"USB-MINUS-NEUTRAL",
"Type":"UNKNOWN",

View file

@ -162,15 +162,40 @@
"Offset":-5080,
"Multiplier":0.001
},
{
"Name":"thb_hda",
"Type":"UNKNOWN",
"Multiplier":1
},
{
"Name":"IS_WLC",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"Combination":["thb_hda"],
"Coefficient":[1],
"Multiplier":1
},
{
"Name":"VIRTUAL-SKIN-CHARGE",
"Type":"UNKNOWN",
"Version":"4.0",
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1", "VIRTUAL-SKIN-CHARGE-SUB-2", "VIRTUAL-SKIN-CHARGE-SUB-3", "VIRTUAL-SKIN-CHARGE-SUB-4", "VIRTUAL-SKIN-CHARGE-SUB-5", "VIRTUAL-SKIN-CHARGE-SUB-6"],
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
"Multiplier":0.001
},
{
"Name":"VIRTUAL-SKIN-CHARGE-WIRED",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"WEIGHTED_AVG",
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
"Coefficient":[1.0, -1000000],
"HotThreshold":["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
"Multiplier":0.001,
@ -205,6 +230,49 @@
}
]
},
{
"Name":"VIRTUAL-SKIN-CHARGE-PERSIST",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE"],
"Coefficient":[1.0],
"HotThreshold":["NAN", 35.0, 41.0, 45.0, 47.0, 51.0, 55.0],
"HotHysteresis":[0.0, 1.9, 1.9, 3.9, 1.9, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":60000,
"PassiveDelay":7000,
"PIDInfo": {
"K_Po":["NAN", "NAN", 164, "NAN", "NAN", "NAN", "NAN"],
"K_Pu":["NAN", "NAN", 164, "NAN", "NAN", "NAN", "NAN"],
"K_I":["NAN", "NAN", 21, "NAN", "NAN", "NAN", "NAN"],
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"I_Max":["NAN", "NAN", 1066, "NAN", "NAN", "NAN", "NAN"],
"S_Power":["NAN", "NAN", 2066, "NAN", "NAN", "NAN", "NAN"],
"MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", 6412, "NAN", "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", 8, "NAN", "NAN", "NAN", "NAN"],
"I_Default":1066
},
"ExcludedPowerInfo": [
{
"PowerRail": "PARTIAL_SYSTEM_POWER",
"PowerWeight": [0.16, 0.16, 0.16, 0.16, 0.32, 0.32, 0.32]
}
],
"BindedCdevInfo": [
{
"CdevRequest": "chg_mdis",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"CdevCeiling": [0, 25, 25, 26, 26, 26, 26],
"LimitInfo": [0, 0, 1, 1, 26, 26, 26]
}
]
},
{
"Name":"USB-MINUS-NEUTRAL",
"Type":"UNKNOWN",

View file

@ -473,6 +473,26 @@
"Disabled":true
}
]
},
{
"Mode": "camera",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
]
},
@ -518,7 +538,7 @@
},
{
"CdevRequest": "thermal-cpufreq-2",
"CdevWeightForPID": [0.252, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
"CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
"MaxReleaseStep": 1,
"MaxThrottleStep": 2,
"CdevCeiling": [0, 13, 13, 13, 13, 13, 13]
@ -550,18 +570,24 @@
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156],
"MaxReleaseStep": 1,
"Disabled":true
"MaxThrottleStep": 1,
"CdevCeiling": [0, 6, 6, 6, 6, 6, 6]
},
{
"CdevRequest": "thermal-cpufreq-1",
"CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428],
"MaxReleaseStep": 1,
"Disabled":true
"MaxThrottleStep": 2,
"CdevCeiling": [0, 9, 9, 9, 9, 9, 9]
},
{
"CdevRequest": "thermal-cpufreq-2",
"CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
"MaxReleaseStep": 1,
"Disabled":true
"MaxThrottleStep": 2,
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
}
]
}
@ -770,15 +796,40 @@
"Offset":1140,
"Multiplier":0.001
},
{
"Name":"thb_hda",
"Type":"UNKNOWN",
"Multiplier":1
},
{
"Name":"IS_WLC",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"Combination":["thb_hda"],
"Coefficient":[1],
"Multiplier":1
},
{
"Name":"VIRTUAL-SKIN-CHARGE",
"Type":"UNKNOWN",
"Version":"4.0",
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1", "VIRTUAL-SKIN-CHARGE-SUB-2", "VIRTUAL-SKIN-CHARGE-SUB-3"],
"Coefficient":[1.0, 1.0, 1.0, 1.0],
"Multiplier":0.001
},
{
"Name":"VIRTUAL-SKIN-CHARGE-WIRED",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"WEIGHTED_AVG",
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
"Coefficient":[1.0, -1000000],
"HotThreshold":["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
"Multiplier":0.001,
@ -813,6 +864,49 @@
}
]
},
{
"Name":"VIRTUAL-SKIN-CHARGE-PERSIST",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE"],
"Coefficient":[1.0],
"HotThreshold":["NAN", 35.0, 41.0, 45.0, 47.0, 51.0, 55.0],
"HotHysteresis":[0.0, 1.9, 1.9, 3.9, 1.9, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":60000,
"PassiveDelay":7000,
"PIDInfo": {
"K_Po":["NAN", "NAN", 213, "NAN", "NAN", "NAN", "NAN"],
"K_Pu":["NAN", "NAN", 213, "NAN", "NAN", "NAN", "NAN"],
"K_I":["NAN", "NAN", 27, "NAN", "NAN", "NAN", "NAN"],
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"I_Max":["NAN", "NAN", 1383, "NAN", "NAN", "NAN", "NAN"],
"S_Power":["NAN", "NAN", 2383, "NAN", "NAN", "NAN", "NAN"],
"MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", 8022, "NAN", "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", 8, "NAN", "NAN", "NAN", "NAN"],
"I_Default":1383
},
"ExcludedPowerInfo": [
{
"PowerRail": "PARTIAL_SYSTEM_POWER",
"PowerWeight": [0.21, 0.21, 0.21, 0.21, 0.42, 0.42, 0.42]
}
],
"BindedCdevInfo": [
{
"CdevRequest": "chg_mdis",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"CdevCeiling": [0, 25, 25, 26, 26, 26, 26],
"LimitInfo": [0, 0, 1, 1, 26, 26, 26]
}
]
},
{
"Name":"VIRTUAL-SKIN-FRONT-SUB-0",
"Type":"UNKNOWN",

View file

@ -441,6 +441,26 @@
"Disabled":true
}
]
},
{
"Mode": "camera",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
]
},
@ -486,7 +506,7 @@
},
{
"CdevRequest": "thermal-cpufreq-2",
"CdevWeightForPID": [0.252, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
"CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
"MaxReleaseStep": 1,
"MaxThrottleStep": 2,
"CdevCeiling": [0, 13, 13, 13, 13, 13, 13]
@ -518,18 +538,24 @@
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156],
"MaxReleaseStep": 1,
"Disabled":true
"MaxThrottleStep": 1,
"CdevCeiling": [0, 6, 6, 6, 6, 6, 6]
},
{
"CdevRequest": "thermal-cpufreq-1",
"CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428],
"MaxReleaseStep": 1,
"Disabled":true
"MaxThrottleStep": 2,
"CdevCeiling": [0, 9, 9, 9, 9, 9, 9]
},
{
"CdevRequest": "thermal-cpufreq-2",
"CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
"MaxReleaseStep": 1,
"Disabled":true
"MaxThrottleStep": 2,
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
}
]
}
@ -782,15 +808,40 @@
"Offset":-5080,
"Multiplier":0.001
},
{
"Name":"thb_hda",
"Type":"UNKNOWN",
"Multiplier":1
},
{
"Name":"IS_WLC",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"Combination":["thb_hda"],
"Coefficient":[1],
"Multiplier":1
},
{
"Name":"VIRTUAL-SKIN-CHARGE",
"Type":"UNKNOWN",
"Version":"4.0",
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1", "VIRTUAL-SKIN-CHARGE-SUB-2", "VIRTUAL-SKIN-CHARGE-SUB-3", "VIRTUAL-SKIN-CHARGE-SUB-4", "VIRTUAL-SKIN-CHARGE-SUB-5", "VIRTUAL-SKIN-CHARGE-SUB-6"],
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
"Multiplier":0.001
},
{
"Name":"VIRTUAL-SKIN-CHARGE-WIRED",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"WEIGHTED_AVG",
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
"Coefficient":[1.0, -1000000],
"HotThreshold":["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
"Multiplier":0.001,
@ -825,6 +876,49 @@
}
]
},
{
"Name":"VIRTUAL-SKIN-CHARGE-PERSIST",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-SKIN-CHARGE"],
"Coefficient":[1.0],
"HotThreshold":["NAN", 35.0, 41.0, 45.0, 47.0, 51.0, 55.0],
"HotHysteresis":[0.0, 1.9, 1.9, 3.9, 1.9, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":60000,
"PassiveDelay":7000,
"PIDInfo": {
"K_Po":["NAN", "NAN", 164, "NAN", "NAN", "NAN", "NAN"],
"K_Pu":["NAN", "NAN", 164, "NAN", "NAN", "NAN", "NAN"],
"K_I":["NAN", "NAN", 21, "NAN", "NAN", "NAN", "NAN"],
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"I_Max":["NAN", "NAN", 1066, "NAN", "NAN", "NAN", "NAN"],
"S_Power":["NAN", "NAN", 2066, "NAN", "NAN", "NAN", "NAN"],
"MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", 6412, "NAN", "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", 8, "NAN", "NAN", "NAN", "NAN"],
"I_Default":1066
},
"ExcludedPowerInfo": [
{
"PowerRail": "PARTIAL_SYSTEM_POWER",
"PowerWeight": [0.16, 0.16, 0.16, 0.16, 0.32, 0.32, 0.32]
}
],
"BindedCdevInfo": [
{
"CdevRequest": "chg_mdis",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"CdevCeiling": [0, 25, 25, 26, 26, 26, 26],
"LimitInfo": [0, 0, 1, 1, 26, 26, 26]
}
]
},
{
"Name":"VIRTUAL-SKIN-FRONT-SUB-0",
"Type":"UNKNOWN",

View file

@ -36,3 +36,5 @@ PRODUCT_COPY_FILES += \
device/google/shusky/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
device/google/shusky/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
# Add WIFI_FEATURE_IMU_DETECTION to soong_config
$(call soong_config_set,wifi,feature_imu_detection,$(WIFI_FEATURE_IMU_DETECTION))