Merge 24Q4 (ab/12406339) into aosp-main-future

Bug: 370570306
Merged-In: I977fa738050ae90d6f0cf7d0bb5d1f5a006ab696
Change-Id: If39bf65998fe85a3da4572cbfcf359a169f4de65
This commit is contained in:
Xin Li 2024-11-06 10:31:20 -08:00
commit 70c0fe6355
57 changed files with 9307 additions and 1213 deletions

View file

@ -24,10 +24,13 @@
<argument name="PollWaitMs" value="20000" /> <argument name="PollWaitMs" value="20000" />
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" /> <argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
<argument name="ThermistorType" value="UNKNOWN" /> <argument name="ThermistorType" value="UNKNOWN" />
<argument name="ThrottlingSeverity" value="MODERATE" /> <argument name="ThrottlingSeverity" value="LIGHT" />
</feature> </feature>
<feature name="RuntimeTuningDump" /> <feature name="RuntimeTuningDump" />
<!-- <feature name="spatializer-offload" /> --> <feature name="SoundDose">
<argument name="Curves" value="blackbird,condor=0,46.35,0.1950549451;54.6,57,0.98625" />
</feature>
<feature name="spatializer-offload" />
</features> </features>
<voipVolume> <voipVolume>
@ -47,7 +50,6 @@
<device name="usb" /> <device name="usb" />
<device name="speaker" codec="cs35l41"> <device name="speaker" codec="cs35l41">
<argument name="SpeakerNum" value="2" /> <argument name="SpeakerNum" value="2" />
<argument name="Rotation" />
<argument name="AcousticShockProtection" /> <argument name="AcousticShockProtection" />
</device> </device>
</devices> </devices>
@ -58,11 +60,12 @@
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" /> <argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
</tuner> </tuner>
<tuner type="telephony" name="fortemedia"> <tuner type="telephony" name="fortemedia">
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" /> <argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
<argument name="VoIP_Rate" value="32000" /> <argument name="VoIP_Rate" value="32000" />
<argument name="BOOST_USB_SWB_CLK" value="y" /> <argument name="BOOST_USB_SWB_CLK" value="y" />
<argument name="BOOST_HANDSET_SWB_CLK" value="y" /> <argument name="BOOST_HANDSET_SWB_CLK" value="y" />
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" /> <argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
<argument name="MCPS_TABLE" value="y" />
</tuner> </tuner>
<tuner type="capture" name="gs_capture" /> <tuner type="capture" name="gs_capture" />
</tuners> </tuners>
@ -71,8 +74,8 @@
<latency source="primary-playback" sink="speaker" milliseconds="20" /> <latency source="primary-playback" sink="speaker" milliseconds="20" />
<latency source="primary-playback" sink="usb-device" milliseconds="10" /> <latency source="primary-playback" sink="usb-device" milliseconds="10" />
<latency source="primary-playback" sink="usb-headset" 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-a2dp-device" milliseconds="100" />
<latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="10" /> <latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="100" />
<latency source="deep-buffer-playback" sink="speaker" milliseconds="70" /> <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-device" milliseconds="70" />
@ -89,18 +92,18 @@
<latency source="microphones" sink="primary-capture" milliseconds="160" /> <latency source="microphones" sink="primary-capture" milliseconds="160" />
<latency source="back-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" /> <latency source="bluetooth-sco-headset" sink="primary-capture" milliseconds="40" />
<latency source="usb-device-microphones" sink="primary-capture" milliseconds="100" />
<latency source="usb-headset-microphones" sink="primary-capture" milliseconds="100" />
</latencies> </latencies>
<spatialCapture> <spatialCapture>
<enablement useCase="primary-capture" deviceInterface="microphones"> <enablement useCase="primary-capture" deviceInterface="microphones">
<source>MIC</source> <source>MIC</source>
<source>CAMCORDER</source> <source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement> </enablement>
<enablement useCase="primary-capture" deviceInterface="back-microphones"> <enablement useCase="primary-capture" deviceInterface="back-microphones">
<source>MIC</source> <source>MIC</source>
<source>CAMCORDER</source> <source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement> </enablement>
</spatialCapture> </spatialCapture>

View file

@ -233,6 +233,7 @@
<ctl name="EP6 TX Mixer INCALL_TX" value="0" /> <ctl name="EP6 TX Mixer INCALL_TX" value="0" />
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0" /> <ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0"/>
<ctl name="EP4 TX Mixer I2S_2_TX" value="0" /> <ctl name="EP4 TX Mixer I2S_2_TX" value="0" />
<!-- AoC Mic setting --> <!-- AoC Mic setting -->
@ -256,10 +257,14 @@
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" /> <ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" />
<ctl name="Voice Call Mic Source" value="Builtin_MIC" /> <ctl name="Voice Call Mic Source" value="Builtin_MIC" />
<ctl name="Mic Spatial Module Enable" value="0" />
<ctl name="Audio Capture Eraser Enable" value="0" /> <ctl name="Audio Capture Eraser Enable" value="0" />
<ctl name="Hotword Tap Enable" value="0" /> <ctl name="Hotword Tap Enable" value="0" />
<!-- In AIDL Hal, this controlled by audio hal directly to avoid aoc" -->
<!-- crashing since speicifc order is needed between dsp mode and" -->
<!-- spatial module." -->
<ctl name="Mic Spatial Module Enable" value="0" />
<!-- audio PDM mic default state --> <!-- audio PDM mic default state -->
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" /> <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" /> <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
@ -307,6 +312,7 @@
<ctl name="Incall Capture Stream0" value="Off" /> <ctl name="Incall Capture Stream0" value="Off" />
<ctl name="Incall Capture Stream1" value="Off" /> <ctl name="Incall Capture Stream1" value="Off" />
<ctl name="Incall Capture Stream2" value="Off" /> <ctl name="Incall Capture Stream2" value="Off" />
<ctl name="Incall Capture Stream3" value="Off" />
<!-- These two controls control the muting function of mics and sinks during the voice call. --> <!-- These two controls control the muting function of mics and sinks during the voice call. -->
<!-- They would be enabled by HAL. --> <!-- They would be enabled by HAL. -->
@ -413,6 +419,10 @@
<path name="primary-playback -> bt" /> <path name="primary-playback -> bt" />
</path> </path>
<path name="primary-playback-0 -> bluetooth-low-energy-broadcast">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> usb"> <path name="primary-playback-0 -> usb">
<ctl name="USB_RX Mixer EP2" value="1" /> <ctl name="USB_RX Mixer EP2" value="1" />
</path> </path>
@ -485,6 +495,10 @@
<path name="raw-playback -> bt" /> <path name="raw-playback -> bt" />
</path> </path>
<path name="raw-playback-0 -> bluetooth-low-energy-broadcast">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> usb"> <path name="raw-playback-0 -> usb">
<ctl name="USB_RX Mixer RAW" value="1" /> <ctl name="USB_RX Mixer RAW" value="1" />
</path> </path>
@ -557,6 +571,10 @@
<path name="deep-buffer-playback -> bt" /> <path name="deep-buffer-playback -> bt" />
</path> </path>
<path name="deep-buffer-playback-0 -> bluetooth-low-energy-broadcast">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> usb"> <path name="deep-buffer-playback-0 -> usb">
<ctl name="USB_RX Mixer EP6" value="1" /> <ctl name="USB_RX Mixer EP6" value="1" />
</path> </path>
@ -634,6 +652,10 @@
<path name="compress-offload-playback -> bt" /> <path name="compress-offload-playback -> bt" />
</path> </path>
<path name="compress-offload-playback-0 -> bluetooth-low-energy-broadcast">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> usb"> <path name="compress-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP7" value="1" /> <ctl name="USB_RX Mixer EP7" value="1" />
</path> </path>
@ -706,6 +728,10 @@
<path name="mmap-playback -> bt" /> <path name="mmap-playback -> bt" />
</path> </path>
<path name="mmap-playback-0 -> bluetooth-low-energy-broadcast">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> usb"> <path name="mmap-playback-0 -> usb">
<ctl name="USB_RX Mixer EP1" value="1" /> <ctl name="USB_RX Mixer EP1" value="1" />
</path> </path>
@ -790,6 +816,10 @@
<path name="voip-playback -> bt" /> <path name="voip-playback -> bt" />
</path> </path>
<path name="voip-playback-0 -> bluetooth-low-energy-broadcast">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> usb"> <path name="voip-playback-0 -> usb">
<ctl name="USB_RX Mixer VOIP" value="1" /> <ctl name="USB_RX Mixer VOIP" value="1" />
</path> </path>
@ -806,61 +836,6 @@
<path name="voip-playback-0 -> usb" /> <path name="voip-playback-0 -> usb" />
</path> </path>
<path name="immersive-playback -> speaker">
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> speaker">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback-0 -> speaker-earpiece">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback-0 -> speaker-safe">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback -> bt">
<ctl name="BT_RX Mixer IMSV" value="1" />
</path>
<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 -> bluetooth-low-energy-headset">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-low-energy-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="spatializer-offload-playback -> speaker"> <path name="spatializer-offload-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP4" value="1" /> <ctl name="TDM_0_RX Mixer EP4" value="1" />
@ -882,6 +857,18 @@
<ctl name="BT_RX Mixer EP4" value="1" /> <ctl name="BT_RX Mixer EP4" value="1" />
</path> </path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-default">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-headset">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-car-kit">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device"> <path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device">
<path name="spatializer-offload-playback -> bt" /> <path name="spatializer-offload-playback -> bt" />
</path> </path>
@ -902,6 +889,10 @@
<path name="spatializer-offload-playback -> bt" /> <path name="spatializer-offload-playback -> bt" />
</path> </path>
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-broadcast">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> usb"> <path name="spatializer-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP4" value="1" /> <ctl name="USB_RX Mixer EP4" value="1" />
</path> </path>
@ -972,6 +963,10 @@
<path name="haptic-playback -> bt" /> <path name="haptic-playback -> bt" />
</path> </path>
<path name="haptic-playback-0 -> bluetooth-low-energy-broadcast">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> usb"> <path name="haptic-playback-0 -> usb">
<ctl name="USB_RX Mixer EP3" value="1" /> <ctl name="USB_RX Mixer EP3" value="1" />
<ctl name="TDM_0_RX Mixer EP8" value="1" /> <ctl name="TDM_0_RX Mixer EP8" value="1" />
@ -1046,6 +1041,39 @@
<ctl name="VOIP TX Mixer BT_TX" value="1" /> <ctl name="VOIP TX Mixer BT_TX" value="1" />
</path> </path>
<path name="microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="back-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> voip-gsenet-capture-0">
<path name="usb-microphones -> voip-gsenet-capture-0" />
</path>
<path name="usb-device-microphones -> voip-gsenet-capture-0">
<path name="usb-microphones -> voip-gsenet-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="bluetooth-low-energy-headset-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="microphones -> fast-capture-0"> <path name="microphones -> fast-capture-0">
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" /> <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
</path> </path>
@ -1074,11 +1102,47 @@
<ctl name="EP3 TX Mixer BT_TX" value="1" /> <ctl name="EP3 TX Mixer BT_TX" value="1" />
</path> </path>
<path name="microphones -> sound-trigger-capture-0" /> <path name="sound-trigger-microphones -> sound-trigger-capture-0" />
<path name="microphones -> sound-trigger-tap-capture-0" /> <path name="sound-trigger-microphones -> sound-trigger-tap-capture-0">
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="Hotword Tap Enable" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones -> hotword-lookback-capture-0" /> <path name="sound-trigger-microphones -> hotword-lookback-capture-0" />
<path name="ultrasound-microphones -> ultrasound-capture-0">
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="back-microphones -> mmap-capture-0">
<path name="microphones -> mmap-capture-0" />
</path>
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<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>
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<!-- voice-call dynamic route --> <!-- voice-call dynamic route -->
<path name="voice-call-downlink-0 -> speaker"> <path name="voice-call-downlink-0 -> speaker">
@ -1113,6 +1177,10 @@
<path name="voice-call-downlink-0 -> bt" /> <path name="voice-call-downlink-0 -> bt" />
</path> </path>
<path name="voice-call-downlink-0 -> bluetooth-low-energy-broadcast">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> usb"> <path name="voice-call-downlink-0 -> usb">
<ctl name="USB_RX Mixer EP5" value="1" /> <ctl name="USB_RX Mixer EP5" value="1" />
</path> </path>
@ -1165,77 +1233,9 @@
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" /> <ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path> </path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0"> <path name="in-call-capture-source-0 -> in-call-capture-0" />
<ctl name="Incall Capture Stream0" value="DL" /> <path name="in-call-capture-source-1 -> in-call-capture-1" />
</path> <path name="in-call-capture-source-2 -> in-call-capture-2" />
<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 (MIC) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="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 (MIC) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="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="telephony-rx (MIC) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<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>
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<!-- codec setting --> <!-- codec setting -->
<!-- Rx device --> <!-- Rx device -->
@ -1249,7 +1249,6 @@
<ctl name="PCM Source" value="ASP" /> <ctl name="PCM Source" value="ASP" />
<ctl name="AMP PCM Gain" value="7" /> <ctl name="AMP PCM Gain" value="7" />
<ctl name="Main AMP Enable Switch" value="1" /> <ctl name="Main AMP Enable Switch" value="1" />
<ctl name="AoC Chirp Enable" value="1" />
</path> </path>
<path name="speaker"> <path name="speaker">
@ -1266,7 +1265,6 @@
<ctl name="R ASPTX1 Slot Position" value="0" /> <ctl name="R ASPTX1 Slot Position" value="0" />
<ctl name="R Main AMP Enable Switch" value="1" /> <ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="Main AMP Enable Switch" value="1" /> <ctl name="Main AMP Enable Switch" value="1" />
<!-- load Enable FIR -->
<ctl name="Fast Use Case Delta File" value="fast_switch1.txt" /> <ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
<ctl name="Fast Use Case Switch Enable" value="1" /> <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 Delta File" value="fast_switch2.txt" />
@ -1275,36 +1273,35 @@
<path name="speaker-safe"> <path name="speaker-safe">
<ctl name="R Main AMP Enable Switch" value="1" /> <ctl name="R Main AMP Enable Switch" value="1" />
<!-- load Bypass FIR -->
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
<ctl name="R Fast Use Case Switch Enable" value="1" />
</path> </path>
<!-- Tx device --> <!-- Tx device -->
<path name="microphones"> <path name="builtin-mic-id-capture-list">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <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="1" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" /> <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" /> <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
</path>
<path name="microphones">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" /> <ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" /> <ctl name="MIC Record Soft Gain (dB)" value="22" />
</path> </path>
<path name="microphones (VOICE)"> <path name="microphones (VOICE)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="builtin-mic-id-capture-list" />
<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="MIC DC Blocker" value="1" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" /> <ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
<ctl name="MIC Record Soft Gain (dB)" value="0" /> <ctl name="MIC Record Soft Gain (dB)" value="0" />
</path> </path>
<path name="microphones (VOICE_COMMUNICATION,VOICE)">
<path name="microphones (VOICE)" />
</path>
<path name="microphones (VOICE_RECOGNITION)"> <path name="microphones (VOICE_RECOGNITION)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="builtin-mic-id-capture-list" />
<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="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" /> <ctl name="MIC Record Soft Gain (dB)" value="22" />
</path> </path>
@ -1316,91 +1313,47 @@
</path> </path>
<path name="microphones (SOUND_TRIGGER_AEC)"> <path name="microphones (SOUND_TRIGGER_AEC)">
<ctl name="Audio Capture Eraser Enable" value="1" /> <path name="builtin-mic-id-capture-list" />
<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="MIC DC Blocker" value="1" />
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="Audio Capture Mic Source" value="ERASER" /> <ctl name="Audio Capture Mic Source" value="ERASER" />
<ctl name="MIC Record Soft Gain (dB)" value="0" /> <ctl name="MIC Record Soft Gain (dB)" value="0" />
</path> </path>
<path name="back-microphones"> <path name="microphones (CAMCORDER)">
<ctl name="Mic Spatial Module Enable" value="1" /> <path name="builtin-mic-id-capture-list" />
<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="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" /> <ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (UNPROCESSED)">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="back-microphones">
<path name="microphones" />
</path> </path>
<path name="back-microphones (VOICE)"> <path name="back-microphones (VOICE)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="microphones (VOICE)" />
<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="MIC HW Gain At High Power Mode (cB)" value="130" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path> </path>
<path name="microphones (CAMCORDER)"> <path name="back-microphones (VOICE_COMMUNICATION,VOICE)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="back-microphones (VOICE)" />
<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="MIC Record Soft Gain (dB)" value="0" />
</path> </path>
<path name="back-microphones (CAMCORDER)"> <path name="back-microphones (CAMCORDER)">
<path name="microphones (CAMCORDER)" /> <path name="microphones (CAMCORDER)" />
</path> </path>
<path name="camcorder-mic"> <path name="back-microphones (UNPROCESSED)">
<ctl name="Mic Spatial Module Enable" value="1" /> <path name="microphones (UNPROCESSED)" />
<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="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="unprocessed-mic">
<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="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="unprocessed-dual-mic">
<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="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="unprocessed-triple-mic">
<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="MIC Record Soft Gain (dB)" value="5" />
</path> </path>
<path name="bluetooth-sco-headset-microphones"> <path name="bluetooth-sco-headset-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="builtin-mic-id-capture-list" />
<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="Audio Capture Mic Source" value="BT_MIC" /> <ctl name="Audio Capture Mic Source" value="BT_MIC" />
<ctl name="Voice Call Mic Source" value="BT_MIC" /> <ctl name="Voice Call Mic Source" value="BT_MIC" />
<ctl name="MIC Record Soft Gain (dB)" value="0" /> <ctl name="MIC Record Soft Gain (dB)" value="0" />
@ -1411,9 +1364,7 @@
</path> </path>
<path name="usb-microphones"> <path name="usb-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="builtin-mic-id-capture-list" />
<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="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="Audio Capture Mic Source" value="USB_MIC" /> <ctl name="Audio Capture Mic Source" value="USB_MIC" />
<ctl name="Voice Call Mic Source" value="USB_MIC" /> <ctl name="Voice Call Mic Source" value="USB_MIC" />
@ -1428,6 +1379,54 @@
<path name="usb-microphones" /> <path name="usb-microphones" />
</path> </path>
<path name="in-call-capture-source-0 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="in-call-capture-source-0 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream0" value="UL" />
</path>
<path name="in-call-capture-source-0 (VOICE_CALL)">
<ctl name="Incall Capture Stream0" value="UL_DL" />
</path>
<path name="in-call-capture-source-0">
<path name="in-call-capture-source-0 (VOICE_DOWNLINK)" />
</path>
<path name="in-call-capture-source-1 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="in-call-capture-source-1 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream1" value="UL" />
</path>
<path name="in-call-capture-source-1 (VOICE_CALL)">
<ctl name="Incall Capture Stream1" value="UL_DL" />
</path>
<path name="in-call-capture-source-1">
<path name="in-call-capture-source-1 (VOICE_DOWNLINK)" />
</path>
<path name="in-call-capture-source-2 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="in-call-capture-source-2 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream2" value="UL" />
</path>
<path name="in-call-capture-source-2 (VOICE_CALL)">
<ctl name="Incall Capture Stream2" value="UL_DL" />
</path>
<path name="in-call-capture-source-2">
<path name="in-call-capture-source-2 (VOICE_DOWNLINK)" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c --> <!-- cs35l41 specific path to load firmware in cs35l41.c -->
<path name="cs35l41-load-protection-firmware-start"> <path name="cs35l41-load-protection-firmware-start">
<!-- Enable it after get the protection firmware --> <!-- Enable it after get the protection firmware -->

View file

@ -82,3 +82,13 @@ PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
endif endif
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# Offload spatializer config
PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/base:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/base \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_2_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_2_ch \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_6_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_6_ch \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_xaural:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_xaural \
endif

View file

@ -173,14 +173,14 @@
</input_backend_cfg_mic_mapping> </input_backend_cfg_mic_mapping>
<usecase_attr> <usecase_attr>
<!-- for output with AUDIO_OUTPUT_FLAG_RAW, 32 periods * 64 frames(around 1.3ms) * 2ch * 4(s32) = 16384 bytes --> <!-- for output with AUDIO_OUTPUT_FLAG_RAW, 40 periods * 48 frames/period * 2ch * 4(s32) = 15360 bytes -->
<usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="true" period="64" period_num="32"/> <usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="false" period="48" period_num="40"/>
<!-- for output with AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST, 4 * 10ms buffer --> <!-- for output with AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST, 4 * 10ms buffer -->
<usecase id="UC_LOW_LATENCY_PLAYBACK" dev1="1" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="4"/> <usecase id="UC_LOW_LATENCY_PLAYBACK" dev1="1" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="4"/>
<!-- for output with AUDIO_OUTPUT_FLAG_MMAP_NOIRQ, 40 periods * 48 frames/period(=1ms w/ 48k sample rate) * 2ch *4(float) = 15360 bytes --> <!-- for output with AUDIO_OUTPUT_FLAG_MMAP_NOIRQ, 40 periods * 48 frames/period(=1ms w/ 48k sample rate) * 2ch *4(float) = 15360 bytes -->
<usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="40"/> <usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="40"/>
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 4 * 20ms buffer --> <!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 2 * 40ms buffer -->
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/> <usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="40" period_num="2"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink --> <!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/> <usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER --> <!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -179,8 +179,8 @@
<usecase id="UC_LOW_LATENCY_PLAYBACK" dev1="1" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="4"/> <usecase id="UC_LOW_LATENCY_PLAYBACK" dev1="1" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="4"/>
<!-- for output with AUDIO_OUTPUT_FLAG_MMAP_NOIRQ, 40 periods * 48 frames/period(=1ms w/ 48k sample rate) * 2ch *4(float) = 15360 bytes --> <!-- for output with AUDIO_OUTPUT_FLAG_MMAP_NOIRQ, 40 periods * 48 frames/period(=1ms w/ 48k sample rate) * 2ch *4(float) = 15360 bytes -->
<usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="40"/> <usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="40"/>
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 4 * 20ms buffer --> <!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 2 * 40ms buffer -->
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/> <usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="40" period_num="2"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink --> <!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/> <usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER --> <!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->

View file

@ -24,10 +24,13 @@
<argument name="PollWaitMs" value="20000" /> <argument name="PollWaitMs" value="20000" />
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" /> <argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
<argument name="ThermistorType" value="UNKNOWN" /> <argument name="ThermistorType" value="UNKNOWN" />
<argument name="ThrottlingSeverity" value="MODERATE" /> <argument name="ThrottlingSeverity" value="LIGHT" />
</feature> </feature>
<feature name="RuntimeTuningDump" /> <feature name="RuntimeTuningDump" />
<!-- <feature name="spatializer-offload" /> --> <feature name="SoundDose">
<argument name="Curves" value="blackbird,condor=0,46.35,0.1950549451;54.6,57,0.98625" />
</feature>
<feature name="spatializer-offload" />
</features> </features>
<voipVolume> <voipVolume>
@ -47,7 +50,6 @@
<device name="usb" /> <device name="usb" />
<device name="speaker" codec="cs35l41"> <device name="speaker" codec="cs35l41">
<argument name="SpeakerNum" value="2" /> <argument name="SpeakerNum" value="2" />
<argument name="Rotation" />
<argument name="AcousticShockProtection" /> <argument name="AcousticShockProtection" />
</device> </device>
</devices> </devices>
@ -58,11 +60,12 @@
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" /> <argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
</tuner> </tuner>
<tuner type="telephony" name="fortemedia"> <tuner type="telephony" name="fortemedia">
<argument name="VoIP_DLCHs" value="SPK:2,USB:2" /> <argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
<argument name="VoIP_Rate" value="32000" /> <argument name="VoIP_Rate" value="32000" />
<argument name="BOOST_USB_SWB_CLK" value="y" /> <argument name="BOOST_USB_SWB_CLK" value="y" />
<argument name="BOOST_HANDSET_SWB_CLK" value="y" /> <argument name="BOOST_HANDSET_SWB_CLK" value="y" />
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" /> <argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
<argument name="MCPS_TABLE" value="y" />
</tuner> </tuner>
<tuner type="capture" name="gs_capture" /> <tuner type="capture" name="gs_capture" />
</tuners> </tuners>
@ -71,8 +74,8 @@
<latency source="primary-playback" sink="speaker" milliseconds="20" /> <latency source="primary-playback" sink="speaker" milliseconds="20" />
<latency source="primary-playback" sink="usb-device" milliseconds="10" /> <latency source="primary-playback" sink="usb-device" milliseconds="10" />
<latency source="primary-playback" sink="usb-headset" 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-a2dp-device" milliseconds="100" />
<latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="10" /> <latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="100" />
<latency source="deep-buffer-playback" sink="speaker" milliseconds="70" /> <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-device" milliseconds="70" />
@ -89,18 +92,18 @@
<latency source="microphones" sink="primary-capture" milliseconds="160" /> <latency source="microphones" sink="primary-capture" milliseconds="160" />
<latency source="back-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" /> <latency source="bluetooth-sco-headset" sink="primary-capture" milliseconds="40" />
<latency source="usb-device-microphones" sink="primary-capture" milliseconds="100" />
<latency source="usb-headset-microphones" sink="primary-capture" milliseconds="100" />
</latencies> </latencies>
<spatialCapture> <spatialCapture>
<enablement useCase="primary-capture" deviceInterface="microphones"> <enablement useCase="primary-capture" deviceInterface="microphones">
<source>MIC</source> <source>MIC</source>
<source>CAMCORDER</source> <source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement> </enablement>
<enablement useCase="primary-capture" deviceInterface="back-microphones"> <enablement useCase="primary-capture" deviceInterface="back-microphones">
<source>MIC</source> <source>MIC</source>
<source>CAMCORDER</source> <source>CAMCORDER</source>
<source>VOICE_RECOGNITION</source>
</enablement> </enablement>
</spatialCapture> </spatialCapture>

View file

@ -233,6 +233,7 @@
<ctl name="EP6 TX Mixer INCALL_TX" value="0" /> <ctl name="EP6 TX Mixer INCALL_TX" value="0" />
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0" /> <ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0"/>
<ctl name="EP4 TX Mixer I2S_2_TX" value="0" /> <ctl name="EP4 TX Mixer I2S_2_TX" value="0" />
<!-- AoC Mic setting --> <!-- AoC Mic setting -->
@ -256,10 +257,14 @@
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" /> <ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" />
<ctl name="Voice Call Mic Source" value="Builtin_MIC" /> <ctl name="Voice Call Mic Source" value="Builtin_MIC" />
<ctl name="Mic Spatial Module Enable" value="0" />
<ctl name="Audio Capture Eraser Enable" value="0" /> <ctl name="Audio Capture Eraser Enable" value="0" />
<ctl name="Hotword Tap Enable" value="0" /> <ctl name="Hotword Tap Enable" value="0" />
<!-- In AIDL Hal, this controlled by audio hal directly to avoid aoc" -->
<!-- crashing since speicifc order is needed between dsp mode and" -->
<!-- spatial module." -->
<ctl name="Mic Spatial Module Enable" value="0" />
<!-- audio PDM mic default state --> <!-- audio PDM mic default state -->
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" /> <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" /> <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
@ -307,6 +312,7 @@
<ctl name="Incall Capture Stream0" value="Off" /> <ctl name="Incall Capture Stream0" value="Off" />
<ctl name="Incall Capture Stream1" value="Off" /> <ctl name="Incall Capture Stream1" value="Off" />
<ctl name="Incall Capture Stream2" value="Off" /> <ctl name="Incall Capture Stream2" value="Off" />
<ctl name="Incall Capture Stream3" value="Off" />
<!-- These two controls control the muting function of mics and sinks during the voice call. --> <!-- These two controls control the muting function of mics and sinks during the voice call. -->
<!-- They would be enabled by HAL. --> <!-- They would be enabled by HAL. -->
@ -413,6 +419,10 @@
<path name="primary-playback -> bt" /> <path name="primary-playback -> bt" />
</path> </path>
<path name="primary-playback-0 -> bluetooth-low-energy-broadcast">
<path name="primary-playback -> bt" />
</path>
<path name="primary-playback-0 -> usb"> <path name="primary-playback-0 -> usb">
<ctl name="USB_RX Mixer EP2" value="1" /> <ctl name="USB_RX Mixer EP2" value="1" />
</path> </path>
@ -485,6 +495,10 @@
<path name="raw-playback -> bt" /> <path name="raw-playback -> bt" />
</path> </path>
<path name="raw-playback-0 -> bluetooth-low-energy-broadcast">
<path name="raw-playback -> bt" />
</path>
<path name="raw-playback-0 -> usb"> <path name="raw-playback-0 -> usb">
<ctl name="USB_RX Mixer RAW" value="1" /> <ctl name="USB_RX Mixer RAW" value="1" />
</path> </path>
@ -557,6 +571,10 @@
<path name="deep-buffer-playback -> bt" /> <path name="deep-buffer-playback -> bt" />
</path> </path>
<path name="deep-buffer-playback-0 -> bluetooth-low-energy-broadcast">
<path name="deep-buffer-playback -> bt" />
</path>
<path name="deep-buffer-playback-0 -> usb"> <path name="deep-buffer-playback-0 -> usb">
<ctl name="USB_RX Mixer EP6" value="1" /> <ctl name="USB_RX Mixer EP6" value="1" />
</path> </path>
@ -634,6 +652,10 @@
<path name="compress-offload-playback -> bt" /> <path name="compress-offload-playback -> bt" />
</path> </path>
<path name="compress-offload-playback-0 -> bluetooth-low-energy-broadcast">
<path name="compress-offload-playback -> bt" />
</path>
<path name="compress-offload-playback-0 -> usb"> <path name="compress-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP7" value="1" /> <ctl name="USB_RX Mixer EP7" value="1" />
</path> </path>
@ -706,6 +728,10 @@
<path name="mmap-playback -> bt" /> <path name="mmap-playback -> bt" />
</path> </path>
<path name="mmap-playback-0 -> bluetooth-low-energy-broadcast">
<path name="mmap-playback -> bt" />
</path>
<path name="mmap-playback-0 -> usb"> <path name="mmap-playback-0 -> usb">
<ctl name="USB_RX Mixer EP1" value="1" /> <ctl name="USB_RX Mixer EP1" value="1" />
</path> </path>
@ -790,6 +816,10 @@
<path name="voip-playback -> bt" /> <path name="voip-playback -> bt" />
</path> </path>
<path name="voip-playback-0 -> bluetooth-low-energy-broadcast">
<path name="voip-playback -> bt" />
</path>
<path name="voip-playback-0 -> usb"> <path name="voip-playback-0 -> usb">
<ctl name="USB_RX Mixer VOIP" value="1" /> <ctl name="USB_RX Mixer VOIP" value="1" />
</path> </path>
@ -806,61 +836,6 @@
<path name="voip-playback-0 -> usb" /> <path name="voip-playback-0 -> usb" />
</path> </path>
<path name="immersive-playback -> speaker">
<ctl name="TDM_0_RX Mixer IMSV" value="1" />
</path>
<path name="immersive-playback-0 -> speaker">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback-0 -> speaker-earpiece">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback-0 -> speaker-safe">
<path name="immersive-playback -> speaker" />
</path>
<path name="immersive-playback -> bt">
<ctl name="BT_RX Mixer IMSV" value="1" />
</path>
<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 -> bluetooth-low-energy-headset">
<path name="immersive-playback -> bt" />
</path>
<path name="immersive-playback-0 -> bluetooth-low-energy-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="spatializer-offload-playback -> speaker"> <path name="spatializer-offload-playback -> speaker">
<ctl name="TDM_0_RX Mixer EP4" value="1" /> <ctl name="TDM_0_RX Mixer EP4" value="1" />
@ -882,6 +857,18 @@
<ctl name="BT_RX Mixer EP4" value="1" /> <ctl name="BT_RX Mixer EP4" value="1" />
</path> </path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-default">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-headset">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-sco-car-kit">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device"> <path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device">
<path name="spatializer-offload-playback -> bt" /> <path name="spatializer-offload-playback -> bt" />
</path> </path>
@ -902,6 +889,10 @@
<path name="spatializer-offload-playback -> bt" /> <path name="spatializer-offload-playback -> bt" />
</path> </path>
<path name="spatializer-offload-playback-0 -> bluetooth-low-energy-broadcast">
<path name="spatializer-offload-playback -> bt" />
</path>
<path name="spatializer-offload-playback-0 -> usb"> <path name="spatializer-offload-playback-0 -> usb">
<ctl name="USB_RX Mixer EP4" value="1" /> <ctl name="USB_RX Mixer EP4" value="1" />
</path> </path>
@ -972,6 +963,10 @@
<path name="haptic-playback -> bt" /> <path name="haptic-playback -> bt" />
</path> </path>
<path name="haptic-playback-0 -> bluetooth-low-energy-broadcast">
<path name="haptic-playback -> bt" />
</path>
<path name="haptic-playback-0 -> usb"> <path name="haptic-playback-0 -> usb">
<ctl name="USB_RX Mixer EP3" value="1" /> <ctl name="USB_RX Mixer EP3" value="1" />
<ctl name="TDM_0_RX Mixer EP8" value="1" /> <ctl name="TDM_0_RX Mixer EP8" value="1" />
@ -1046,6 +1041,39 @@
<ctl name="VOIP TX Mixer BT_TX" value="1" /> <ctl name="VOIP TX Mixer BT_TX" value="1" />
</path> </path>
<path name="microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="back-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer USB_TX" value="1" />
</path>
<path name="usb-headset-microphones -> voip-gsenet-capture-0">
<path name="usb-microphones -> voip-gsenet-capture-0" />
</path>
<path name="usb-device-microphones -> voip-gsenet-capture-0">
<path name="usb-microphones -> voip-gsenet-capture-0" />
</path>
<path name="bluetooth-sco-headset-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="bluetooth-low-energy-headset-microphones -> voip-gsenet-capture-0">
<ctl name="Incall Capture Stream3" value="3MIC" />
<ctl name="VOIP TX Mixer BT_TX" value="1" />
</path>
<path name="microphones -> fast-capture-0"> <path name="microphones -> fast-capture-0">
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" /> <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
</path> </path>
@ -1074,11 +1102,47 @@
<ctl name="EP3 TX Mixer BT_TX" value="1" /> <ctl name="EP3 TX Mixer BT_TX" value="1" />
</path> </path>
<path name="microphones -> sound-trigger-capture-0" /> <path name="sound-trigger-microphones -> sound-trigger-capture-0" />
<path name="microphones -> sound-trigger-tap-capture-0" /> <path name="sound-trigger-microphones -> sound-trigger-tap-capture-0">
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="Hotword Tap Enable" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones -> hotword-lookback-capture-0" /> <path name="sound-trigger-microphones -> hotword-lookback-capture-0" />
<path name="ultrasound-microphones -> ultrasound-capture-0">
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="back-microphones -> mmap-capture-0">
<path name="microphones -> mmap-capture-0" />
</path>
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<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>
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<!-- voice-call dynamic route --> <!-- voice-call dynamic route -->
<path name="voice-call-downlink-0 -> speaker"> <path name="voice-call-downlink-0 -> speaker">
@ -1113,6 +1177,10 @@
<path name="voice-call-downlink-0 -> bt" /> <path name="voice-call-downlink-0 -> bt" />
</path> </path>
<path name="voice-call-downlink-0 -> bluetooth-low-energy-broadcast">
<path name="voice-call-downlink-0 -> bt" />
</path>
<path name="voice-call-downlink-0 -> usb"> <path name="voice-call-downlink-0 -> usb">
<ctl name="USB_RX Mixer EP5" value="1" /> <ctl name="USB_RX Mixer EP5" value="1" />
</path> </path>
@ -1165,77 +1233,9 @@
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" /> <ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path> </path>
<path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0"> <path name="in-call-capture-source-0 -> in-call-capture-0" />
<ctl name="Incall Capture Stream0" value="DL" /> <path name="in-call-capture-source-1 -> in-call-capture-1" />
</path> <path name="in-call-capture-source-2 -> in-call-capture-2" />
<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 (MIC) -> in-call-capture-0">
<ctl name="Incall Capture Stream0" value="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 (MIC) -> in-call-capture-1">
<ctl name="Incall Capture Stream1" value="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="telephony-rx (MIC) -> in-call-capture-2">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
</path>
<path name="usb-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer USB_TX" value="1" />
</path>
<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>
<path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
<ctl name="EP2 TX Mixer BT_TX" value="1" />
</path>
<!-- codec setting --> <!-- codec setting -->
<!-- Rx device --> <!-- Rx device -->
@ -1249,7 +1249,6 @@
<ctl name="PCM Source" value="ASP" /> <ctl name="PCM Source" value="ASP" />
<ctl name="AMP PCM Gain" value="7" /> <ctl name="AMP PCM Gain" value="7" />
<ctl name="Main AMP Enable Switch" value="1" /> <ctl name="Main AMP Enable Switch" value="1" />
<ctl name="AoC Chirp Enable" value="1" />
</path> </path>
<path name="speaker"> <path name="speaker">
@ -1266,7 +1265,6 @@
<ctl name="R ASPTX1 Slot Position" value="0" /> <ctl name="R ASPTX1 Slot Position" value="0" />
<ctl name="R Main AMP Enable Switch" value="1" /> <ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="Main AMP Enable Switch" value="1" /> <ctl name="Main AMP Enable Switch" value="1" />
<!-- load Enable FIR -->
<ctl name="Fast Use Case Delta File" value="fast_switch1.txt" /> <ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
<ctl name="Fast Use Case Switch Enable" value="1" /> <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 Delta File" value="fast_switch2.txt" />
@ -1275,36 +1273,35 @@
<path name="speaker-safe"> <path name="speaker-safe">
<ctl name="R Main AMP Enable Switch" value="1" /> <ctl name="R Main AMP Enable Switch" value="1" />
<!-- load Bypass FIR -->
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
<ctl name="R Fast Use Case Switch Enable" value="1" />
</path> </path>
<!-- Tx device --> <!-- Tx device -->
<path name="microphones"> <path name="builtin-mic-id-capture-list">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <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="1" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" /> <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" /> <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
</path>
<path name="microphones">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" /> <ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" /> <ctl name="MIC Record Soft Gain (dB)" value="22" />
</path> </path>
<path name="microphones (VOICE)"> <path name="microphones (VOICE)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="builtin-mic-id-capture-list" />
<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="MIC DC Blocker" value="1" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130" /> <ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
<ctl name="MIC Record Soft Gain (dB)" value="0" /> <ctl name="MIC Record Soft Gain (dB)" value="0" />
</path> </path>
<path name="microphones (VOICE_COMMUNICATION,VOICE)">
<path name="microphones (VOICE)" />
</path>
<path name="microphones (VOICE_RECOGNITION)"> <path name="microphones (VOICE_RECOGNITION)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="builtin-mic-id-capture-list" />
<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="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" /> <ctl name="MIC Record Soft Gain (dB)" value="22" />
</path> </path>
@ -1316,91 +1313,47 @@
</path> </path>
<path name="microphones (SOUND_TRIGGER_AEC)"> <path name="microphones (SOUND_TRIGGER_AEC)">
<ctl name="Audio Capture Eraser Enable" value="1" /> <path name="builtin-mic-id-capture-list" />
<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="MIC DC Blocker" value="1" />
<ctl name="Audio Capture Eraser Enable" value="1" />
<ctl name="Audio Capture Mic Source" value="ERASER" /> <ctl name="Audio Capture Mic Source" value="ERASER" />
<ctl name="MIC Record Soft Gain (dB)" value="0" /> <ctl name="MIC Record Soft Gain (dB)" value="0" />
</path> </path>
<path name="back-microphones"> <path name="microphones (CAMCORDER)">
<ctl name="Mic Spatial Module Enable" value="1" /> <path name="builtin-mic-id-capture-list" />
<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="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="22" /> <ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (UNPROCESSED)">
<path name="builtin-mic-id-capture-list" />
<ctl name="MIC DC Blocker" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="back-microphones">
<path name="microphones" />
</path> </path>
<path name="back-microphones (VOICE)"> <path name="back-microphones (VOICE)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="microphones (VOICE)" />
<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="MIC HW Gain At High Power Mode (cB)" value="130" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path> </path>
<path name="microphones (CAMCORDER)"> <path name="back-microphones (VOICE_COMMUNICATION,VOICE)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="back-microphones (VOICE)" />
<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="MIC Record Soft Gain (dB)" value="0" />
</path> </path>
<path name="back-microphones (CAMCORDER)"> <path name="back-microphones (CAMCORDER)">
<path name="microphones (CAMCORDER)" /> <path name="microphones (CAMCORDER)" />
</path> </path>
<path name="camcorder-mic"> <path name="back-microphones (UNPROCESSED)">
<ctl name="Mic Spatial Module Enable" value="1" /> <path name="microphones (UNPROCESSED)" />
<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="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="unprocessed-mic">
<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="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="unprocessed-dual-mic">
<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="MIC Record Soft Gain (dB)" value="5" />
</path>
<path name="unprocessed-triple-mic">
<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="MIC Record Soft Gain (dB)" value="5" />
</path> </path>
<path name="bluetooth-sco-headset-microphones"> <path name="bluetooth-sco-headset-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="builtin-mic-id-capture-list" />
<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="Audio Capture Mic Source" value="BT_MIC" /> <ctl name="Audio Capture Mic Source" value="BT_MIC" />
<ctl name="Voice Call Mic Source" value="BT_MIC" /> <ctl name="Voice Call Mic Source" value="BT_MIC" />
<ctl name="MIC Record Soft Gain (dB)" value="0" /> <ctl name="MIC Record Soft Gain (dB)" value="0" />
@ -1411,9 +1364,7 @@
</path> </path>
<path name="usb-microphones"> <path name="usb-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" /> <path name="builtin-mic-id-capture-list" />
<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="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="Audio Capture Mic Source" value="USB_MIC" /> <ctl name="Audio Capture Mic Source" value="USB_MIC" />
<ctl name="Voice Call Mic Source" value="USB_MIC" /> <ctl name="Voice Call Mic Source" value="USB_MIC" />
@ -1428,6 +1379,54 @@
<path name="usb-microphones" /> <path name="usb-microphones" />
</path> </path>
<path name="in-call-capture-source-0 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream0" value="DL" />
</path>
<path name="in-call-capture-source-0 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream0" value="UL" />
</path>
<path name="in-call-capture-source-0 (VOICE_CALL)">
<ctl name="Incall Capture Stream0" value="UL_DL" />
</path>
<path name="in-call-capture-source-0">
<path name="in-call-capture-source-0 (VOICE_DOWNLINK)" />
</path>
<path name="in-call-capture-source-1 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream1" value="DL" />
</path>
<path name="in-call-capture-source-1 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream1" value="UL" />
</path>
<path name="in-call-capture-source-1 (VOICE_CALL)">
<ctl name="Incall Capture Stream1" value="UL_DL" />
</path>
<path name="in-call-capture-source-1">
<path name="in-call-capture-source-1 (VOICE_DOWNLINK)" />
</path>
<path name="in-call-capture-source-2 (VOICE_DOWNLINK)">
<ctl name="Incall Capture Stream2" value="DL" />
</path>
<path name="in-call-capture-source-2 (VOICE_UPLINK)">
<ctl name="Incall Capture Stream2" value="UL" />
</path>
<path name="in-call-capture-source-2 (VOICE_CALL)">
<ctl name="Incall Capture Stream2" value="UL_DL" />
</path>
<path name="in-call-capture-source-2">
<path name="in-call-capture-source-2 (VOICE_DOWNLINK)" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c --> <!-- cs35l41 specific path to load firmware in cs35l41.c -->
<path name="cs35l41-load-protection-firmware-start"> <path name="cs35l41-load-protection-firmware-start">
<!-- Enable it after get the protection firmware --> <!-- Enable it after get the protection firmware -->

View file

@ -82,3 +82,13 @@ PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
endif endif
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# Offload spatializer config
PRODUCT_COPY_FILES += \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/base:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/base \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_2_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_2_ch \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_6_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_6_ch \
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_xaural:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_xaural \
endif

View file

@ -173,14 +173,14 @@
</input_backend_cfg_mic_mapping> </input_backend_cfg_mic_mapping>
<usecase_attr> <usecase_attr>
<!-- for output with AUDIO_OUTPUT_FLAG_RAW, 32 periods * 64 frames(around 1.3ms) * 2ch * 4(s32) = 16384 bytes --> <!-- for output with AUDIO_OUTPUT_FLAG_RAW, 40 periods * 48 frames/period * 2ch * 4(s32) = 15360 bytes -->
<usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="true" period="64" period_num="32"/> <usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="false" period="48" period_num="40"/>
<!-- for output with AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST, 4 * 10ms buffer --> <!-- for output with AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST, 4 * 10ms buffer -->
<usecase id="UC_LOW_LATENCY_PLAYBACK" dev1="1" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="4"/> <usecase id="UC_LOW_LATENCY_PLAYBACK" dev1="1" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="4"/>
<!-- for output with AUDIO_OUTPUT_FLAG_MMAP_NOIRQ, 40 periods * 48 frames/period(=1ms w/ 48k sample rate) * 2ch *4(float) = 15360 bytes --> <!-- for output with AUDIO_OUTPUT_FLAG_MMAP_NOIRQ, 40 periods * 48 frames/period(=1ms w/ 48k sample rate) * 2ch *4(float) = 15360 bytes -->
<usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="40"/> <usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="40"/>
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 4 * 20ms buffer --> <!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 2 * 40ms buffer -->
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/> <usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="40" period_num="2"/>
<!-- dev1: voice-call downlink dev2: voice-clal uplink --> <!-- dev1: voice-call downlink dev2: voice-clal uplink -->
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/> <usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER --> <!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,22 +0,0 @@
//
// 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.
prebuilt_etc {
name: "shusky_assignable_devices.xml",
src: "assignable_devices.xml",
filename: "assignable_devices.xml",
vendor: true,
relative_install_path: "avf",
}

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 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.
-->
<devices>
<device>
<kind>eh</kind>
<dtbo_label>eh</dtbo_label>
<sysfs_path>/sys/bus/platform/devices/16d00000.eh</sysfs_path>
</device>
</devices>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,259 @@
{
"_comments_": [
"== Audio Set Scenarios ==",
" Each defined scenario references externally defined audio set",
" configurations, listed in the order of priority."
],
"scenarios": [
{
"name": "Conversational",
"configurations": [
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_2",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_2",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_2",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_2",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_4_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_3_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_24_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_1_Balanced_Reliability",
"VND_SingleDev_TwoChanStereoSnk_OneChanStereoSrc_32khz_60oct_R3_L22_1",
"Two-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability"
]
},
{
"name": "Media",
"configurations": [
"Two-OneChan-SnkAse-Lc3_48_4_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4_2",
"Two-OneChan-SnkAse-Lc3_48_2_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_2_2",
"Two-OneChan-SnkAse-Lc3_48_3_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_3_2",
"Two-OneChan-SnkAse-Lc3_48_1_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_1_2",
"Two-OneChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_24_2_2",
"Two-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_16_2_2",
"Two-OneChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_16_1_2",
"One-TwoChan-SnkAse-Lc3_48_4_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4_2",
"One-TwoChan-SnkAse-Lc3_48_2_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_2_2",
"One-TwoChan-SnkAse-Lc3_48_3_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_3_2",
"One-TwoChan-SnkAse-Lc3_48_1_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_1_2",
"One-TwoChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_24_2_2",
"One-TwoChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_2_2",
"One-TwoChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_1_2",
"One-OneChan-SnkAse-Lc3_48_4_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_4_2",
"One-OneChan-SnkAse-Lc3_48_2_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_2_2",
"One-OneChan-SnkAse-Lc3_48_3_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_3_2",
"One-OneChan-SnkAse-Lc3_48_1_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_1_2",
"One-OneChan-SnkAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_32_2_2",
"One-OneChan-SnkAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_32_1_2",
"One-OneChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_24_2_2",
"One-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_2_2",
"One-OneChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_1_2",
"VND_DualDev_OneChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_DualDev_OneChanStereoSnk_48khz_100octs_R15_L70_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_100octs_R15_L70_1",
"VND_SingleDev_OneChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_SingleDev_OneChanStereoSnk_48khz_100octs_R15_L70_1",
"Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability"
]
},
{
"name": "Game",
"configurations": [
"One-TwoChan-SnkAse-Lc3_48_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_48_3_Low_Latency",
"One-TwoChan-SnkAse-Lc3_48_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_24_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_24_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Low_Latency",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_TwoChanStereoSrc_16khz_30octs_Balanced_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_R5_L12_TwoChanStereoSrc_16khz_30octs_R3_L12_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_High_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_R5_L12_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_3_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_24_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_24_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1_Low_Latency"
]
},
{
"name": "VoiceAssistants",
"configurations": [
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability"
]
},
{
"name": "Live",
"configurations": [
"VND_SingleDev_TwoChanStereoSrc_48khz_100octs_Balanced_Reliability_1",
"VND_SingleDev_TwoChanStereoSrc_48khz_100octs_R11_L40_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_1_Balanced_Reliability"
]
}
]
}

View file

@ -68,6 +68,9 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/0-0043/default/num_waves chown system system /sys/bus/i2c/devices/0-0043/default/num_waves
chown system system /sys/bus/i2c/devices/0-0043/default/f0_offset chown system system /sys/bus/i2c/devices/0-0043/default/f0_offset
chown system system /sys/bus/i2c/devices/0-0043/default/owt_free_space chown system system /sys/bus/i2c/devices/0-0043/default/owt_free_space
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_bank
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_index
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_ms
chown system system /sys/bus/i2c/devices/0-0043/default/f0_comp_enable chown system system /sys/bus/i2c/devices/0-0043/default/f0_comp_enable
chown system system /sys/bus/i2c/devices/0-0043/default/redc_comp_enable chown system system /sys/bus/i2c/devices/0-0043/default/redc_comp_enable
chown system system /sys/bus/i2c/devices/0-0043/default/delay_before_stop_playback_us chown system system /sys/bus/i2c/devices/0-0043/default/delay_before_stop_playback_us

View file

@ -62,6 +62,9 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/0-0043/calibration/redc_stored chown system system /sys/bus/i2c/devices/0-0043/calibration/redc_stored
chown system system /sys/bus/i2c/devices/0-0043/default/vibe_state chown system system /sys/bus/i2c/devices/0-0043/default/vibe_state
chown system system /sys/bus/i2c/devices/0-0043/default/num_waves chown system system /sys/bus/i2c/devices/0-0043/default/num_waves
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_bank
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_index
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_ms
chown system system /sys/bus/i2c/devices/0-0043/default/f0_offset chown system system /sys/bus/i2c/devices/0-0043/default/f0_offset
chown system system /sys/bus/i2c/devices/0-0043/default/owt_free_space chown system system /sys/bus/i2c/devices/0-0043/default/owt_free_space
chown system system /sys/bus/i2c/devices/0-0043/default/f0_comp_enable chown system system /sys/bus/i2c/devices/0-0043/default/f0_comp_enable

View file

@ -17,6 +17,17 @@
# Restrict the visibility of Android.bp files to improve build analysis time # Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
ifdef RELEASE_GOOGLE_HUSKY_RADIO_DIR
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_HUSKY_RADIO_DIR)
endif
ifdef RELEASE_GOOGLE_HUSKY_RADIOCFG_DIR
RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_HUSKY_RADIOCFG_DIR)
endif
RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR))
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_HUSKY_VERSION) TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_HUSKY_VERSION)
# Keeps flexibility for kasan and ufs builds # Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_HUSKY_DIR) TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_HUSKY_DIR)
@ -131,19 +142,31 @@ PRODUCT_COPY_FILES += \
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.finder.supported=true ro.bluetooth.finder.supported=true
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# AIDL
# declare use of stereo spatialization
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.stereo_spatialization_enabled=true
else
# HIDL
# Spatial Audio # Spatial Audio
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libspatialaudio libspatialaudio
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Sound Dose # Sound Dose
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.audio.sounddose-vendor-impl \ android.hardware.audio.sounddose-vendor-impl \
audio_sounddose_aoc audio_sounddose_aoc
endif
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Audio CCA property # Audio CCA property
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false persist.vendor.audio.cca.enabled=false
@ -298,16 +321,29 @@ include device/google/gs-common/gps/brcm/device.mk
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
# Location
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 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
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.6.1.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \ 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 device/google/shusky/location/gps.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
else 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
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps_user.6.1.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \ 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 device/google/shusky/location/gps_user.xml.hk3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
endif endif
# Set zram size # Set zram size
@ -388,17 +424,39 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \ ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5 ro.vendor.vibrator.hal.pm.activetimeout=5
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
vendor.audio.hapticgenerator.distortion.output.gain=0.38
# Increment the SVN for any official public releases # Increment the SVN for any official public releases
ifdef RELEASE_SVN_HUSKY ifdef RELEASE_SVN_HUSKY
TARGET_SVN ?= $(RELEASE_SVN_HUSKY) TARGET_SVN ?= $(RELEASE_SVN_HUSKY)
else else
# Set this for older releases that don't use build flag # Set this for older releases that don't use build flag
TARGET_SVN ?= 35 TARGET_SVN ?= 38
endif endif
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN) ro.vendor.build.svn=$(TARGET_SVN)
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=HK3SB3AK3
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_HUSKY))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_HUSKY)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_HUSKY))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_HUSKY)
endif
endif
# WLC userdebug specific # WLC userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
@ -449,9 +507,6 @@ PRODUCT_PRODUCT_PROPERTIES ?= \
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.exif_reveal_make_model=true persist.vendor.camera.exif_reveal_make_model=true
# AVF assignable devices xml
PRODUCT_PACKAGES += shusky_assignable_devices.xml
# Enable DeviceAsWebcam support # Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true ro.usb.uvc.enabled=true
@ -473,4 +528,23 @@ $(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modu
endif endif
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
ifneq ($(wildcard vendor/arm/mali/valhall),)
PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
endif
# Bluetooth device id
# Husky: 0x410D
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16653
# Set support for LEA multicodec
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.core.le_audio.codec_extension_aidl.enabled=true
# LE Audio configuration scenarios
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/audio_set_scenarios.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_scenarios.json
PRODUCT_COPY_FILES += \
device/google/shusky/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json

View file

@ -17,6 +17,11 @@
# Restrict the visibility of Android.bp files to improve build analysis time # Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR))
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_RIPCURRENT_VERSION) TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_RIPCURRENT_VERSION)
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_RIPCURRENT_DIR) TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_RIPCURRENT_DIR)
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_RIPCURRENT_DIR)/kernel-headers TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_RIPCURRENT_DIR)/kernel-headers

View file

@ -17,6 +17,17 @@
# Restrict the visibility of Android.bp files to improve build analysis time # Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk) $(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
ifdef RELEASE_GOOGLE_SHIBA_RADIO_DIR
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_SHIBA_RADIO_DIR)
endif
ifdef RELEASE_GOOGLE_SHIBA_RADIOCFG_DIR
RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_SHIBA_RADIOCFG_DIR)
endif
RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR))
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_SHIBA_VERSION) TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_SHIBA_VERSION)
# Keeps flexibility for kasan and ufs builds # Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_SHIBA_DIR) TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_SHIBA_DIR)
@ -119,19 +130,31 @@ PRODUCT_COPY_FILES += \
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.finder.supported=true ro.bluetooth.finder.supported=true
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# AIDL
# declare use of stereo spatialization
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.stereo_spatialization_enabled=true
else
# HIDL
# Spatial Audio # Spatial Audio
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libspatialaudio libspatialaudio
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Sound Dose # Sound Dose
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.audio.sounddose-vendor-impl \ android.hardware.audio.sounddose-vendor-impl \
audio_sounddose_aoc audio_sounddose_aoc
endif
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Audio CCA property # Audio CCA property
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false persist.vendor.audio.cca.enabled=false
@ -281,16 +304,29 @@ include device/google/gs-common/gps/brcm/device.mk
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
# Location
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 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
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps.6.1.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \ 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 device/google/shusky/location/gps.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
else 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
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/shusky/location/gps_user.6.1.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \ 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 device/google/shusky/location/gps_user.xml.sb3:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
endif endif
# Set zram size # Set zram size
@ -365,17 +401,39 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \ ro.vendor.vibrator.hal.dbc.txlvlholdoffms=0 \
ro.vendor.vibrator.hal.pm.activetimeout=5 ro.vendor.vibrator.hal.pm.activetimeout=5
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
vendor.audio.hapticgenerator.distortion.output.gain=0.38
# Increment the SVN for any official public releases # Increment the SVN for any official public releases
ifdef RELEASE_SVN_SHIBA ifdef RELEASE_SVN_SHIBA
TARGET_SVN ?= $(RELEASE_SVN_SHIBA) TARGET_SVN ?= $(RELEASE_SVN_SHIBA)
else else
# Set this for older releases that don't use build flag # Set this for older releases that don't use build flag
TARGET_SVN ?= 35 TARGET_SVN ?= 38
endif endif
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN) ro.vendor.build.svn=$(TARGET_SVN)
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=HK3SB3AK3
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_SHIBA))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_SHIBA)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_SHIBA))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_SHIBA)
endif
endif
# P23 Devices no longer need rlsservice # P23 Devices no longer need rlsservice
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.rls_supported=false persist.vendor.camera.rls_supported=false
@ -418,9 +476,6 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.exif_reveal_make_model=true persist.vendor.camera.exif_reveal_make_model=true
# AVF assignable devices xml
PRODUCT_PACKAGES += shusky_assignable_devices.xml
# Enable DeviceAsWebcam support # Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true ro.usb.uvc.enabled=true
@ -442,4 +497,23 @@ $(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modu
endif endif
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
ifneq ($(wildcard vendor/arm/mali/valhall),)
PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
endif
# Bluetooth device id
# Shiba: 0x410E
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16654
# Set support for LEA multicodec
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.core.le_audio.codec_extension_aidl.enabled=true
# LE Audio configuration scenarios
PRODUCT_COPY_FILES += \
device/google/caimito/bluetooth/audio_set_scenarios.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_scenarios.json
PRODUCT_COPY_FILES += \
device/google/caimito/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json

View file

@ -26,16 +26,10 @@ BOARD_KERNEL_CMDLINE += samsung_iommu_v9.load_sequential=1
TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := husky TARGET_BOOTLOADER_BOARD_NAME := husky
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_HUSKY_RADIO_DIR)
RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_HUSKY_RADIOCFG_DIR)
RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_HUSKY_DIR))
ifdef PHONE_CAR_BOARD_PRODUCT ifdef PHONE_CAR_BOARD_PRODUCT
include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
else else
TARGET_SCREEN_DENSITY := 480 TARGET_SCREEN_DENSITY := 480
endif endif
BOARD_USES_GENERIC_AUDIO := true BOARD_USES_GENERIC_AUDIO := true
@ -51,6 +45,7 @@ include device/google/shusky/device-shusky-common.mk
include device/google/zuma/BoardConfig-common.mk include device/google/zuma/BoardConfig-common.mk
-include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk -include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
-include vendor/google_devices/husky/proprietary/BoardConfigVendor.mk -include vendor/google_devices/husky/proprietary/BoardConfigVendor.mk
include device/google/shusky-sepolicy/husky-sepolicy.mk include device/google/shusky-sepolicy/husky-sepolicy.mk
include device/google/shusky/wifi/BoardConfig-wifi.mk include device/google/shusky/wifi/BoardConfig-wifi.mk

View file

@ -32,6 +32,15 @@
<!-- Minimum screen brightness allowed by the power manager. --> <!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">6</integer> <integer name="config_screenBrightnessDim">6</integer>
<!-- Default strength, in percentage, of bright color reduction when activated. -->
<integer name="config_reduceBrightColorsStrengthDefault">35</integer>
<!-- Minimum strength, in percentage, supported by bright color reduction. -->
<integer name="config_reduceBrightColorsStrengthMin">25</integer>
<!-- Maximum strength, in percentage, supported by bright color reduction. -->
<integer name="config_reduceBrightColorsStrengthMax">50</integer>
<!-- If this is true, the udfps vote is ignored. --> <!-- If this is true, the udfps vote is ignored. -->
<bool name="config_ignoreUdfpsVote">true</bool> <bool name="config_ignoreUdfpsVote">true</bool>

View file

@ -188,11 +188,11 @@
</array> </array>
<item name="gps.voltage">3700</item> <item name="gps.voltage">3700</item>
<!-- Idle Receive current for wifi radio in mA.--> <!-- Idle Receive current for wifi radio in mA.-->
<item name="wifi.controller.idle">79</item> <item name="wifi.controller.idle">38</item>
<!-- Rx current for wifi radio in mA.--> <!-- Rx current for wifi radio in mA.-->
<item name="wifi.controller.rx">118</item> <item name="wifi.controller.rx">57</item>
<!-- Tx current for wifi radio in mA--> <!-- Tx current for wifi radio in mA-->
<item name="wifi.controller.tx">331</item> <item name="wifi.controller.tx">550</item>
<!-- Operating voltage for wifi radio in mV.--> <!-- Operating voltage for wifi radio in mV.-->
<item name="wifi.controller.voltage">3700</item> <item name="wifi.controller.voltage">3850</item>
</device> </device>

View file

@ -30,7 +30,7 @@
<item>37</item> <item>37</item>
</integer-array> </integer-array>
<integer-array name="antenna_y"> <integer-array name="antenna_y">
<item>103</item> <item>55</item>
</integer-array> </integer-array>
<bool name="nfc_observe_mode_supported">true</bool> <bool name="nfc_observe_mode_supported">true</bool>
</resources> </resources>

View file

@ -34,4 +34,8 @@
<!-- Whether multicast list update notification v2 is supported or not. <!-- Whether multicast list update notification v2 is supported or not.
If enabled, the notification will be parsed into version 2 if uci major version is 2.0. --> If enabled, the notification will be parsed into version 2 if uci major version is 2.0. -->
<bool name = "is_multicast_list_update_ntf_v2_supported">true</bool> <bool name = "is_multicast_list_update_ntf_v2_supported">true</bool>
<!-- Whether multicast list update response v2 is supported or not.
If enabled, the response will be parsed into version 2 if uci major version is 2.0. -->
<bool name = "is_multicast_list_update_rsp_v2_supported">true</bool>
</resources> </resources>

112
location/gps.6.1.xml.hk3 Normal file
View file

@ -0,0 +1,112 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="true"
Log="JAVA"
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="true"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
SuplUseFwCellInfo="false"
SuplDummyCellInfo ="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2"
CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true"
ExitOnComFailure="true"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
RfType="GL_RF_4776_BRCM"
ExtL5Bias="10.5"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="3.51"
RfPathLossDb_Cp="3.51"
RfPathLossDb_Ap_L5="4.01"
RfPathLossDb_Cp_L5="4.01"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="2"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
EnableB1C="false"
EnableCoex="true"
RTICacheTimeoutSec="3600"
/>
<gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true"
EnableNavic="true"
/>
</glgps>

112
location/gps.6.1.xml.sb3 Normal file
View file

@ -0,0 +1,112 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="true"
Log="JAVA"
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="true"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
SuplUseFwCellInfo="false"
SuplDummyCellInfo ="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2"
CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true"
ExitOnComFailure="true"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
RfType="GL_RF_4776_BRCM"
ExtL5Bias="11.3"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="3.4"
RfPathLossDb_Cp="3.4"
RfPathLossDb_Ap_L5="4"
RfPathLossDb_Cp_L5="4"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="2"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
EnableB1C="false"
EnableCoex="true"
RTICacheTimeoutSec="3600"
/>
<gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true"
EnableNavic="true"
/>
</glgps>

View file

@ -49,6 +49,7 @@
LtoSyncThresholdDays="1" LtoSyncThresholdDays="1"
GnssYearOfHardware="2020" GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2" CpGuardTimeSec="2"
CpLppGuardTimeSec="2" CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true" IgnoreInjectedSystemTime="true"
@ -56,6 +57,7 @@
AttributionAppPkgName="com.google.android.carrierlocation" AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true" AssertEnabled="true"
ExitOnComFailure="true"
CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true" CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1" CpLppHighAccuracyShapeMode="1"

View file

@ -49,6 +49,7 @@
LtoSyncThresholdDays="1" LtoSyncThresholdDays="1"
GnssYearOfHardware="2020" GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2" CpGuardTimeSec="2"
CpLppGuardTimeSec="2" CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true" IgnoreInjectedSystemTime="true"
@ -56,17 +57,20 @@
AttributionAppPkgName="com.google.android.carrierlocation" AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true" AssertEnabled="true"
ExitOnComFailure="true"
CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true" CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1" CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false" ReAidingOnHotStart="false"
ReAidingIntervalSec="3600" ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true" RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
MaxThreadNum="13" MaxThreadNum="13"
SensorsMask="0x244" SensorsMask="0x244"
/> />
<gll <gll
PpsEnable="true"
LogPriMask="LOG_INFO" LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI" LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB" FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
@ -98,8 +102,11 @@
/> />
<gll_features <gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true" EnableNicAutoSwitch="true"
EnableNavic="true" EnableNavic="true"
ConstellationAutoSwitchOffNavOnly="true"
/> />
</glgps> </glgps>

View file

@ -49,6 +49,7 @@
LtoSyncThresholdDays="1" LtoSyncThresholdDays="1"
GnssYearOfHardware="2020" GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2" CpGuardTimeSec="2"
CpLppGuardTimeSec="2" CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true" IgnoreInjectedSystemTime="true"
@ -56,17 +57,20 @@
AttributionAppPkgName="com.google.android.carrierlocation" AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true" AssertEnabled="true"
ExitOnComFailure="true"
CpLppeCancelDbhOnAgnssProvideLoc="true" CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true" CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1" CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false" ReAidingOnHotStart="false"
ReAidingIntervalSec="3600" ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true" RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
MaxThreadNum="13" MaxThreadNum="13"
SensorsMask="0x244" SensorsMask="0x244"
/> />
<gll <gll
PpsEnable="true"
LogPriMask="LOG_INFO" LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI" LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB" FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
@ -98,8 +102,11 @@
/> />
<gll_features <gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true" EnableNicAutoSwitch="true"
EnableNavic="true" EnableNavic="true"
ConstellationAutoSwitchOffNavOnly="true"
/> />
</glgps> </glgps>

View file

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="false"
Log="JAVA"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="false"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
SuplUseFwCellInfo="false"
SuplDummyCellInfo ="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2"
CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
RfType="GL_RF_4776_BRCM"
ExtL5Bias="10.5"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="3.51"
RfPathLossDb_Cp="3.51"
RfPathLossDb_Ap_L5="4.01"
RfPathLossDb_Cp_L5="4.01"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="0"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
EnableB1C="false"
EnableCoex="true"
RTICacheTimeoutSec="3600"
/>
<gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true"
EnableNavic="true"
/>
</glgps>

View file

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="false"
Log="JAVA"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="false"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
SuplUseFwCellInfo="false"
SuplDummyCellInfo ="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2"
CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
MaxThreadNum="13"
SensorsMask="0x244"
/>
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
RfType="GL_RF_4776_BRCM"
ExtL5Bias="11.3"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="3.4"
RfPathLossDb_Cp="3.4"
RfPathLossDb_Ap_L5="4"
RfPathLossDb_Cp_L5="4"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="0"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
EnableB1C="false"
EnableCoex="true"
RTICacheTimeoutSec="3600"
/>
<gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true"
EnableNavic="true"
/>
</glgps>

View file

@ -48,6 +48,7 @@
LtoSyncThresholdDays="1" LtoSyncThresholdDays="1"
GnssYearOfHardware="2020" GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2" CpGuardTimeSec="2"
CpLppGuardTimeSec="2" CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true" IgnoreInjectedSystemTime="true"
@ -97,6 +98,8 @@
/> />
<gll_features <gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true" EnableNicAutoSwitch="true"
EnableNavic="true" EnableNavic="true"
/> />

View file

@ -48,6 +48,7 @@
LtoSyncThresholdDays="1" LtoSyncThresholdDays="1"
GnssYearOfHardware="2020" GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2" CpGuardTimeSec="2"
CpLppGuardTimeSec="2" CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true" IgnoreInjectedSystemTime="true"
@ -61,11 +62,13 @@
ReAidingOnHotStart="false" ReAidingOnHotStart="false"
ReAidingIntervalSec="3600" ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true" RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
MaxThreadNum="13" MaxThreadNum="13"
SensorsMask="0x244" SensorsMask="0x244"
/> />
<gll <gll
PpsEnable="true"
LogPriMask="LOG_INFO" LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI" LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB" FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
@ -97,8 +100,11 @@
/> />
<gll_features <gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true" EnableNicAutoSwitch="true"
EnableNavic="true" EnableNavic="true"
ConstellationAutoSwitchOffNavOnly="true"
/> />
</glgps> </glgps>

View file

@ -48,6 +48,7 @@
LtoSyncThresholdDays="1" LtoSyncThresholdDays="1"
GnssYearOfHardware="2020" GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="2" CpGuardTimeSec="2"
CpLppGuardTimeSec="2" CpLppGuardTimeSec="2"
IgnoreInjectedSystemTime="true" IgnoreInjectedSystemTime="true"
@ -61,11 +62,13 @@
ReAidingOnHotStart="false" ReAidingOnHotStart="false"
ReAidingIntervalSec="3600" ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true" RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
MaxThreadNum="13" MaxThreadNum="13"
SensorsMask="0x244" SensorsMask="0x244"
/> />
<gll <gll
PpsEnable="true"
LogPriMask="LOG_INFO" LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI" LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB" FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
@ -97,8 +100,11 @@
/> />
<gll_features <gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true" EnableNicAutoSwitch="true"
EnableNavic="true" EnableNavic="true"
ConstellationAutoSwitchOffNavOnly="true"
/> />
</glgps> </glgps>

View file

@ -31,3 +31,4 @@ SecondaryConfigPath=/data/vendor/gps/overlay/lhd_overlay.conf
SkipSensorWakeLock=true SkipSensorWakeLock=true
LoggerWakeLockEnable=false LoggerWakeLockEnable=false
PpsEnable=true

View file

@ -29,3 +29,4 @@ TrafficLogEnabled=false
SkipSensorWakeLock=true SkipSensorWakeLock=true
LoggerWakeLockEnable=false LoggerWakeLockEnable=false
PpsEnable=true

View file

@ -48,15 +48,6 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>android.hardware.graphics.mapper</name>
<transport arch="32+64">passthrough</transport>
<version>4.0</version>
<interface>
<name>IMapper</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl"> <hal format="hidl">
<name>android.hardware.graphics.composer</name> <name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport> <transport>hwbinder</transport>

View file

@ -81,8 +81,8 @@
"Values": [ "Values": [
"9999999", "9999999",
"1098000", "1098000",
"1475000", "1425000",
"975000", "955000",
"1197000", "1197000",
"1328000", "1328000",
"1548000", "1548000",
@ -96,7 +96,7 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1475000", "1548000",
"1197000", "1197000",
"0" "0"
], ],
@ -118,16 +118,13 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2253000", "2245000",
"2130000", "2130000",
"1082000",
"1221000",
"1418000",
"910000", "910000",
"1328000", "1328000",
"1622000", "1572000",
"1836000", "1836000",
"1999000" "1945000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -137,10 +134,9 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2253000", "2245000",
"2130000", "2130000",
"1836000", "1836000",
"1221000",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -162,17 +158,13 @@
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2704000", "2687000",
"2507000", "2147000",
"2252000", "1298000",
"893000",
"1328000",
"1852000",
"1164000",
"1557000", "1557000",
"1745000", "1745000",
"2049000", "2049000",
"2409000" "2363000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -182,11 +174,10 @@
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2704000", "2687000",
"2507000", "2363000",
"2252000", "2147000",
"1852000", "1885000",
"1164000",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -228,7 +219,6 @@
"0", "0",
"1" "1"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -238,7 +228,7 @@
"750000", "750000",
"10000" "10000"
], ],
"DefaultIndex": 0, "DefaultIndex": 1,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -282,6 +272,15 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUSkipMask",
"Path": "/proc/vendor_sched/cpu_skip_mask",
"Values": [
"0x0",
"0x100"
],
"ResetOnInit": true
},
{ {
"Name": "BGUClampMaxBoost", "Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max", "Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -306,7 +305,7 @@
"Name": "CAMUClampBoost", "Name": "CAMUClampBoost",
"Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [ "Values": [
"765", "720",
"250", "250",
"0" "0"
], ],
@ -427,7 +426,6 @@
"1", "1",
"0" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -457,6 +455,15 @@
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x100"
],
"ResetOnInit": true
},
{ {
"Name": "FGPreferIdle", "Name": "FGPreferIdle",
"Path": "/proc/vendor_sched/groups/fg/prefer_idle", "Path": "/proc/vendor_sched/groups/fg/prefer_idle",
@ -464,7 +471,6 @@
"1", "1",
"0" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -728,7 +734,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/limit_frequency", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/limit_frequency",
"Values": [ "Values": [
"2363000", "2363000",
"1852000", "1745000",
"1298000" "1298000"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
@ -842,6 +848,12 @@
"Duration": 1000, "Duration": 1000,
"Value": "0-3" "Value": "0-3"
}, },
{
"PowerHint": "LAUNCH",
"Node": "CPUSkipMask",
"Duration": 5000,
"Value": "0x0"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskHigh", "Node": "TAPreferredIdleMaskHigh",
@ -995,6 +1007,12 @@
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
"Duration": 2000,
"Value": "0x0"
},
{ {
"PowerHint": "LAUNCH_EXTEND", "PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
@ -1252,10 +1270,15 @@
"Value": "DISPLAY_UPDATE_IMMINENT" "Value": "DISPLAY_UPDATE_IMMINENT"
}, },
{ {
"PowerHint": "DISPLAY_INACTIVE", "PowerHint": "DISPLAY_IDLE",
"Type": "EndHint",
"Value": "INTERACTION"
},
{
"PowerHint": "INTERACTION",
"Node": "BigClusterPowerDownTargetResidency", "Node": "BigClusterPowerDownTargetResidency",
"Duration": 0, "Duration": 2000,
"Value": "10000" "Value": "750000"
}, },
{ {
"PowerHint": "DISPLAY_INACTIVE", "PowerHint": "DISPLAY_INACTIVE",
@ -1275,6 +1298,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",
"Duration": 1000,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_BIG_TSKIN_BYPASS", "Node": "CPU_BIG_TSKIN_BYPASS",
@ -1309,7 +1338,7 @@
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 1000, "Duration": 1000,
"Value": "1852000" "Value": "1885000"
}, },
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
@ -1333,13 +1362,13 @@
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CPULittleClusterMinFreq", "Node": "CPULittleClusterMinFreq",
"Duration": 1000, "Duration": 1000,
"Value": "1475000" "Value": "1548000"
}, },
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CAMUClampBoost", "Node": "CAMUClampBoost",
"Duration": 1000, "Duration": 1000,
"Value": "765" "Value": "720"
}, },
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
@ -1423,19 +1452,19 @@
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "1852000" "Value": "1745000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "1622000" "Value": "1572000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "1475000" "Value": "1425000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
@ -1453,7 +1482,7 @@
"PowerHint": "CAMERA_SHOT", "PowerHint": "CAMERA_SHOT",
"Node": "CAMUClampBoost", "Node": "CAMUClampBoost",
"Duration": 100, "Duration": 100,
"Value": "765" "Value": "720"
}, },
{ {
"PowerHint": "CAMERA_BACKEND_BOOST", "PowerHint": "CAMERA_BACKEND_BOOST",
@ -1507,13 +1536,13 @@
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2704000" "Value": "2687000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2704000" "Value": "2687000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2",
@ -1525,13 +1554,13 @@
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2507000" "Value": "2363000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2507000" "Value": "2363000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3",
@ -1543,13 +1572,13 @@
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2252000" "Value": "2147000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2252000" "Value": "2147000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK1", "PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK1",
@ -1567,13 +1596,13 @@
"PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK2",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2253000" "Value": "2245000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK2",
"Node": "CPUMidClusterMinFreq", "Node": "CPUMidClusterMinFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2253000" "Value": "2245000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK3", "PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK3",
@ -1845,6 +1874,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -2007,6 +2042,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle", "Node": "AutoPreferIdle",
@ -2157,6 +2198,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle", "Node": "AutoPreferIdle",
@ -2203,19 +2250,19 @@
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1745000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1622000" "Value": "1572000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1475000" "Value": "1425000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
@ -2247,6 +2294,12 @@
"Duration": 0, "Duration": 0,
"Value": "4-8" "Value": "4-8"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -2391,6 +2444,12 @@
"Duration": 0, "Duration": 0,
"Value": "30" "Value": "30"
}, },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_VIDEO_RECORDING", "PowerHint": "CAMERA_VIDEO_RECORDING",
"Type": "MaskHint", "Type": "MaskHint",
@ -2463,7 +2522,7 @@
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50", "PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "975000" "Value": "955000"
}, },
{ {
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_60", "PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
@ -2505,7 +2564,7 @@
"PowerHint": "LOW_POWER_MID_CLUSTER_70", "PowerHint": "LOW_POWER_MID_CLUSTER_70",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "1622000" "Value": "1572000"
}, },
{ {
"PowerHint": "LOW_POWER_MID_CLUSTER_80", "PowerHint": "LOW_POWER_MID_CLUSTER_80",
@ -2517,13 +2576,13 @@
"PowerHint": "LOW_POWER_MID_CLUSTER_90", "PowerHint": "LOW_POWER_MID_CLUSTER_90",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "1999000" "Value": "1945000"
}, },
{ {
"PowerHint": "LOW_POWER_CPU_50", "PowerHint": "LOW_POWER_CPU_50",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "1328000" "Value": "1298000"
}, },
{ {
"PowerHint": "LOW_POWER_CPU_60", "PowerHint": "LOW_POWER_CPU_60",
@ -2547,7 +2606,7 @@
"PowerHint": "LOW_POWER_CPU_90", "PowerHint": "LOW_POWER_CPU_90",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "2409000" "Value": "2363000"
}, },
{ {
"PowerHint": "LOW_POWER", "PowerHint": "LOW_POWER",
@ -2632,18 +2691,6 @@
"Duration": 50, "Duration": 50,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "100"
},
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_NONE",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "1500"
},
{ {
"PowerHint": "EXPENSIVE_RENDERING", "PowerHint": "EXPENSIVE_RENDERING",
"Node": "PowerHALRenderingState", "Node": "PowerHALRenderingState",
@ -2840,7 +2887,7 @@
"PowerHint": "FACE_UNLOCK_BOOST", "PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 500, "Duration": 500,
"Value": "1852000" "Value": "1885000"
}, },
{ {
"PowerHint": "FACE_UNLOCK_BOOST", "PowerHint": "FACE_UNLOCK_BOOST",
@ -2942,7 +2989,7 @@
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1745000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
@ -2990,19 +3037,19 @@
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1745000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1622000" "Value": "1572000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1475000" "Value": "1425000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
@ -3034,6 +3081,12 @@
"Duration": 0, "Duration": 0,
"Value": "0-8" "Value": "0-8"
}, },
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
@ -3071,11 +3124,12 @@
"GpuBoost": true, "GpuBoost": true,
"GpuCapacityBoostMax": 40000, "GpuCapacityBoostMax": 40000,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.3,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
@ -3108,11 +3162,12 @@
"GpuBoost": true, "GpuBoost": true,
"GpuCapacityBoostMax": 32500, "GpuCapacityBoostMax": 32500,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.35,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
@ -3145,11 +3200,12 @@
"GpuBoost": true, "GpuBoost": true,
"GpuCapacityBoostMax": 25000, "GpuCapacityBoostMax": 25000,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.25,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300

View file

@ -214,7 +214,6 @@
"0", "0",
"1" "1"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -268,6 +267,15 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUSkipMask",
"Path": "/proc/vendor_sched/cpu_skip_mask",
"Values": [
"0x0",
"0x100"
],
"ResetOnInit": true
},
{ {
"Name": "BGUClampMaxBoost", "Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max", "Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -292,7 +300,7 @@
"Name": "CAMUClampBoost", "Name": "CAMUClampBoost",
"Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [ "Values": [
"765", "720",
"250", "250",
"0" "0"
], ],
@ -413,7 +421,6 @@
"1", "1",
"0" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -443,6 +450,15 @@
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x100"
],
"ResetOnInit": true
},
{ {
"Name": "FGPreferIdle", "Name": "FGPreferIdle",
"Path": "/proc/vendor_sched/groups/fg/prefer_idle", "Path": "/proc/vendor_sched/groups/fg/prefer_idle",
@ -450,7 +466,6 @@
"1", "1",
"0" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -864,6 +879,12 @@
"Duration": 1000, "Duration": 1000,
"Value": "0-3" "Value": "0-3"
}, },
{
"PowerHint": "LAUNCH",
"Node": "CPUSkipMask",
"Duration": 5000,
"Value": "0x0"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskHigh", "Node": "TAPreferredIdleMaskHigh",
@ -1017,6 +1038,12 @@
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
"Duration": 2000,
"Value": "0x0"
},
{ {
"PowerHint": "LAUNCH_EXTEND", "PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
@ -1274,6 +1301,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",
"Duration": 1000,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq", "Node": "MemFreq",
@ -1320,7 +1353,7 @@
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CAMUClampBoost", "Node": "CAMUClampBoost",
"Duration": 1000, "Duration": 1000,
"Value": "765" "Value": "720"
}, },
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
@ -1416,7 +1449,7 @@
"PowerHint": "CAMERA_SHOT", "PowerHint": "CAMERA_SHOT",
"Node": "CAMUClampBoost", "Node": "CAMUClampBoost",
"Duration": 100, "Duration": 100,
"Value": "765" "Value": "720"
}, },
{ {
"PowerHint": "CAMERA_BACKEND_BOOST", "PowerHint": "CAMERA_BACKEND_BOOST",
@ -1694,6 +1727,12 @@
"Duration": 0, "Duration": 0,
"Value": "0-8" "Value": "0-8"
}, },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -1844,6 +1883,12 @@
"Duration": 0, "Duration": 0,
"Value": "4-8" "Value": "4-8"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle", "Node": "AutoPreferIdle",
@ -1976,6 +2021,12 @@
"Duration": 0, "Duration": 0,
"Value": "4-8" "Value": "4-8"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle", "Node": "AutoPreferIdle",
@ -2060,6 +2111,12 @@
"Duration": 0, "Duration": 0,
"Value": "4-8" "Value": "4-8"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -2204,6 +2261,12 @@
"Duration": 0, "Duration": 0,
"Value": "30" "Value": "30"
}, },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_VIDEO_RECORDING", "PowerHint": "CAMERA_VIDEO_RECORDING",
"Type": "MaskHint", "Type": "MaskHint",
@ -2391,18 +2454,6 @@
"Duration": 50, "Duration": 50,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "100"
},
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_NONE",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "1500"
},
{ {
"PowerHint": "EXPENSIVE_RENDERING", "PowerHint": "EXPENSIVE_RENDERING",
"Node": "PowerHALRenderingState", "Node": "PowerHALRenderingState",
@ -2817,6 +2868,12 @@
"Duration": 0, "Duration": 0,
"Value": "4-8" "Value": "4-8"
}, },
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
@ -2851,11 +2908,12 @@
"TargetTimeFactor": 1.0, "TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0, "StaleTimeFactor": 15.0,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.5,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
@ -2886,11 +2944,12 @@
"TargetTimeFactor": 1.0, "TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0, "StaleTimeFactor": 15.0,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.5,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
@ -2921,11 +2980,12 @@
"TargetTimeFactor": 1.0, "TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0, "StaleTimeFactor": 15.0,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.5,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300

View file

@ -81,8 +81,8 @@
"Values": [ "Values": [
"9999999", "9999999",
"1098000", "1098000",
"1475000", "1425000",
"975000", "955000",
"1197000", "1197000",
"1328000", "1328000",
"1548000", "1548000",
@ -96,7 +96,7 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1475000", "1548000",
"1197000", "1197000",
"0" "0"
], ],
@ -118,14 +118,11 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1082000",
"1221000",
"1418000",
"910000", "910000",
"1328000", "1328000",
"1622000", "1572000",
"1836000", "1836000",
"1999000" "1945000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -136,7 +133,6 @@
"Values": [ "Values": [
"9999999", "9999999",
"1836000", "1836000",
"1221000",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -158,14 +154,11 @@
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"893000", "1298000",
"1328000",
"1852000",
"1164000",
"1557000", "1557000",
"1745000", "1745000",
"2049000", "2049000",
"2409000" "2363000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -175,8 +168,7 @@
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1852000", "1885000",
"1164000",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -218,7 +210,6 @@
"0", "0",
"1" "1"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -228,7 +219,7 @@
"750000", "750000",
"10000" "10000"
], ],
"DefaultIndex": 0, "DefaultIndex": 1,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -238,7 +229,7 @@
"750000", "750000",
"10000" "10000"
], ],
"DefaultIndex": 0, "DefaultIndex": 1,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -282,6 +273,15 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUSkipMask",
"Path": "/proc/vendor_sched/cpu_skip_mask",
"Values": [
"0x0",
"0x100"
],
"ResetOnInit": true
},
{ {
"Name": "BGUClampMaxBoost", "Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max", "Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -306,7 +306,7 @@
"Name": "CAMUClampBoost", "Name": "CAMUClampBoost",
"Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [ "Values": [
"765", "720",
"250", "250",
"0" "0"
], ],
@ -427,7 +427,6 @@
"1", "1",
"0" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -457,6 +456,15 @@
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x100"
],
"ResetOnInit": true
},
{ {
"Name": "FGPreferIdle", "Name": "FGPreferIdle",
"Path": "/proc/vendor_sched/groups/fg/prefer_idle", "Path": "/proc/vendor_sched/groups/fg/prefer_idle",
@ -464,7 +472,6 @@
"1", "1",
"0" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -728,7 +735,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/limit_frequency", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/limit_frequency",
"Values": [ "Values": [
"2363000", "2363000",
"1852000", "1745000",
"1298000" "1298000"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
@ -842,6 +849,12 @@
"Duration": 1000, "Duration": 1000,
"Value": "0-3" "Value": "0-3"
}, },
{
"PowerHint": "LAUNCH",
"Node": "CPUSkipMask",
"Duration": 5000,
"Value": "0x0"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskHigh", "Node": "TAPreferredIdleMaskHigh",
@ -995,6 +1008,12 @@
"Duration": 5000, "Duration": 5000,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
"Duration": 2000,
"Value": "0x0"
},
{ {
"PowerHint": "LAUNCH_EXTEND", "PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
@ -1258,16 +1277,21 @@
"Value": "DISPLAY_UPDATE_IMMINENT" "Value": "DISPLAY_UPDATE_IMMINENT"
}, },
{ {
"PowerHint": "DISPLAY_INACTIVE", "PowerHint": "DISPLAY_IDLE",
"Node": "BigClusterPowerDownTargetResidency", "Type": "EndHint",
"Duration": 0, "Value": "INTERACTION"
"Value": "10000"
}, },
{ {
"PowerHint": "DISPLAY_INACTIVE", "PowerHint": "INTERACTION",
"Node": "BigClusterPowerDownTargetResidency",
"Duration": 2000,
"Value": "750000"
},
{
"PowerHint": "INTERACTION",
"Node": "MidClusterPowerDownTargetResidency", "Node": "MidClusterPowerDownTargetResidency",
"Duration": 0, "Duration": 2000,
"Value": "10000" "Value": "750000"
}, },
{ {
"PowerHint": "DISPLAY_INACTIVE", "PowerHint": "DISPLAY_INACTIVE",
@ -1281,6 +1305,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",
"Duration": 1000,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_BIG_TSKIN_BYPASS", "Node": "CPU_BIG_TSKIN_BYPASS",
@ -1315,7 +1345,7 @@
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 1000, "Duration": 1000,
"Value": "1852000" "Value": "1885000"
}, },
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
@ -1339,13 +1369,13 @@
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CPULittleClusterMinFreq", "Node": "CPULittleClusterMinFreq",
"Duration": 1000, "Duration": 1000,
"Value": "1475000" "Value": "1548000"
}, },
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "CAMUClampBoost", "Node": "CAMUClampBoost",
"Duration": 1000, "Duration": 1000,
"Value": "765" "Value": "720"
}, },
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
@ -1429,19 +1459,19 @@
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "1852000" "Value": "1745000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "1622000" "Value": "1572000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "1475000" "Value": "1425000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
@ -1459,7 +1489,7 @@
"PowerHint": "CAMERA_SHOT", "PowerHint": "CAMERA_SHOT",
"Node": "CAMUClampBoost", "Node": "CAMUClampBoost",
"Duration": 100, "Duration": 100,
"Value": "765" "Value": "720"
}, },
{ {
"PowerHint": "CAMERA_BACKEND_BOOST", "PowerHint": "CAMERA_BACKEND_BOOST",
@ -1749,6 +1779,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -1911,6 +1947,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle", "Node": "AutoPreferIdle",
@ -2061,6 +2103,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle", "Node": "AutoPreferIdle",
@ -2101,19 +2149,19 @@
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1745000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1622000" "Value": "1572000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1475000" "Value": "1425000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
@ -2157,12 +2205,18 @@
"Duration": 0, "Duration": 0,
"Value": "cam1" "Value": "cam1"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUUtilThreshold", "Node": "CPUUtilThreshold",
"Duration": 0, "Duration": 0,
"Value": "1280" "Value": "1280"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CDPreferHighCap", "Node": "CDPreferHighCap",
@ -2295,6 +2349,12 @@
"Duration": 0, "Duration": 0,
"Value": "30" "Value": "30"
}, },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_VIDEO_RECORDING", "PowerHint": "CAMERA_VIDEO_RECORDING",
"Type": "MaskHint", "Type": "MaskHint",
@ -2367,7 +2427,7 @@
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50", "PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "975000" "Value": "955000"
}, },
{ {
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_60", "PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
@ -2409,7 +2469,7 @@
"PowerHint": "LOW_POWER_MID_CLUSTER_70", "PowerHint": "LOW_POWER_MID_CLUSTER_70",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "1622000" "Value": "1572000"
}, },
{ {
"PowerHint": "LOW_POWER_MID_CLUSTER_80", "PowerHint": "LOW_POWER_MID_CLUSTER_80",
@ -2421,13 +2481,13 @@
"PowerHint": "LOW_POWER_MID_CLUSTER_90", "PowerHint": "LOW_POWER_MID_CLUSTER_90",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "1999000" "Value": "1945000"
}, },
{ {
"PowerHint": "LOW_POWER_CPU_50", "PowerHint": "LOW_POWER_CPU_50",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "1328000" "Value": "1298000"
}, },
{ {
"PowerHint": "LOW_POWER_CPU_60", "PowerHint": "LOW_POWER_CPU_60",
@ -2451,7 +2511,7 @@
"PowerHint": "LOW_POWER_CPU_90", "PowerHint": "LOW_POWER_CPU_90",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3600000, "Duration": 3600000,
"Value": "2409000" "Value": "2363000"
}, },
{ {
"PowerHint": "LOW_POWER", "PowerHint": "LOW_POWER",
@ -2536,18 +2596,6 @@
"Duration": 50, "Duration": 50,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "100"
},
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_NONE",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "1500"
},
{ {
"PowerHint": "EXPENSIVE_RENDERING", "PowerHint": "EXPENSIVE_RENDERING",
"Node": "PowerHALRenderingState", "Node": "PowerHALRenderingState",
@ -2744,7 +2792,7 @@
"PowerHint": "FACE_UNLOCK_BOOST", "PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 500, "Duration": 500,
"Value": "1852000" "Value": "1885000"
}, },
{ {
"PowerHint": "FACE_UNLOCK_BOOST", "PowerHint": "FACE_UNLOCK_BOOST",
@ -2846,7 +2894,7 @@
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1745000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
@ -2894,19 +2942,19 @@
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1745000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1622000" "Value": "1572000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1475000" "Value": "1425000"
}, },
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
@ -2938,6 +2986,12 @@
"Duration": 0, "Duration": 0,
"Value": "0-8" "Value": "0-8"
}, },
{
"PowerHint": "CAMERA_PROJECT11",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{ {
"PowerHint": "CAMERA_PROJECT11", "PowerHint": "CAMERA_PROJECT11",
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
@ -2975,11 +3029,12 @@
"GpuBoost": true, "GpuBoost": true,
"GpuCapacityBoostMax": 150000, "GpuCapacityBoostMax": 150000,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.3,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
@ -3012,11 +3067,12 @@
"GpuBoost": true, "GpuBoost": true,
"GpuCapacityBoostMax": 125000, "GpuCapacityBoostMax": 125000,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.35,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300
@ -3049,11 +3105,12 @@
"GpuBoost": true, "GpuBoost": true,
"GpuCapacityBoostMax": 100000, "GpuCapacityBoostMax": 100000,
"HeuristicBoost_On": true, "HeuristicBoost_On": true,
"HBoostOnMissedCycles": 8, "HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgRatio": 4.0, "HBoostOffMaxAvgDurRatio": 4.0,
"HBoostOffMissedCycles": 5, "HBoostSevereJankPidPu": 0.25,
"HBoostPidPuFactor": 0.5, "HBoostSevereJankThreshold": 8,
"HBoostUclampMin": 722, "HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2, "JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25, "LowFrameRateThreshold": 25,
"MaxRecordsNum": 300 "MaxRecordsNum": 300

View file

@ -27,13 +27,10 @@ TARGET_SCREEN_DENSITY := 440
BOARD_USES_GENERIC_AUDIO := true BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_SHUSKY := true USES_DEVICE_GOOGLE_SHUSKY := true
RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_RIPCURRENT_DIR))
include device/google/shusky/device-shusky-common.mk include device/google/shusky/device-shusky-common.mk
include device/google/zuma/BoardConfig-common.mk include device/google/zuma/BoardConfig-common.mk
-include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk -include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
include device/google/shusky-sepolicy/ripcurrent-sepolicy.mk include device/google/shusky-sepolicy/ripcurrent-sepolicy.mk
include device/google/shusky/wifi/BoardConfig-wifi.mk include device/google/shusky/wifi/BoardConfig-wifi.mk

View file

@ -26,12 +26,6 @@ BOARD_KERNEL_CMDLINE += samsung_iommu_v9.load_sequential=1
TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := shiba TARGET_BOOTLOADER_BOARD_NAME := shiba
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_SHIBA_RADIO_DIR)
RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_HUSKY_RADIOCFG_DIR)
RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR)
$(call soong_config_set,shusky_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_SHIBA_DIR))
ifdef PHONE_CAR_BOARD_PRODUCT ifdef PHONE_CAR_BOARD_PRODUCT
include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
else else
@ -47,6 +41,7 @@ include device/google/shusky/device-shusky-common.mk
include device/google/zuma/BoardConfig-common.mk include device/google/zuma/BoardConfig-common.mk
-include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk -include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
-include vendor/google_devices/shiba/proprietary/BoardConfigVendor.mk -include vendor/google_devices/shiba/proprietary/BoardConfigVendor.mk
include device/google/shusky-sepolicy/shiba-sepolicy.mk include device/google/shusky-sepolicy/shiba-sepolicy.mk
include device/google/shusky/wifi/BoardConfig-wifi.mk include device/google/shusky/wifi/BoardConfig-wifi.mk

View file

@ -32,6 +32,15 @@
<!-- Minimum screen brightness allowed by the power manager. --> <!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">6</integer> <integer name="config_screenBrightnessDim">6</integer>
<!-- Default strength, in percentage, of bright color reduction when activated. -->
<integer name="config_reduceBrightColorsStrengthDefault">35</integer>
<!-- Minimum strength, in percentage, supported by bright color reduction. -->
<integer name="config_reduceBrightColorsStrengthMin">25</integer>
<!-- Maximum strength, in percentage, supported by bright color reduction. -->
<integer name="config_reduceBrightColorsStrengthMax">50</integer>
<!-- Minimum screen brightness setting allowed by power manager. <!-- Minimum screen brightness setting allowed by power manager.
The user is forbidden from setting the brightness below this level. --> The user is forbidden from setting the brightness below this level. -->
<item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item> <item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>

View file

@ -188,11 +188,11 @@
</array> </array>
<item name="gps.voltage">3700</item> <item name="gps.voltage">3700</item>
<!-- Idle Receive current for wifi radio in mA.--> <!-- Idle Receive current for wifi radio in mA.-->
<item name="wifi.controller.idle">79</item> <item name="wifi.controller.idle">38</item>
<!-- Rx current for wifi radio in mA.--> <!-- Rx current for wifi radio in mA.-->
<item name="wifi.controller.rx">118</item> <item name="wifi.controller.rx">57</item>
<!-- Tx current for wifi radio in mA--> <!-- Tx current for wifi radio in mA-->
<item name="wifi.controller.tx">331</item> <item name="wifi.controller.tx">550</item>
<!-- Operating voltage for wifi radio in mV.--> <!-- Operating voltage for wifi radio in mV.-->
<item name="wifi.controller.voltage">3700</item> <item name="wifi.controller.voltage">3850</item>
</device> </device>

View file

@ -25,7 +25,7 @@
<item>34</item> <item>34</item>
</integer-array> </integer-array>
<integer-array name="antenna_y"> <integer-array name="antenna_y">
<item>97</item> <item>48</item>
</integer-array> </integer-array>
<bool name="nfc_observe_mode_supported">true</bool> <bool name="nfc_observe_mode_supported">true</bool>
<bool name="enable_secure_nfc_support">true</bool> <bool name="enable_secure_nfc_support">true</bool>

View file

@ -5,7 +5,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 32.1, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 32.1, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/north_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -15,7 +14,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 33.7, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 33.7, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/cam_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -25,7 +23,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 47.2, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 47.2, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/soc_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -35,7 +32,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 48.4, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 48.4, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/charge_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -45,7 +41,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 31.7, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 31.7, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -61,7 +56,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 44.1, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 44.1, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -71,7 +65,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 34.6, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 34.6, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -80,7 +73,6 @@
"Name":"usb_pwr_therm", "Name":"usb_pwr_therm",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -337,8 +329,8 @@
"Name":"PARTIAL_SYSTEM_POWER", "Name":"PARTIAL_SYSTEM_POWER",
"VirtualRails":true, "VirtualRails":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L9S_GNSS_CORE", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"], "Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"],
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
"PowerSampleDelay":7000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":5
} }

View file

@ -5,7 +5,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 38.8, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 38.8, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/north_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -15,7 +14,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 31.0, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 31.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/cam_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -25,7 +23,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 41.4, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 41.4, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/soc_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -35,7 +32,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 42.4, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 42.4, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/charge_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -45,7 +41,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 31.2, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 31.2, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -61,7 +56,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 41.5, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 41.5, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -71,7 +65,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 35.1, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 35.1, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -80,7 +73,6 @@
"Name":"usb_pwr_therm", "Name":"usb_pwr_therm",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -370,8 +362,8 @@
"Name":"PARTIAL_SYSTEM_POWER", "Name":"PARTIAL_SYSTEM_POWER",
"VirtualRails":true, "VirtualRails":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L9S_GNSS_CORE", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"], "Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"],
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
"PowerSampleDelay":7000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":5
} }

View file

@ -5,7 +5,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 32.1, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 32.1, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/north_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -15,7 +14,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 33.7, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 33.7, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/cam_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -25,7 +23,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 47.2, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 47.2, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/soc_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -35,7 +32,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 48.4, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 48.4, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/charge_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -45,7 +41,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 31.7, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 31.7, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -61,7 +56,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 44.1, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 44.1, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -71,7 +65,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 34.6, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 34.6, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -80,104 +73,10 @@
"Name":"usb_pwr_therm", "Name":"usb_pwr_therm",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
}, },
{
"Name":"battery_cycle",
"Type":"BCL_VOLTAGE"
},
{
"Name":"critical-battery-cell",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":["battery", "battery_cycle", "vdroop1"],
"Coefficient":[-10000, 400, 1000],
"HotThreshold":["NaN", "NaN", "NaN", "NaN", "NaN", 3.00, "NaN"],
"Multiplier":1,
"PollingDelay":0,
"PassiveDelay":1000,
"SendCallback":true
},
{
"Name":"FLASH_LED_REDUCE",
"Type":"UNKNOWN",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":["battery", "battery_cycle", "vdroop1"],
"Coefficient":[-10000, 400, 1000],
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 3.00, "NaN", "NaN"],
"Multiplier":1,
"PollingDelay":0,
"PassiveDelay":1000,
"SendCallback":true,
"SendPowerHint":true
},
{
"Name":"soc",
"Type":"BCL_PERCENTAGE",
"HotThreshold":["NaN", "NaN", 80, "NaN", "NaN", "NaN", "NaN"],
"Multiplier":1
},
{
"Name":"batoilo",
"Type":"BCL_CURRENT",
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 5000, "NaN", "NaN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"BCL_AUDIO_BAACL",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "soc",
"Combination":["battery", "soc"],
"Coefficient":[-25000, 80],
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
"PollingDelay":0,
"PassiveDelay":600000,
"Multiplier":1,
"SendCallback":true
},
{
"Name":"vdroop1",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 1000, "NaN", "NaN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"vdroop2",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 1200, "NaN", "NaN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"smpl_gm",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 1100, "NaN", "NaN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{ {
"Name":"VIRTUAL-BTS-WINDOW-PARTIAL", "Name":"VIRTUAL-BTS-WINDOW-PARTIAL",
"Type":"UNKNOWN", "Type":"UNKNOWN",
@ -1152,8 +1051,8 @@
"Name":"PARTIAL_SYSTEM_POWER", "Name":"PARTIAL_SYSTEM_POWER",
"VirtualRails":true, "VirtualRails":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L9S_GNSS_CORE", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"], "Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"],
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
"PowerSampleDelay":7000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":5
} }

View file

@ -60,231 +60,6 @@
"VrThreshold":"NaN", "VrThreshold":"NaN",
"Multiplier":0.001 "Multiplier":0.001
}, },
{
"Name":"battery_cycle",
"Type":"BCL_VOLTAGE",
"HotThreshold":[
"NaN",
"NaN",
"NaN",
"NaN",
"NaN",
"NaN",
"NaN"
],
"VrThreshold":"NaN",
"Multiplier":1,
"Monitor":false
},
{
"Name":"critical-battery-cell",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":[
"battery",
"battery_cycle",
"vdroop1"
],
"Coefficient":[
"-10000",
"400",
"1000"
],
"HotThreshold":[
"NaN",
"NaN",
"NaN",
"NaN",
"NaN",
3.00,
"NaN"
],
"VrThreshold":"NaN",
"Multiplier":1,
"Monitor":true
},
{
"Name":"FLASH_LED_REDUCE",
"Type":"UNKNOWN",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":[
"battery",
"battery_cycle",
"vdroop1"
],
"Coefficient":[
"-10000",
"400",
"1000"
],
"HotThreshold":[
"NaN",
"NaN",
"NaN",
"NaN",
3.00,
"NaN",
"NaN"
],
"VrThreshold":"NaN",
"Multiplier":1,
"Monitor":true,
"SendPowerHint":true
},
{
"Name":"soc",
"Type":"BCL_PERCENTAGE",
"HotThreshold":[
"NaN",
80,
"NaN",
"NaN",
"NaN",
"NaN",
"NaN"
],
"VrThreshold":"NaN",
"Multiplier":1
},
{
"Name":"batoilo",
"Type":"BCL_CURRENT",
"HotThreshold":[
"NaN",
"NaN",
"NaN",
"NaN",
5000,
"NaN",
"NaN"
],
"HotHysteresis":[
0.0,
0.0,
0.0,
0.0,
100,
0.0,
0.0
],
"VrThreshold":"NaN",
"Multiplier":1,
"Monitor":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"BCL_AUDIO_BAACL",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "soc",
"Combination":[
"battery",
"soc"
],
"Coefficient":[
"-25000",
"80"
],
"HotThreshold":[
"NaN",
"NaN",
"NaN",
"NaN",
2.0,
"NaN",
"NaN"
],
"VrThreshold":"NaN",
"Multiplier":1,
"Monitor":true
},
{
"Name":"vdroop1",
"Type":"BCL_VOLTAGE",
"HotThreshold":[
"NaN",
"NaN",
"NaN",
"NaN",
1000,
"NaN",
"NaN"
],
"HotHysteresis":[
0.0,
0.0,
0.0,
0.0,
100,
0.0,
0.0
],
"VrThreshold":"NaN",
"Multiplier":1,
"Monitor":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"vdroop2",
"Type":"BCL_VOLTAGE",
"HotThreshold":[
"NaN",
"NaN",
"NaN",
"NaN",
1200,
"NaN",
"NaN"
],
"HotHysteresis":[
0.0,
0.0,
0.0,
0.0,
100,
0.0,
0.0
],
"VrThreshold":"NaN",
"Multiplier":1,
"Monitor":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"smpl_gm",
"Type":"BCL_VOLTAGE",
"HotThreshold":[
"NaN",
"NaN",
"NaN",
"NaN",
1100,
"NaN",
"NaN"
],
"HotHysteresis":[
0.0,
0.0,
0.0,
0.0,
100,
0.0,
0.0
],
"VrThreshold":"NaN",
"Multiplier":1,
"Monitor":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{ {
"Name":"TPU", "Name":"TPU",
"Type":"NPU", "Type":"NPU",
@ -305,20 +80,17 @@
{ {
"Name":"thermal-cpufreq-0", "Name":"thermal-cpufreq-0",
"Type":"CPU", "Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
"State2Power":["1100", "1050", "1000", "950", "900", "850", "800", "750", "700", "650", "600"]
}, },
{ {
"Name":"thermal-cpufreq-1", "Name":"thermal-cpufreq-1",
"Type":"CPU", "Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
"State2Power":["1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"]
}, },
{ {
"Name":"thermal-cpufreq-2", "Name":"thermal-cpufreq-2",
"Type":"CPU", "Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
"State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"]
}, },
{ {
"Name":"thermal-gpufreq-0", "Name":"thermal-gpufreq-0",

View file

@ -5,7 +5,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 38.8, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 38.8, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/north_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -15,7 +14,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 31.0, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 31.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/cam_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -25,7 +23,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 41.4, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 41.4, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/soc_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -35,7 +32,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 42.4, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 42.4, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/charge_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -45,7 +41,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 31.2, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 31.2, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -61,7 +56,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 41.5, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 41.5, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -71,7 +65,6 @@
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 35.1, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 35.1, "NaN", "NaN", "NaN", "NaN", "NaN"],
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0], "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -80,104 +73,10 @@
"Name":"usb_pwr_therm", "Name":"usb_pwr_therm",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"], "HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
"Multiplier":0.001, "Multiplier":0.001,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
}, },
{
"Name":"battery_cycle",
"Type":"BCL_VOLTAGE"
},
{
"Name":"critical-battery-cell",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":["battery", "battery_cycle", "vdroop1"],
"Coefficient":[-10000, 400, 1000],
"HotThreshold":["NaN", "NaN", "NaN", "NaN", "NaN", 3.00, "NaN"],
"Multiplier":1,
"PollingDelay":0,
"PassiveDelay":1000,
"SendCallback":true
},
{
"Name":"FLASH_LED_REDUCE",
"Type":"UNKNOWN",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":["battery", "battery_cycle", "vdroop1"],
"Coefficient":[-10000, 400, 1000],
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 3.00, "NaN", "NaN"],
"Multiplier":1,
"PollingDelay":0,
"PassiveDelay":1000,
"SendCallback":true,
"SendPowerHint":true
},
{
"Name":"soc",
"Type":"BCL_PERCENTAGE",
"HotThreshold":["NaN", "NaN", 80, "NaN", "NaN", "NaN", "NaN"],
"Multiplier":1
},
{
"Name":"batoilo",
"Type":"BCL_CURRENT",
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 5000, "NaN", "NaN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"BCL_AUDIO_BAACL",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "soc",
"Combination":["battery", "soc"],
"Coefficient":[-25000, 80],
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 2.0, "NaN", "NaN"],
"PollingDelay":0,
"PassiveDelay":600000,
"Multiplier":1,
"SendCallback":true
},
{
"Name":"vdroop1",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 1000, "NaN", "NaN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"vdroop2",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 1200, "NaN", "NaN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{
"Name":"smpl_gm",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NaN", "NaN", "NaN", "NaN", 1100, "NaN", "NaN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":1000
},
{ {
"Name":"VIRTUAL-SKIN-SUB-0", "Name":"VIRTUAL-SKIN-SUB-0",
"Type":"UNKNOWN", "Type":"UNKNOWN",
@ -1185,8 +1084,8 @@
"Name":"PARTIAL_SYSTEM_POWER", "Name":"PARTIAL_SYSTEM_POWER",
"VirtualRails":true, "VirtualRails":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L9S_GNSS_CORE", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"], "Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"],
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
"PowerSampleDelay":7000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":5
} }