Merge 24Q4 into AOSP main
Bug: 370570306 Merged-In: I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0 Change-Id: I201b1b5be16526adc56bff9b92eb8573fafd1275
This commit is contained in:
commit
f8c0a9fcd5
27 changed files with 2156 additions and 218 deletions
|
@ -39,6 +39,7 @@ BOARD_KERNEL_CMDLINE += disable_dma32=on
|
|||
|
||||
include device/google/zuma/BoardConfig-common.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/akita/proprietary/BoardConfigVendor.mk
|
||||
include device/google/akita-sepolicy/akita-sepolicy.mk
|
||||
include device/google/akita/wifi/BoardConfig-wifi.mk
|
||||
|
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 647 KiB |
63
audio/akita/aidl_config/Android.bp
Normal file
63
audio/akita/aidl_config/Android.bp
Normal file
|
@ -0,0 +1,63 @@
|
|||
// Copyright (C) 2024 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.
|
||||
|
||||
soong_namespace {
|
||||
imports: [
|
||||
"frameworks/av/services/audiopolicy/config",
|
||||
],
|
||||
}
|
||||
|
||||
package {
|
||||
default_applicable_licenses: [
|
||||
"Android-Apache-2.0",
|
||||
],
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "audio_policy_volumes.xml",
|
||||
src: "audio_policy_volumes.xml",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "imported_default_volume_tables.xml",
|
||||
src: "//frameworks/av/services/audiopolicy/config:default_volume_tables.xml",
|
||||
soc_specific: true,
|
||||
filename_from_src: true,
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "audio_platform_configuration.xml",
|
||||
src: "audio_platform_configuration.xml",
|
||||
soc_specific: true,
|
||||
required: [
|
||||
"audio_policy_volumes.xml",
|
||||
"imported_default_volume_tables.xml",
|
||||
],
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "mixer_paths_aidl.xml",
|
||||
src: "mixer_paths_aidl.xml",
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
phony {
|
||||
name: "audio_aidl_configs",
|
||||
soc_specific: true,
|
||||
required: [
|
||||
"audio_platform_configuration.xml",
|
||||
"mixer_paths_aidl.xml",
|
||||
],
|
||||
}
|
112
audio/akita/aidl_config/audio_platform_configuration.xml
Normal file
112
audio/akita/aidl_config/audio_platform_configuration.xml
Normal file
|
@ -0,0 +1,112 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2023 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<audioPlatformConfiguration xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<features>
|
||||
<feature name="BatteryThrottle">
|
||||
<argument name="Type" value="BCL_VOLTAGE" />
|
||||
<argument name="Name" value="BCL_AUDIO_BAACL" />
|
||||
<argument name="Strategy" value="MediaSpeakerAndScreenOn" />
|
||||
</feature>
|
||||
<feature name="PlaybackThermalThrottle">
|
||||
<argument name="PollWaitMs" value="20000" />
|
||||
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
|
||||
<argument name="ThermistorType" value="UNKNOWN" />
|
||||
<argument name="ThrottlingSeverity" value="MODERATE" />
|
||||
</feature>
|
||||
<feature name="RuntimeTuningDump" />
|
||||
<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>
|
||||
|
||||
<voipVolume>
|
||||
<path voipDevice="VoipDevice::kUsb">
|
||||
<gain>0.01</gain>
|
||||
<gain>0.02</gain>
|
||||
<gain>0.04</gain>
|
||||
<gain>0.10</gain>
|
||||
<gain>0.21</gain>
|
||||
<gain>0.47</gain>
|
||||
<gain>1.00</gain>
|
||||
</path>
|
||||
</voipVolume>
|
||||
|
||||
<devices>
|
||||
<device name="bluetooth" />
|
||||
<device name="usb" />
|
||||
<device name="speaker" codec="cs35l41">
|
||||
<argument name="SpeakerNum" value="2" />
|
||||
<argument name="AcousticShockProtection" />
|
||||
</device>
|
||||
</devices>
|
||||
|
||||
<tuners>
|
||||
<tuner type="playback" name="waves">
|
||||
<argument name="Sink" value="SPK" />
|
||||
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
|
||||
</tuner>
|
||||
<tuner type="telephony" name="fortemedia">
|
||||
<argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
|
||||
<argument name="VoIP_Rate" value="32000" />
|
||||
<argument name="BOOST_USB_SWB_CLK" value="y" />
|
||||
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
|
||||
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
|
||||
<argument name="MCPS_TABLE" value="y" />
|
||||
</tuner>
|
||||
<tuner type="capture" name="gs_capture" />
|
||||
</tuners>
|
||||
|
||||
<latencies>
|
||||
<latency source="primary-playback" sink="speaker" milliseconds="20" />
|
||||
<latency source="primary-playback" sink="usb-device" milliseconds="10" />
|
||||
<latency source="primary-playback" sink="usb-headset" milliseconds="10" />
|
||||
<latency source="primary-playback" sink="bluetooth-a2dp-device" milliseconds="100" />
|
||||
<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="usb-device" milliseconds="70" />
|
||||
<latency source="deep-buffer-playback" sink="usb-headset" milliseconds="70" />
|
||||
<latency source="deep-buffer-playback" sink="bluetooth-a2dp-device" milliseconds="180" />
|
||||
|
||||
<latency source="compress-offload-playback" sink="speaker" milliseconds="40" />
|
||||
<latency source="compress-offload-playback" sink="usb-device" milliseconds="40" />
|
||||
<latency source="compress-offload-playback" sink="usb-headset" milliseconds="40" />
|
||||
<latency source="compress-offload-playback" sink="bluetooth-a2dp-device" milliseconds="70" />
|
||||
|
||||
<latency source="immersive-playback" sink="bluetooth-a2dp-device" milliseconds="100" />
|
||||
|
||||
<latency source="microphones" sink="primary-capture" milliseconds="160" />
|
||||
<latency source="back-microphones" sink="primary-capture" milliseconds="160" />
|
||||
<latency source="bluetooth-sco-headset" sink="primary-capture" milliseconds="40" />
|
||||
<latency source="usb-device-microphones" sink="primary-capture" milliseconds="100" />
|
||||
<latency source="usb-headset-microphones" sink="primary-capture" milliseconds="100" />
|
||||
</latencies>
|
||||
|
||||
<spatialCapture>
|
||||
<enablement useCase="primary-capture" deviceInterface="microphones">
|
||||
<source>MIC</source>
|
||||
<source>CAMCORDER</source>
|
||||
</enablement>
|
||||
<enablement useCase="primary-capture" deviceInterface="back-microphones">
|
||||
<source>MIC</source>
|
||||
<source>CAMCORDER</source>
|
||||
</enablement>
|
||||
</spatialCapture>
|
||||
|
||||
<xi:include href="audio_policy_volumes.xml" />
|
||||
<xi:include href="default_volume_tables.xml" />
|
||||
</audioPlatformConfiguration>
|
265
audio/akita/aidl_config/audio_policy_volumes.xml
Normal file
265
audio/akita/aidl_config/audio_policy_volumes.xml
Normal file
|
@ -0,0 +1,265 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2015 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.
|
||||
-->
|
||||
<!-- Volume section defines a volume curve for a given use case and device category.
|
||||
It contains a list of points of this curve expressing the attenuation in Millibels for a given
|
||||
volume index from 0 to 100.
|
||||
<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
|
||||
<point>0,-9600</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
-->
|
||||
|
||||
<volumes>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5200</point>
|
||||
<point>13,-5000</point>
|
||||
<point>28,-4400</point>
|
||||
<point>56,-3380</point>
|
||||
<point>71,-3120</point>
|
||||
<point>85,-2750</point>
|
||||
<point>100,-2150</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4935</point>
|
||||
<point>14,-3320</point>
|
||||
<point>28,-2960</point>
|
||||
<point>71,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6920</point>
|
||||
<point>4,-6920</point>
|
||||
<point>8,-6664</point>
|
||||
<point>12,-6374</point>
|
||||
<point>16,-6082</point>
|
||||
<point>20,-5759</point>
|
||||
<point>24,-5410</point>
|
||||
<point>28,-5038</point>
|
||||
<point>32,-4807</point>
|
||||
<point>36,-4577</point>
|
||||
<point>40,-4339</point>
|
||||
<point>44,-4132</point>
|
||||
<point>48,-3860</point>
|
||||
<point>52,-3569</point>
|
||||
<point>56,-3223</point>
|
||||
<point>60,-2823</point>
|
||||
<point>64,-2452</point>
|
||||
<point>68,-2078</point>
|
||||
<point>72,-1795</point>
|
||||
<point>76,-1561</point>
|
||||
<point>80,-1226</point>
|
||||
<point>84,-956</point>
|
||||
<point>88,-789</point>
|
||||
<point>92,-635</point>
|
||||
<point>96,-505</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-5600</point>
|
||||
<point>14,-4670</point>
|
||||
<point>28,-3060</point>
|
||||
<point>71,-1050</point>
|
||||
<point>100,-100</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6350</point>
|
||||
<point>14,-4300</point>
|
||||
<point>28,-3710</point>
|
||||
<point>66,-2100</point>
|
||||
<point>85,-1550</point>
|
||||
<point>100,-780</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5200</point>
|
||||
<point>13,-5000</point>
|
||||
<point>28,-4400</point>
|
||||
<point>56,-3380</point>
|
||||
<point>71,-3120</point>
|
||||
<point>85,-2750</point>
|
||||
<point>100,-2150</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6600</point>
|
||||
<point>13,-6220</point>
|
||||
<point>28,-5500</point>
|
||||
<point>42,-4600</point>
|
||||
<point>57,-4250</point>
|
||||
<point>100,-2780</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
</volumes>
|
||||
|
1508
audio/akita/aidl_config/mixer_paths_aidl.xml
Normal file
1508
audio/akita/aidl_config/mixer_paths_aidl.xml
Normal file
File diff suppressed because it is too large
Load diff
|
@ -16,6 +16,11 @@
|
|||
|
||||
AUDIO_TABLE_FOLDER := akita
|
||||
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
PRODUCT_SOONG_NAMESPACES += device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
|
||||
PRODUCT_PACKAGES += audio_aidl_configs
|
||||
|
||||
else
|
||||
# Platform Configuration for AudioHAL / SoundTriggerHAL
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
|
||||
|
@ -27,6 +32,8 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||
frameworks/av/services/audiopolicy/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||
|
||||
endif
|
||||
|
||||
# AudioEffectHAL Configuration
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml
|
||||
|
@ -76,3 +83,13 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
# Offload spatializer config
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/base:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/base \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_2_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_2_ch \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_6_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_6_ch \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_xaural:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_xaural \
|
||||
|
||||
endif
|
||||
|
|
|
@ -173,14 +173,14 @@
|
|||
</input_backend_cfg_mic_mapping>
|
||||
|
||||
<usecase_attr>
|
||||
<!-- for output with AUDIO_OUTPUT_FLAG_RAW, 32 periods * 64 frames(around 1.3ms) * 2ch * 4(s32) = 16384 bytes -->
|
||||
<usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="true" period="64" period_num="32"/>
|
||||
<!-- 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="false" period="48" period_num="40"/>
|
||||
<!-- 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"/>
|
||||
<!-- 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"/>
|
||||
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 4 * 20ms buffer -->
|
||||
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
||||
<!-- 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="40" period_num="2"/>
|
||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
||||
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->
|
||||
|
|
|
@ -748,7 +748,7 @@
|
|||
<path name="handset-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
|
@ -760,8 +760,8 @@
|
|||
|
||||
<path name="voice-handset-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="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<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"/>
|
||||
|
@ -774,7 +774,7 @@
|
|||
<path name="speaker-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
|
@ -786,8 +786,8 @@
|
|||
|
||||
<path name="voice-speaker-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="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<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"/>
|
||||
|
@ -800,7 +800,7 @@
|
|||
<path name="camcorder-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
|
@ -812,7 +812,7 @@
|
|||
|
||||
<path name="voice-recog-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
|
@ -825,7 +825,7 @@
|
|||
<path name="voice-recog-aec-mic">
|
||||
<ctl name="Audio Capture Eraser Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
|
@ -838,7 +838,7 @@
|
|||
|
||||
<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="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
|
@ -850,7 +850,7 @@
|
|||
|
||||
<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="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
|
@ -862,7 +862,7 @@
|
|||
|
||||
<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="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
|
@ -874,7 +874,7 @@
|
|||
|
||||
<path name="ultrasound-mic">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="2"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
</path>
|
||||
|
@ -884,7 +884,7 @@
|
|||
|
||||
<path name="bt-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="BT_MIC"/>
|
||||
|
@ -897,7 +897,7 @@
|
|||
|
||||
<path name="usb-headset-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
</path>
|
||||
|
||||
<path name="mic2-only">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="2" />
|
||||
<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="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
|
@ -112,7 +112,7 @@
|
|||
|
||||
<path name="mic-all">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
|
@ -132,7 +132,7 @@
|
|||
</path>
|
||||
|
||||
<path name="us-mic2-only">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="2" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
|
@ -142,7 +142,7 @@
|
|||
|
||||
<path name="us-mic-all">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="2" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
|
|
BIN
audio/akita/tuning/spatializer/base
Normal file
BIN
audio/akita/tuning/spatializer/base
Normal file
Binary file not shown.
BIN
audio/akita/tuning/spatializer/mode_2_ch
Normal file
BIN
audio/akita/tuning/spatializer/mode_2_ch
Normal file
Binary file not shown.
BIN
audio/akita/tuning/spatializer/mode_6_ch
Normal file
BIN
audio/akita/tuning/spatializer/mode_6_ch
Normal file
Binary file not shown.
BIN
audio/akita/tuning/spatializer/mode_xaural
Normal file
BIN
audio/akita/tuning/spatializer/mode_xaural
Normal file
Binary file not shown.
|
@ -79,6 +79,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/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/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/owt_free_space
|
||||
chown system system /sys/bus/i2c/devices/0-0043/default/f0_comp_enable
|
||||
|
|
|
@ -16,17 +16,13 @@
|
|||
|
||||
PRODUCT_RELEASE_CONFIG_MAPS += $(wildcard vendor/google_devices/release/phones/pixel_2024_midyear/release_config_map.textproto)
|
||||
|
||||
ifdef RELEASE_KERNEL_AKITA_VERSION
|
||||
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_AKITA_VERSION)
|
||||
endif
|
||||
|
||||
ifdef RELEASE_KERNEL_AKITA_DIR
|
||||
# Keeps flexibility for kasan and ufs builds
|
||||
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_AKITA_DIR)
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_AKITA_DIR)/kernel-headers
|
||||
else
|
||||
TARGET_KERNEL_DIR ?= device/google/akita-kernels/5.15/trunk
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= device/google/akita-kernels/5.15/trunk/kernel-headers
|
||||
|
||||
ifneq ($(TARGET_BOOTS_16K),true)
|
||||
PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_AKITA_16K_DEVELOPER_OPTION)
|
||||
endif
|
||||
|
||||
$(call inherit-product-if-exists, vendor/google_devices/akita/prebuilts/device-vendor-akita.mk)
|
||||
|
@ -38,6 +34,10 @@ $(call inherit-product-if-exists, vendor/google_devices/akita/proprietary/Wallpa
|
|||
|
||||
DEVICE_PACKAGE_OVERLAYS += device/google/akita/akita/overlay
|
||||
|
||||
ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA),true)
|
||||
USE_AUDIO_HAL_AIDL := true
|
||||
endif
|
||||
|
||||
include device/google/akita/audio/akita/audio-tables.mk
|
||||
include device/google/zuma/device-shipping-common.mk
|
||||
include hardware/google/pixel/vibrator/cs40l26/device.mk
|
||||
|
@ -235,7 +235,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
|
||||
# LE Audio Unicast Allowlist
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.leaudio.allow_list=SM-R510
|
||||
persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5
|
||||
|
||||
# Support LE & Classic concurrent encryption (b/330704060)
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
|
@ -264,6 +264,17 @@ endif
|
|||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
bluetooth.server.automatic_turn_on=true
|
||||
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
# AIDL
|
||||
|
||||
# declare use of stereo spatialization
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.audio.stereo_spatialization_enabled=true \
|
||||
ro.audio.spatializer_enabled=true
|
||||
|
||||
else
|
||||
# HIDL
|
||||
|
||||
# Spatial Audio
|
||||
PRODUCT_PACKAGES += \
|
||||
libspatialaudio \
|
||||
|
@ -274,6 +285,8 @@ PRODUCT_PACKAGES += \
|
|||
android.hardware.audio.sounddose-vendor-impl \
|
||||
audio_sounddose_aoc \
|
||||
|
||||
endif
|
||||
|
||||
# Audio CCA property
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.vendor.audio.cca.enabled=false
|
||||
|
@ -347,6 +360,8 @@ endif
|
|||
# Display
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=1500
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.google-ak3b.temperature_path=/dev/thermal/tz-by-name/display_therm/temp
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.display.read_temp_interval=30
|
||||
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.udfps.als_feed_forward_supported=true \
|
||||
|
@ -356,13 +371,6 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.udfps.auto_exposure_compensation_supported=true
|
||||
|
||||
# Fingerprint Auth Filter
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.udfps.auth_filter.log_all_coverages=true \
|
||||
persist.vendor.udfps.auth_filter.data_collection_enabled=false
|
||||
endif
|
||||
|
||||
# OIS with system imu
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.camera.ois_with_system_imu=true
|
||||
|
@ -370,8 +378,8 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
# Vibrator HAL
|
||||
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
|
||||
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
|
||||
ACTUATOR_MODEL := legacy_zlra_actuator
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.vibrator.hal.supported_primitives=243 \
|
||||
ro.vendor.vibrator.hal.f0.comp.enabled=1 \
|
||||
ro.vendor.vibrator.hal.redc.comp.enabled=0 \
|
||||
persist.vendor.vibrator.hal.context.enable=false \
|
||||
|
@ -380,17 +388,40 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
|
||||
persist.vendor.vibrator.hal.context.settlingtime=5000
|
||||
|
||||
# Override Output Distortion Gain
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.audio.hapticgenerator.distortion.output.gain=0.29
|
||||
|
||||
# Increment the SVN for any official public releases
|
||||
ifdef RELEASE_SVN_AKITA
|
||||
TARGET_SVN ?= $(RELEASE_SVN_AKITA)
|
||||
else
|
||||
# Set this for older releases that don't use build flag
|
||||
TARGET_SVN ?= 18
|
||||
TARGET_SVN ?= 21
|
||||
endif
|
||||
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
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_AKITA))
|
||||
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_AKITA)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set build properties for EMR builds
|
||||
ifeq ($(RELEASE_IS_EMR), true)
|
||||
ifneq (,$(RELEASE_BASE_OS_AKITA))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_AKITA)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Keyboard height ratio and bottom padding in dp for portrait mode
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.com.google.ime.kb_pad_port_b=4.19 \
|
||||
|
@ -411,3 +442,11 @@ PRODUCT_SYSTEM_PROPERTIES += \
|
|||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
|
||||
endif
|
||||
|
||||
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
|
||||
PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
|
||||
|
||||
# Bluetooth device id
|
||||
# Akita: 0x410F
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
bluetooth.device_id.product_id=16655
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -48,15 +48,6 @@
|
|||
<instance>default</instance>
|
||||
</interface>
|
||||
</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">
|
||||
<name>android.hardware.graphics.composer</name>
|
||||
<transport>hwbinder</transport>
|
||||
|
|
|
@ -219,7 +219,6 @@
|
|||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -229,7 +228,7 @@
|
|||
"750000",
|
||||
"10000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -239,7 +238,7 @@
|
|||
"750000",
|
||||
"10000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -285,6 +284,15 @@
|
|||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUSkipMask",
|
||||
"Path": "/proc/vendor_sched/cpu_skip_mask",
|
||||
"Values": [
|
||||
"0x0",
|
||||
"0x100"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "BGUClampMaxBoost",
|
||||
"Path": "/proc/vendor_sched/groups/bg/uclamp_max",
|
||||
|
@ -309,7 +317,7 @@
|
|||
"Name": "CAMUClampBoost",
|
||||
"Path": "/proc/vendor_sched/groups/cam/uclamp_min",
|
||||
"Values": [
|
||||
"765",
|
||||
"720",
|
||||
"250",
|
||||
"0"
|
||||
],
|
||||
|
@ -430,7 +438,6 @@
|
|||
"1",
|
||||
"0"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -460,6 +467,15 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "SysGroupCfsSkipMask",
|
||||
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
|
||||
"Values": [
|
||||
"0x0",
|
||||
"0x100"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGPreferIdle",
|
||||
"Path": "/proc/vendor_sched/groups/fg/prefer_idle",
|
||||
|
@ -467,7 +483,6 @@
|
|||
"1",
|
||||
"0"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -858,6 +873,12 @@
|
|||
"Duration": 1000,
|
||||
"Value": "0-3"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 5000,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "ReducePreferIdle",
|
||||
|
@ -999,6 +1020,12 @@
|
|||
"Duration": 5000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 2000,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1226,16 +1253,21 @@
|
|||
"Value": "DISPLAY_UPDATE_IMMINENT"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "BigClusterPowerDownTargetResidency",
|
||||
"Duration": 0,
|
||||
"Value": "10000"
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Type": "EndHint",
|
||||
"Value": "INTERACTION"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"PowerHint": "INTERACTION",
|
||||
"Node": "BigClusterPowerDownTargetResidency",
|
||||
"Duration": 2000,
|
||||
"Value": "750000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "INTERACTION",
|
||||
"Node": "MidClusterPowerDownTargetResidency",
|
||||
"Duration": 0,
|
||||
"Value": "10000"
|
||||
"Duration": 2000,
|
||||
"Value": "750000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
|
@ -1255,6 +1287,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 1000,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "CPU_BIG_TSKIN_BYPASS",
|
||||
|
@ -1319,7 +1357,7 @@
|
|||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "CAMUClampBoost",
|
||||
"Duration": 1000,
|
||||
"Value": "765"
|
||||
"Value": "720"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
|
@ -1433,7 +1471,7 @@
|
|||
"PowerHint": "CAMERA_SHOT",
|
||||
"Node": "CAMUClampBoost",
|
||||
"Duration": 100,
|
||||
"Value": "765"
|
||||
"Value": "720"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_BACKEND_BOOST",
|
||||
|
@ -1729,6 +1767,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 0,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
|
@ -1891,6 +1935,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 0,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "AutoPreferIdle",
|
||||
|
@ -2041,6 +2091,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 0,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "AutoPreferIdle",
|
||||
|
@ -2131,6 +2187,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-8"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 0,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
|
@ -2275,6 +2337,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "30"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 0,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_VIDEO_RECORDING",
|
||||
"Type": "MaskHint",
|
||||
|
@ -2540,18 +2608,6 @@
|
|||
"Duration": 50,
|
||||
"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",
|
||||
"Node": "PowerHALRenderingState",
|
||||
|
@ -2942,6 +2998,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0-8"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "CPUSkipMask",
|
||||
"Duration": 0,
|
||||
"Value": "0x0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "MIFTargetLoad",
|
||||
|
@ -2977,11 +3039,12 @@
|
|||
"GpuBoost": true,
|
||||
"GpuCapacityBoostMax": 40000,
|
||||
"HeuristicBoost_On": true,
|
||||
"HBoostOnMissedCycles": 8,
|
||||
"HBoostOffMaxAvgRatio": 4.0,
|
||||
"HBoostOffMissedCycles": 5,
|
||||
"HBoostPidPuFactor": 0.5,
|
||||
"HBoostUclampMin": 722,
|
||||
"HBoostModerateJankThreshold": 2,
|
||||
"HBoostOffMaxAvgDurRatio": 4.0,
|
||||
"HBoostSevereJankPidPu": 0.3,
|
||||
"HBoostSevereJankThreshold": 8,
|
||||
"HBoostUclampMinCeilingRange": [480, 722],
|
||||
"HBoostUclampMinFloorRange": [230, 410],
|
||||
"JankCheckTimeFactor": 1.2,
|
||||
"LowFrameRateThreshold": 25,
|
||||
"MaxRecordsNum": 300
|
||||
|
@ -3012,11 +3075,12 @@
|
|||
"GpuBoost": true,
|
||||
"GpuCapacityBoostMax": 32500,
|
||||
"HeuristicBoost_On": true,
|
||||
"HBoostOnMissedCycles": 8,
|
||||
"HBoostOffMaxAvgRatio": 4.0,
|
||||
"HBoostOffMissedCycles": 5,
|
||||
"HBoostPidPuFactor": 0.5,
|
||||
"HBoostUclampMin": 722,
|
||||
"HBoostModerateJankThreshold": 2,
|
||||
"HBoostOffMaxAvgDurRatio": 4.0,
|
||||
"HBoostSevereJankPidPu": 0.35,
|
||||
"HBoostSevereJankThreshold": 8,
|
||||
"HBoostUclampMinCeilingRange": [480, 722],
|
||||
"HBoostUclampMinFloorRange": [230, 410],
|
||||
"JankCheckTimeFactor": 1.2,
|
||||
"LowFrameRateThreshold": 25,
|
||||
"MaxRecordsNum": 300
|
||||
|
@ -3047,11 +3111,12 @@
|
|||
"GpuBoost": true,
|
||||
"GpuCapacityBoostMax": 25000,
|
||||
"HeuristicBoost_On": true,
|
||||
"HBoostOnMissedCycles": 8,
|
||||
"HBoostOffMaxAvgRatio": 4.0,
|
||||
"HBoostOffMissedCycles": 5,
|
||||
"HBoostPidPuFactor": 0.5,
|
||||
"HBoostUclampMin": 722,
|
||||
"HBoostModerateJankThreshold": 2,
|
||||
"HBoostOffMaxAvgDurRatio": 4.0,
|
||||
"HBoostSevereJankPidPu": 0.25,
|
||||
"HBoostSevereJankThreshold": 8,
|
||||
"HBoostUclampMinCeilingRange": [480, 722],
|
||||
"HBoostUclampMinFloorRange": [230, 410],
|
||||
"JankCheckTimeFactor": 1.2,
|
||||
"LowFrameRateThreshold": 25,
|
||||
"MaxRecordsNum": 300
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<item>34</item>
|
||||
</integer-array>
|
||||
<integer-array name="antenna_y">
|
||||
<item>96</item>
|
||||
<item>46</item>
|
||||
</integer-array>
|
||||
<bool name="nfc_observe_mode_supported">true</bool>
|
||||
</resources>
|
||||
|
|
|
@ -8,20 +8,17 @@
|
|||
{
|
||||
"Name":"modem_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/modem_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"gnss_tcxo_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"usb_conn_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 36.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"TempPath":"/dev/thermal/tz-by-name/usb_conn_therm/tz_temp",
|
||||
"Multiplier":0.001,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -29,7 +26,6 @@
|
|||
{
|
||||
"Name":"rffe_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/rffe_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
@ -37,7 +33,6 @@
|
|||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 36.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"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,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -47,7 +42,6 @@
|
|||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 36.5, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
||||
"TempPath":"/dev/thermal/tz-by-name/charger_therm/tz_temp",
|
||||
"Multiplier":0.001,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -55,109 +49,13 @@
|
|||
{
|
||||
"Name":"display_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/display_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"quiet_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"battery_cycle",
|
||||
"Type":"BCL_VOLTAGE",
|
||||
"Multiplier":1
|
||||
},
|
||||
{
|
||||
"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-1",
|
||||
"Type":"UNKNOWN",
|
||||
|
|
|
@ -8,20 +8,17 @@
|
|||
{
|
||||
"Name":"modem_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/modem_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"gnss_tcxo_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"usb_conn_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 46.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"TempPath":"/dev/thermal/tz-by-name/usb_conn_therm/tz_temp",
|
||||
"Multiplier":0.001,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -29,13 +26,11 @@
|
|||
{
|
||||
"Name":"rffe_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/rffe_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"soc_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/soc_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
@ -43,7 +38,6 @@
|
|||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 36.5, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
||||
"TempPath":"/dev/thermal/tz-by-name/charger_therm/tz_temp",
|
||||
"Multiplier":0.001,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -51,13 +45,11 @@
|
|||
{
|
||||
"Name":"display_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/display_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"quiet_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
|
|
@ -8,20 +8,17 @@
|
|||
{
|
||||
"Name":"modem_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/modem_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"gnss_tcxo_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"usb_conn_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"TempPath":"/dev/thermal/tz-by-name/usb_conn_therm/tz_temp",
|
||||
"Multiplier":0.001,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -29,7 +26,6 @@
|
|||
{
|
||||
"Name":"rffe_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/rffe_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
@ -37,7 +33,6 @@
|
|||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 29.9, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"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,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -45,19 +40,16 @@
|
|||
{
|
||||
"Name":"charger_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/charger_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"display_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/display_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"quiet_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
|
|
@ -8,20 +8,17 @@
|
|||
{
|
||||
"Name":"modem_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/modem_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"gnss_tcxo_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"usb_conn_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"TempPath":"/dev/thermal/tz-by-name/usb_conn_therm/tz_temp",
|
||||
"Multiplier":0.001,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -29,7 +26,6 @@
|
|||
{
|
||||
"Name":"rffe_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/rffe_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
@ -37,7 +33,6 @@
|
|||
"Type":"UNKNOWN",
|
||||
"HotThreshold":["NAN", 27.9, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||
"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,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000
|
||||
|
@ -45,19 +40,16 @@
|
|||
{
|
||||
"Name":"charger_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/charger_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"display_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/display_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"quiet_therm",
|
||||
"Type":"UNKNOWN",
|
||||
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue