DO NOT MERGE - Merge Android 13
Bug: 242648940 Merged-In: Id6d742e62ffceb1db753a60a3ae0c376036e2afd Change-Id: I52e205a5effa05114b14dfb34a28bb9d37333eab
This commit is contained in:
commit
b6a1a98f81
98 changed files with 119780 additions and 20691 deletions
|
@ -23,7 +23,9 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||
device/google/raviole/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
|
||||
|
||||
# AudioEffectHAL Configuration
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -46,6 +48,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
|
|
|
@ -176,8 +176,8 @@
|
|||
<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_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, 80 periods * 48 frames/period(=1ms w/ 48k sample rate) * 4 bytes/frame = 15360 bytes -->
|
||||
<usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="80"/>
|
||||
<!-- 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"/>
|
||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||
|
@ -196,7 +196,7 @@
|
|||
<!-- for input wit AUDIO_INPUT_FLAG_FAST 480 periods * 1ms buffer, 16-bit, 2ch, buffer size 92160 bytes-->
|
||||
<usecase id="UC_LOW_LATENCY_AUDIO_RECORD" dev1="10" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="480"/>
|
||||
<!-- for input wit AUDIO_INPUT_FLAG_MMAP_NOIRQ 240 periods * 1ms buffer, 32-bit,2 ch, buffer size 92160 bytes -->
|
||||
<usecase id="UC_MMAP_RECORD" dev1="9" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="240"/>
|
||||
<usecase id="UC_MMAP_RECORD" dev1="9" dyn_path="true" mmap="true" period="1" period_num="240"/>
|
||||
<!-- for hifi -->
|
||||
<usecase id="UC_HIFI_PLAYBACK" dev1="25"/>
|
||||
<usecase id="UC_HIFI_RECORD" dev1="26"/>
|
||||
|
|
|
@ -27,8 +27,9 @@
|
|||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
|
@ -60,7 +61,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
|
@ -172,6 +173,16 @@
|
|||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Headset" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Speaker" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
|
@ -196,6 +207,10 @@
|
|||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT BLE Headset"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT BLE Speaker"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
|
|
|
@ -27,8 +27,9 @@
|
|||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
|
@ -60,7 +61,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
|
|
|
@ -27,8 +27,9 @@
|
|||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
|
@ -60,7 +61,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
|
|
|
@ -0,0 +1,256 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2020 The Android Open Source Project
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
<item>Speaker Safe</item>
|
||||
<item>Earpiece</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Voice Call And Telephony Rx</item>
|
||||
<item>Echo Ref In</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="haptic" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voice call tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voip_rx" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_INDEX_MASK_3"/>
|
||||
</mixPort>
|
||||
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice call rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voip_tx" role="sink"
|
||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hifi_playback" role="source" />
|
||||
<mixPort name="hifi_input" role="sink" />
|
||||
<mixPort name="echo_ref_input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="Speaker Safe"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="BT A2DP Out"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT A2DP Headphones"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
|
||||
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Bluetooth Audio HAL -->
|
||||
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
|
||||
<!-- Usb Audio HAL -->
|
||||
<module name="usbv2" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="usb_accessory output" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="USB Host Out"
|
||||
sources="usb_accessory output"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Remote Submix Audio HAL -->
|
||||
<xi:include href="r_submix_audio_policy_configuration.xml"/>
|
||||
</modules>
|
||||
<!-- End of Modules section -->
|
||||
<!-- Volume section -->
|
||||
<xi:include href="audio_policy_volumes.xml"/>
|
||||
<xi:include href="default_volume_tables.xml"/>
|
||||
<!-- End of Volume section -->
|
||||
</audioPolicyConfiguration>
|
|
@ -671,7 +671,7 @@
|
|||
</path>
|
||||
|
||||
<path name="speaker-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-mic">
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
audio/oriole/tuning/fortemedia/mcps.dat
Normal file
BIN
audio/oriole/tuning/fortemedia/mcps.dat
Normal file
Binary file not shown.
|
@ -23,7 +23,9 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||
device/google/raviole/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
|
||||
|
||||
# AudioEffectHAL Configuration
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -46,6 +48,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
|
|
|
@ -176,8 +176,8 @@
|
|||
<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_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, 80 periods * 48 frames/period(=1ms w/ 48k sample rate) * 4 bytes/frame = 15360 bytes -->
|
||||
<usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="80"/>
|
||||
<!-- 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"/>
|
||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||
|
@ -196,7 +196,7 @@
|
|||
<!-- for input wit AUDIO_INPUT_FLAG_FAST 480 periods * 1ms buffer, 16-bit, 2ch, buffer size 92160 bytes-->
|
||||
<usecase id="UC_LOW_LATENCY_AUDIO_RECORD" dev1="10" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="480"/>
|
||||
<!-- for input wit AUDIO_INPUT_FLAG_MMAP_NOIRQ 240 periods * 1ms buffer, 32-bit,2 ch, buffer size 92160 bytes -->
|
||||
<usecase id="UC_MMAP_RECORD" dev1="9" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="240"/>
|
||||
<usecase id="UC_MMAP_RECORD" dev1="9" dyn_path="true" mmap="true" period="1" period_num="240"/>
|
||||
<!-- for hifi -->
|
||||
<usecase id="UC_HIFI_PLAYBACK" dev1="25"/>
|
||||
<usecase id="UC_HIFI_RECORD" dev1="26"/>
|
||||
|
|
|
@ -27,8 +27,9 @@
|
|||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
|
@ -60,7 +61,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
|
@ -172,6 +173,16 @@
|
|||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Headset" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Speaker" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
|
@ -196,6 +207,10 @@
|
|||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT BLE Headset"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT BLE Speaker"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
|
|
|
@ -27,8 +27,9 @@
|
|||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
|
@ -60,7 +61,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
|
|
|
@ -27,8 +27,9 @@
|
|||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
|
@ -60,7 +61,7 @@
|
|||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
|
|
|
@ -0,0 +1,256 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2020 The Android Open Source Project
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
<item>Speaker Safe</item>
|
||||
<item>Earpiece</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Voice Call And Telephony Rx</item>
|
||||
<item>Echo Ref In</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="haptic" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voice call tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voip_rx" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_INDEX_MASK_3"/>
|
||||
</mixPort>
|
||||
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice call rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voip_tx" role="sink"
|
||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hifi_playback" role="source" />
|
||||
<mixPort name="hifi_input" role="sink" />
|
||||
<mixPort name="echo_ref_input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="Speaker Safe"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="BT A2DP Out"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT A2DP Headphones"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
|
||||
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Bluetooth Audio HAL -->
|
||||
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
|
||||
<!-- Usb Audio HAL -->
|
||||
<module name="usbv2" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="usb_accessory output" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="USB Host Out"
|
||||
sources="usb_accessory output"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Remote Submix Audio HAL -->
|
||||
<xi:include href="r_submix_audio_policy_configuration.xml"/>
|
||||
</modules>
|
||||
<!-- End of Modules section -->
|
||||
<!-- Volume section -->
|
||||
<xi:include href="audio_policy_volumes.xml"/>
|
||||
<xi:include href="default_volume_tables.xml"/>
|
||||
<!-- End of Volume section -->
|
||||
</audioPolicyConfiguration>
|
|
@ -671,7 +671,7 @@
|
|||
</path>
|
||||
|
||||
<path name="speaker-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-mic">
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
audio/raven/tuning/fortemedia/mcps.dat
Normal file
BIN
audio/raven/tuning/fortemedia/mcps.dat
Normal file
Binary file not shown.
|
@ -45,6 +45,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
audio/slider/tuning/fortemedia/mcps.dat
Normal file
BIN
audio/slider/tuning/fortemedia/mcps.dat
Normal file
Binary file not shown.
|
@ -45,6 +45,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/raviole/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
|
|
BIN
audio/whitefin/tuning/fortemedia/mcps.dat
Normal file
BIN
audio/whitefin/tuning/fortemedia/mcps.dat
Normal file
Binary file not shown.
|
@ -15,9 +15,16 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
|
|||
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
|
||||
write /sys/class/spi_master/spi11/spi11.0/glove_mode 01
|
||||
|
||||
# Thermal
|
||||
on late-init && property:ro.boot.hardware.revision=PROTO1.0
|
||||
setprop vendor.thermal.config "thermal_info_config_WHI_A.json"
|
||||
|
||||
on late-init && property:ro.boot.hardware.revision=PROTO1.1
|
||||
setprop vendor.disable.usb.overheat.mitigation.control 1
|
||||
|
||||
on late-init && property:ro.boot.hardware.revision=EVT1.0
|
||||
setprop vendor.disable.usb.overheat.mitigation.control 1
|
||||
|
||||
# For Japan sku, always enforce camera shutter sound
|
||||
# Since this property is read by the audio server in system service,
|
||||
# it should be written by the system init.
|
||||
|
|
|
@ -30,6 +30,16 @@ on property:graphics.display.kernel_idle_timer.enabled=true
|
|||
on property:graphics.display.kernel_idle_timer.enabled=false
|
||||
write /sys/devices/platform/exynos-drm/primary-panel/panel_idle "0"
|
||||
|
||||
# Thermal
|
||||
on late-init && property:ro.boot.hardware.revision=PROTO1.0
|
||||
setprop vendor.disable.usb.overheat.mitigation.control 1
|
||||
|
||||
on late-init && property:ro.boot.hardware.revision=PROTO1.1
|
||||
setprop vendor.disable.usb.overheat.mitigation.control 1
|
||||
|
||||
on late-init && property:ro.boot.hardware.revision=EVT1.0
|
||||
setprop vendor.disable.usb.overheat.mitigation.control 1
|
||||
|
||||
# Bluetooth
|
||||
on post-fs-data
|
||||
chown bluetooth system /proc/bluetooth/timesync
|
||||
|
|
|
@ -50,5 +50,19 @@ on post-fs-data
|
|||
# Start the twoshay touch service
|
||||
start twoshay
|
||||
|
||||
# Allow secure_element group to read / write ST33 SPI state
|
||||
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
|
||||
chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
|
||||
|
||||
on property:ro.revision=PROTO1.0
|
||||
setprop persist.fingerprint.ghbm true
|
||||
|
||||
# SecureElement eSE2 cts mode
|
||||
on property:persist.vendor.se.ese2.mode=ctsmode
|
||||
write /sys/class/st33spi/st33spi/st33spi_state 33
|
||||
|
||||
# charger driver exposes now finer grain control, map demo mode to those properties
|
||||
# NOTE: demo mode can only be exit wiping data (which reset the persist properties)
|
||||
on property:sys.retaildemo.enabled=1
|
||||
setprop persist.vendor.charge.stop.level 35
|
||||
setprop persist.vendor.charge.start.level 30
|
||||
|
|
|
@ -26,3 +26,9 @@ service insmod_sh_slider /vendor/bin/init.insmod.sh /vendor/etc/init.insmod.slid
|
|||
group root system
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
# charger driver exposes now finer grain control, map demo mode to those properties
|
||||
# NOTE: demo mode can only be exit wiping data (which reset the persist properties)
|
||||
on property:sys.retaildemo.enabled=1
|
||||
setprop persist.vendor.charge.stop.level 35
|
||||
setprop persist.vendor.charge.start.level 30
|
||||
|
|
|
@ -24,3 +24,9 @@ service insmod_sh_whitefin /vendor/bin/init.insmod.sh /vendor/etc/init.insmod.wh
|
|||
on fs
|
||||
# Fingerprint
|
||||
chown system system /dev/goodix_fp
|
||||
|
||||
# charger driver exposes now finer grain control, map demo mode to those properties
|
||||
# NOTE: demo mode can only be exit wiping data (which reset the persist properties)
|
||||
on property:sys.retaildemo.enabled=1
|
||||
setprop persist.vendor.charge.stop.level 35
|
||||
setprop persist.vendor.charge.start.level 30
|
||||
|
|
|
@ -31,7 +31,9 @@ DEVICE_PACKAGE_OVERLAYS += device/google/raviole/oriole/overlay
|
|||
include device/google/raviole/audio/oriole/audio-tables.mk
|
||||
include device/google/gs101/device-shipping-common.mk
|
||||
include device/google/gs101/fingerprint/udfps_common.mk
|
||||
include device/google/gs101/telephony/pktrouter.mk
|
||||
include hardware/google/pixel/vibrator/cs40l25/device.mk
|
||||
include device/google/gs101/bluetooth/bluetooth.mk
|
||||
|
||||
ifeq ($(filter factory_oriole, $(TARGET_PRODUCT)),)
|
||||
include device/google/gs101/fingerprint/udfps_shipping.mk
|
||||
|
@ -78,9 +80,10 @@ PRODUCT_COPY_FILES += \
|
|||
$(LOCAL_PATH)/bluetooth_power_limits_GB7N6_EU.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GB7N6_EU.csv
|
||||
|
||||
|
||||
# Bluetooth SAR test tool
|
||||
# Bluetooth Hal Extension test tools
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
sar_test
|
||||
sar_test \
|
||||
hci_inject
|
||||
|
||||
# WirelessCharger
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs101/device_framework_matrix_product_wireless.xml
|
||||
|
@ -95,6 +98,9 @@ PRODUCT_COPY_FILES += \
|
|||
PRODUCT_COPY_FILES += \
|
||||
device/google/raviole/media_profiles_oriole.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.vendor.camera.fixed_fps_range_boost=1
|
||||
|
||||
# Display Config
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/raviole/oriole/display_golden_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal0.pb \
|
||||
|
@ -118,12 +124,14 @@ PRODUCT_PACKAGES += \
|
|||
|
||||
# SecureElement
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.secure_element@1.2-service-gto
|
||||
android.hardware.secure_element@1.2-service-gto \
|
||||
android.hardware.secure_element@1.2-service-gto-ese2
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
|
||||
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
|
||||
device/google/raviole/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
|
||||
device/google/raviole/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
|
||||
device/google/raviole/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
||||
|
||||
DEVICE_MANIFEST_FILE += \
|
||||
device/google/raviole/nfc/manifest_nfc.xml \
|
||||
|
@ -131,26 +139,11 @@ DEVICE_MANIFEST_FILE += \
|
|||
|
||||
# Vibrator HAL
|
||||
PRODUCT_PRODUCT_PROPERTIES +=\
|
||||
ro.vendor.vibrator.hal.long.frequency.shift=15
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.powerhal.adpf.rate=11111111
|
||||
ACTUATOR_MODEL := luxshare_ict_081545
|
||||
ro.vendor.vibrator.hal.long.frequency.shift=15 \
|
||||
ro.vendor.vibrator.hal.device.mass=0.205 \
|
||||
ro.vendor.vibrator.hal.loc.coeff=2.25
|
||||
|
||||
# Voice packs for Text-To-Speech
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/raviole/tts/ja-jp/ja-jp-x-multi-darwinn-wavernn-r27.zvoice:product/tts/google/ja-jp/ja-jp-x-multi-darwinn-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/ja-jp/ja-jp-x-multi-r27.zvoice:product/tts/google/ja-jp/ja-jp-x-multi-r27.zvoice\
|
||||
device/google/raviole/tts/ja-jp/ja-jp-x-multi-wavernn-r27.zvoice:product/tts/google/ja-jp/ja-jp-x-multi-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/fr-fr/fr-fr-x-multi-darwinn-wavernn-r27.zvoice:product/tts/google/fr-fr/fr-fr-x-multi-darwinn-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/fr-fr/fr-fr-x-multi-r27.zvoice:product/tts/google/fr-fr/fr-fr-x-multi-r27.zvoice\
|
||||
device/google/raviole/tts/fr-fr/fr-fr-x-multi-wavernn-r27.zvoice:product/tts/google/fr-fr/fr-fr-x-multi-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/de-de/de-de-x-multi-darwinn-wavernn-r27.zvoice:product/tts/google/de-de/de-de-x-multi-darwinn-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/de-de/de-de-x-multi-r27.zvoice:product/tts/google/de-de/de-de-x-multi-r27.zvoice\
|
||||
device/google/raviole/tts/de-de/de-de-x-multi-wavernn-r27.zvoice:product/tts/google/de-de/de-de-x-multi-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/it-it/it-it-x-multi-r24.zvoice:product/tts/google/it-it/it-it-x-multi-r24.zvoice\
|
||||
device/google/raviole/tts/es-es/es-es-x-multi-darwinn-wavernn-r27.zvoice:product/tts/google/es-es/es-es-x-multi-darwinn-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/es-es/es-es-x-multi-r27.zvoice:product/tts/google/es-es/es-es-x-multi-r27.zvoice\
|
||||
device/google/raviole/tts/es-es/es-es-x-multi-wavernn-r27.zvoice:product/tts/google/es-es/es-es-x-multi-wavernn-r27.zvoice
|
||||
ACTUATOR_MODEL := luxshare_ict_081545
|
||||
|
||||
# PowerStats HAL
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
|
@ -170,12 +163,16 @@ PRODUCT_PROPERTY_OVERRIDES += ro.odm.build.media_performance_class=31
|
|||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_PLATFORM).wlc.rc
|
||||
device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||
endif
|
||||
|
||||
# Increment the SVN for any official public releases
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=30
|
||||
ro.vendor.build.svn=36
|
||||
|
||||
# Set support hide display cutout feature
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.support_hide_display_cutout=true
|
||||
|
||||
# Hide cutout overlays
|
||||
PRODUCT_PACKAGES += \
|
||||
|
@ -192,6 +189,12 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PRODUCT_PROPERTIES +=\
|
||||
persist.vendor.fingerprint.disable.fake.override=none
|
||||
|
||||
# Fingerprint HAL
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true \
|
||||
persist.vendor.udfps.als_feed_forward_supported=true
|
||||
|
||||
|
||||
# DCK properties based on target
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.gms.dck.eligible_wcc=2
|
||||
|
@ -207,6 +210,14 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.camera.exif_reveal_make_model=true
|
||||
|
||||
# Bluetooth HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
bt_vendor.conf
|
||||
|
||||
# tetheroffload HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.samsung_slsi.hardware.tetheroffload@1.1-service
|
||||
|
||||
# Override default distortion output gain according to UX experiments
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
vendor.audio.hapticgenerator.distortion.output.gain=0.5
|
||||
|
@ -217,3 +228,26 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
|
||||
# This device is shipped with 31 (Android S)
|
||||
PRODUCT_SHIPPING_API_LEVEL := 31
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
# Bluetooth LE Audio Hardware offload
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.bluetooth.leaudio_offload.supported=true \
|
||||
persist.bluetooth.leaudio_offload.disabled=true \
|
||||
persist.bluetooth.le_audio_test=false
|
||||
endif
|
||||
|
||||
# Device features
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
||||
|
||||
# Dolby integration
|
||||
-include vendor/dolby/ds/dolby-buildspec.mk
|
||||
$(call inherit-product-if-exists, vendor/dolby/ds/dolby-product.mk)
|
||||
# overwrite file coming from device/google/gs101/media_codecs_bo_c2.xml
|
||||
PRODUCT_COPY_FILES := \
|
||||
device/google/raviole/media_codecs_dolby_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
|
||||
$(PRODUCT_COPY_FILES)
|
||||
|
||||
PRODUCT_RESTRICT_VENDOR_FILES := false
|
||||
|
|
|
@ -31,6 +31,8 @@ DEVICE_PACKAGE_OVERLAYS += device/google/raviole/raven/overlay
|
|||
include device/google/raviole/audio/raven/audio-tables.mk
|
||||
include device/google/gs101/device-shipping-common.mk
|
||||
include device/google/gs101/fingerprint/udfps_common.mk
|
||||
include device/google/gs101/telephony/pktrouter.mk
|
||||
include device/google/gs101/bluetooth/bluetooth.mk
|
||||
|
||||
ifeq ($(filter factory_raven, $(TARGET_PRODUCT)),)
|
||||
include device/google/gs101/fingerprint/udfps_shipping.mk
|
||||
|
@ -84,9 +86,10 @@ PRODUCT_COPY_FILES += \
|
|||
$(LOCAL_PATH)/bluetooth_power_limits_raven_jp.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_JP.csv
|
||||
|
||||
|
||||
# Bluetooth SAR test tool
|
||||
# Bluetooth Hal Extension test tools
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
sar_test
|
||||
sar_test \
|
||||
hci_inject
|
||||
|
||||
# WirelessCharger
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs101/device_framework_matrix_product_wireless.xml
|
||||
|
@ -133,39 +136,27 @@ PRODUCT_PACKAGES += \
|
|||
|
||||
# SecureElement
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.secure_element@1.2-service-gto
|
||||
android.hardware.secure_element@1.2-service-gto \
|
||||
android.hardware.secure_element@1.2-service-gto-ese2
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \
|
||||
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
|
||||
device/google/raviole/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf
|
||||
device/google/raviole/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
|
||||
device/google/raviole/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
|
||||
|
||||
DEVICE_MANIFEST_FILE += \
|
||||
device/google/raviole/nfc/manifest_nfc.xml \
|
||||
device/google/raviole/nfc/manifest_se.xml
|
||||
|
||||
|
||||
# Vibrator HAL
|
||||
PRODUCT_PRODUCT_PROPERTIES +=\
|
||||
ro.vendor.vibrator.hal.long.frequency.shift=15
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.powerhal.adpf.rate=8333333
|
||||
ACTUATOR_MODEL := luxshare_ict_081545
|
||||
ro.vendor.vibrator.hal.long.frequency.shift=15 \
|
||||
ro.vendor.vibrator.hal.device.mass=0.21 \
|
||||
ro.vendor.vibrator.hal.loc.coeff=2.5
|
||||
|
||||
# Voice packs for Text-To-Speech
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/raviole/tts/ja-jp/ja-jp-x-multi-darwinn-wavernn-r27.zvoice:product/tts/google/ja-jp/ja-jp-x-multi-darwinn-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/ja-jp/ja-jp-x-multi-r27.zvoice:product/tts/google/ja-jp/ja-jp-x-multi-r27.zvoice\
|
||||
device/google/raviole/tts/ja-jp/ja-jp-x-multi-wavernn-r27.zvoice:product/tts/google/ja-jp/ja-jp-x-multi-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/fr-fr/fr-fr-x-multi-darwinn-wavernn-r27.zvoice:product/tts/google/fr-fr/fr-fr-x-multi-darwinn-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/fr-fr/fr-fr-x-multi-r27.zvoice:product/tts/google/fr-fr/fr-fr-x-multi-r27.zvoice\
|
||||
device/google/raviole/tts/fr-fr/fr-fr-x-multi-wavernn-r27.zvoice:product/tts/google/fr-fr/fr-fr-x-multi-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/de-de/de-de-x-multi-darwinn-wavernn-r27.zvoice:product/tts/google/de-de/de-de-x-multi-darwinn-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/de-de/de-de-x-multi-r27.zvoice:product/tts/google/de-de/de-de-x-multi-r27.zvoice\
|
||||
device/google/raviole/tts/de-de/de-de-x-multi-wavernn-r27.zvoice:product/tts/google/de-de/de-de-x-multi-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/it-it/it-it-x-multi-r24.zvoice:product/tts/google/it-it/it-it-x-multi-r24.zvoice\
|
||||
device/google/raviole/tts/es-es/es-es-x-multi-darwinn-wavernn-r27.zvoice:product/tts/google/es-es/es-es-x-multi-darwinn-wavernn-r27.zvoice\
|
||||
device/google/raviole/tts/es-es/es-es-x-multi-r27.zvoice:product/tts/google/es-es/es-es-x-multi-r27.zvoice\
|
||||
device/google/raviole/tts/es-es/es-es-x-multi-wavernn-r27.zvoice:product/tts/google/es-es/es-es-x-multi-wavernn-r27.zvoice
|
||||
ACTUATOR_MODEL := luxshare_ict_081545
|
||||
|
||||
# Display LBE
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
|
||||
|
@ -182,12 +173,16 @@ PRODUCT_SOONG_NAMESPACES += \
|
|||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_PLATFORM).wlc.rc
|
||||
device/google/gs101/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||
endif
|
||||
|
||||
# Increment the SVN for any official public releases
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=30
|
||||
ro.vendor.build.svn=36
|
||||
|
||||
# Set support hide display cutout feature
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.support_hide_display_cutout=true
|
||||
|
||||
# Hide cutout overlays
|
||||
PRODUCT_PACKAGES += \
|
||||
|
@ -198,13 +193,19 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PRODUCT_PROPERTIES +=\
|
||||
persist.vendor.fingerprint.disable.fake.override=none
|
||||
|
||||
# Fingerprint HAL
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true \
|
||||
persist.vendor.udfps.als_feed_forward_supported=true
|
||||
|
||||
|
||||
# Keyboard side padding in dp for portrait mode
|
||||
PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_r=11
|
||||
PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.kb_pad_port_l=11
|
||||
|
||||
# DCK properties based on target
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.gms.dck.eligible_wcc=2
|
||||
ro.gms.dck.eligible_wcc=3
|
||||
|
||||
# SKU specific RROs
|
||||
PRODUCT_PACKAGES += \
|
||||
|
@ -223,6 +224,14 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.camera.exif_reveal_make_model=true
|
||||
|
||||
# Bluetooth HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
bt_vendor.conf
|
||||
|
||||
# tetheroffload HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.samsung_slsi.hardware.tetheroffload@1.1-service
|
||||
|
||||
# Override default distortion output gain according to UX experiments
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
vendor.audio.hapticgenerator.distortion.output.gain=0.5
|
||||
|
@ -233,3 +242,26 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
|
||||
# This device is shipped with 31 (Android S)
|
||||
PRODUCT_SHIPPING_API_LEVEL := 31
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
# Bluetooth LE Audio Hardware offload
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.bluetooth.leaudio_offload.supported=true \
|
||||
persist.bluetooth.leaudio_offload.disabled=true \
|
||||
persist.bluetooth.le_audio_test=false
|
||||
endif
|
||||
|
||||
# Device features
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
||||
|
||||
# Dolby integration
|
||||
-include vendor/dolby/ds/dolby-buildspec.mk
|
||||
$(call inherit-product-if-exists, vendor/dolby/ds/dolby-product.mk)
|
||||
# overwrite file coming from device/google/gs101/media_codecs_bo_c2.xml
|
||||
PRODUCT_COPY_FILES := \
|
||||
device/google/raviole/media_codecs_dolby_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
|
||||
$(PRODUCT_COPY_FILES)
|
||||
|
||||
PRODUCT_RESTRICT_VENDOR_FILES := false
|
||||
|
|
|
@ -27,6 +27,7 @@ DEVICE_PACKAGE_OVERLAYS += device/google/raviole/slider/overlay
|
|||
include device/google/gs101/device-common.mk
|
||||
include device/google/raviole/audio/slider/audio-tables.mk
|
||||
include hardware/google/pixel/vibrator/cs40l25/device.mk
|
||||
include device/google/gs101/bluetooth/bluetooth.mk
|
||||
|
||||
$(call soong_config_set,lyric,tuning_product,slider)
|
||||
$(call soong_config_set,google3a_config,target_device,slider)
|
||||
|
@ -105,9 +106,21 @@ PRODUCT_SOONG_NAMESPACES += device/google/raviole/powerstats/slider
|
|||
# Trusty liboemcrypto.so
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts
|
||||
|
||||
# Bluetooth HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
bt_vendor.conf
|
||||
|
||||
# tetheroffload HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.samsung_slsi.hardware.tetheroffload@1.1-service
|
||||
|
||||
# Power HAL config
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/raviole/powerhint-slider.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||
|
||||
# This device is shipped with 31 (Android S)
|
||||
PRODUCT_SHIPPING_API_LEVEL := 31
|
||||
|
||||
# Device features
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
||||
|
|
|
@ -27,6 +27,7 @@ DEVICE_PACKAGE_OVERLAYS += device/google/raviole/whitefin/overlay
|
|||
include device/google/gs101/device-common.mk
|
||||
include hardware/google/pixel/vibrator/drv2624/device.mk
|
||||
include device/google/raviole/audio/whitefin/audio-tables.mk
|
||||
include device/google/gs101/bluetooth/bluetooth.mk
|
||||
|
||||
$(call soong_config_set,lyric,tuning_product,slider)
|
||||
$(call soong_config_set,google3a_config,target_device,slider)
|
||||
|
@ -86,9 +87,21 @@ PRODUCT_SOONG_NAMESPACES += device/google/raviole/powerstats/whitefin
|
|||
# Trusty liboemcrypto.so
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/raviole/prebuilts
|
||||
|
||||
# Bluetooth HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
bt_vendor.conf
|
||||
|
||||
# tetheroffload HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
vendor.samsung_slsi.hardware.tetheroffload@1.1-service
|
||||
|
||||
# Power HAL config
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/raviole/powerhint-whitefin.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||
|
||||
# This device is shipped with 31 (Android S)
|
||||
PRODUCT_SHIPPING_API_LEVEL := 31
|
||||
|
||||
# Device features
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
||||
|
|
66
media_codecs_dolby_c2.xml
Normal file
66
media_codecs_dolby_c2.xml
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2022 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.
|
||||
-->
|
||||
<MediaCodecs>
|
||||
<Include href="media_codecs_aosp_c2.xml" />
|
||||
<Decoders>
|
||||
<MediaCodec name="c2.google.av1.decoder" type="video/av01">
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="block-count" range="36-32400" />
|
||||
<Limit name="blocks-per-second" min="24" max="1944000" />
|
||||
<Limit name="bitrate" range="1-120000000" />
|
||||
<Limit name="frame-rate" range="1-180" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1280x720" value="180" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" value="1" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.google.av1.decoder.secure" type="video/av01">
|
||||
<Limit name="size" min="96x96" max="3840x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="block-count" range="36-32400" />
|
||||
<Limit name="blocks-per-second" min="24" max="1944000" />
|
||||
<Limit name="bitrate" range="1-120000000" />
|
||||
<Limit name="frame-rate" range="1-180" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1280x720" value="180" />
|
||||
<Limit name="performance-point-1920x1080" value="120" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Feature name="can-swap-width-height" value="1" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.dolby.eac3.decoder">
|
||||
<Type name="audio/ac3">
|
||||
<Alias name="OMX.dolby.ac3.decoder"/>
|
||||
<Limit name="channel-count" max="6"/>
|
||||
<Limit name="sample-rate" ranges="32000,44100,48000"/>
|
||||
<Limit name="bitrate" range="32000-640000"/>
|
||||
</Type>
|
||||
<Attribute name="software-codec"/>
|
||||
<Type name="audio/eac3">
|
||||
<Alias name="OMX.dolby.eac3.decoder"/>
|
||||
<Limit name="channel-count" max="8"/>
|
||||
<Limit name="sample-rate" ranges="32000,44100,48000"/>
|
||||
<Limit name="bitrate" range="32000-6144000"/>
|
||||
</Type>
|
||||
</MediaCodec>
|
||||
</Decoders>
|
||||
</MediaCodecs>
|
|
@ -3,5 +3,6 @@
|
|||
<name>android.hardware.secure_element</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.2::ISecureElement/eSE1</fqname>
|
||||
<fqname>@1.2::ISecureElement/eSE2</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
|
|
|
@ -22,6 +22,7 @@ else
|
|||
USES_DEVICE_GOOGLE_RAVIOLE := true
|
||||
|
||||
include device/google/gs101/BoardConfig-common.mk
|
||||
include device/google/gs101/wifi/BoardConfig-wifi.mk
|
||||
-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
|
||||
-include vendor/google_devices/oriole/proprietary/BoardConfigVendor.mk
|
||||
endif
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||
-->
|
||||
<dimen name="status_bar_height_height_default">74px</dimen>
|
||||
<dimen name="status_bar_height_portrait">124px</dimen>
|
||||
<dimen name="status_bar_height_portrait">118px</dimen>
|
||||
<dimen name="status_bar_height_landscape">74px</dimen>
|
||||
|
||||
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
|
||||
|
@ -300,4 +300,15 @@
|
|||
<item>200</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Boolean indicating if restoring network selection should be skipped -->
|
||||
<!-- The restoring is handled by modem if it is true -->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- The behavior when the system detects it has abusive current drains, whether or not to
|
||||
move the app to the restricted standby bucket level.
|
||||
True - we'll move the app to restricted standby bucket as long as its bg battery usage
|
||||
goes beyond the threshold, False - we'll not move it.
|
||||
Note: This should be only enabled on devices with high confidence on power measurement.
|
||||
-->
|
||||
<bool name="config_bg_current_drain_auto_restrict_abusive_apps">true</bool>
|
||||
</resources>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (c) 2022, 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.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- for 20dp of padding at 3.5px/dp at default density -->
|
||||
<dimen name="rounded_corner_content_padding">50px</dimen>
|
||||
</resources>
|
||||
|
|
@ -26,113 +26,125 @@
|
|||
<value>2</value> <!-- Cluster 2 has 2 cores (cpu6, cpu7) -->
|
||||
</array>
|
||||
|
||||
<item name="cpu.suspend">4.35</item>
|
||||
<item name="cpu.idle">5.78</item>
|
||||
<item name="cpu.active">2.35</item>
|
||||
<item name="cpu.cluster_power.cluster0">32.58</item>
|
||||
<item name="cpu.cluster_power.cluster1">6.44</item>
|
||||
<item name="cpu.cluster_power.cluster2">0</item>
|
||||
<item name="cpu.suspend">10</item>
|
||||
<item name="cpu.idle">28.6</item>
|
||||
<item name="cpu.active">12.37</item>
|
||||
<item name="cpu.cluster_power.cluster0">0.24</item>
|
||||
<item name="cpu.cluster_power.cluster1">3.23</item>
|
||||
<item name="cpu.cluster_power.cluster2">5.94</item>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpufreq/ploicy0/scaling_available_frequencies -->
|
||||
<array name="cpu.core_speeds.cluster0">
|
||||
<value>300000</value>
|
||||
<value>574000</value>
|
||||
<value>738000</value>
|
||||
<value>930000</value>
|
||||
<value>1098000</value>
|
||||
<value>1197000</value>
|
||||
<value>1328000</value>
|
||||
<value>1401000</value>
|
||||
<value>1598000</value>
|
||||
<value>1704000</value>
|
||||
<value>1803000</value>
|
||||
<value>1950000</value>
|
||||
<value>2024000</value>
|
||||
<value>300000</value> <!-- 300 MHz CPU speed -->
|
||||
<value>574000</value> <!-- 574 MHz CPU speed -->
|
||||
<value>738000</value> <!-- 738 MHz CPU speed -->
|
||||
<value>930000</value> <!-- 930 MHz CPU speed -->
|
||||
<value>1098000</value> <!-- 1098 MHz CPU speed -->
|
||||
<value>1197000</value> <!-- 1197 MHz CPU speed -->
|
||||
<value>1328000</value> <!-- 1328 MHz CPU speed -->
|
||||
<value>1401000</value> <!-- 1401 MHz CPU speed -->
|
||||
<value>1598000</value> <!-- 1598 MHz CPU speed -->
|
||||
<value>1704000</value> <!-- 1704 MHz CPU speed -->
|
||||
<value>1803000</value> <!-- 1803 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpufreq/ploicy4/scaling_available_frequencies -->
|
||||
<array name="cpu.core_speeds.cluster1">
|
||||
<value>400000</value>
|
||||
<value>553000</value>
|
||||
<value>696000</value>
|
||||
<value>799000</value>
|
||||
<value>910000</value>
|
||||
<value>1024000</value>
|
||||
<value>1197000</value>
|
||||
<value>1328000</value>
|
||||
<value>1491000</value>
|
||||
<value>1663000</value>
|
||||
<value>1836000</value>
|
||||
<value>1999000</value>
|
||||
<value>2130000</value>
|
||||
<value>2253000</value>
|
||||
<value>400000</value> <!-- 400 MHz CPU speed -->
|
||||
<value>553000</value> <!-- 553 MHz CPU speed -->
|
||||
<value>696000</value> <!-- 696 MHz CPU speed -->
|
||||
<value>799000</value> <!-- 799 MHz CPU speed -->
|
||||
<value>910000</value> <!-- 910 MHz CPU speed -->
|
||||
<value>1024000</value> <!-- 1024 MHz CPU speed -->
|
||||
<value>1197000</value> <!-- 1197 MHz CPU speed -->
|
||||
<value>1328000</value> <!-- 1328 MHz CPU speed -->
|
||||
<value>1491000</value> <!-- 1491 MHz CPU speed -->
|
||||
<value>1663000</value> <!-- 1663 MHz CPU speed -->
|
||||
<value>1836000</value> <!-- 1836 MHz CPU speed -->
|
||||
<value>1999000</value> <!-- 1999 MHz CPU speed -->
|
||||
<value>2130000</value> <!-- 2130 MHz CPU speed -->
|
||||
<value>2253000</value> <!-- 2253 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpufreq/ploicy6/scaling_available_frequencies -->
|
||||
<array name="cpu.core_speeds.cluster2">
|
||||
<value>500000</value>
|
||||
<value>851000</value>
|
||||
<value>984000</value>
|
||||
<value>1106000</value>
|
||||
<value>1277000</value>
|
||||
<value>1426000</value>
|
||||
<value>1582000</value>
|
||||
<value>1745000</value>
|
||||
<value>1826000</value>
|
||||
<value>2048000</value>
|
||||
<value>2188000</value>
|
||||
<value>2252000</value>
|
||||
<value>2401000</value>
|
||||
<value>2507000</value>
|
||||
<value>2630000</value>
|
||||
<value>500000</value> <!-- 500 MHz CPU speed -->
|
||||
<value>851000</value> <!-- 851 MHz CPU speed -->
|
||||
<value>984000</value> <!-- 984 MHz CPU speed -->
|
||||
<value>1106000</value> <!-- 1106 MHz CPU speed -->
|
||||
<value>1277000</value> <!-- 1277 MHz CPU speed -->
|
||||
<value>1426000</value> <!-- 1426 MHz CPU speed -->
|
||||
<value>1582000</value> <!-- 1582 MHz CPU speed -->
|
||||
<value>1745000</value> <!-- 1745 MHz CPU speed -->
|
||||
<value>1826000</value> <!-- 1826 MHz CPU speed -->
|
||||
<value>2048000</value> <!-- 2048 MHz CPU speed -->
|
||||
<value>2188000</value> <!-- 2188 MHz CPU speed -->
|
||||
<value>2252000</value> <!-- 2252 MHz CPU speed -->
|
||||
<value>2401000</value> <!-- 2401 MHz CPU speed -->
|
||||
<value>2507000</value> <!-- 2507 MHz CPU speed -->
|
||||
<value>2630000</value> <!-- 2630 MHz CPU speed -->
|
||||
<value>2704000</value> <!-- 2704 MHz CPU speed -->
|
||||
<value>2802000</value> <!-- 2802 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used by a CPU core from cluster 0 when running at
|
||||
different speeds, excluding cluster and active cost -->
|
||||
<array name="cpu.core_power.cluster0">
|
||||
<value>13.58</value>
|
||||
<value>38.22</value>
|
||||
<value>48.59</value>
|
||||
<value>64.02</value>
|
||||
<value>79.69</value>
|
||||
<value>89.66</value>
|
||||
<value>105.64</value>
|
||||
<value>113.30</value>
|
||||
<value>142.24</value>
|
||||
<value>158.91</value>
|
||||
<value>180.73</value>
|
||||
<value>229.19</value>
|
||||
<value>266.66</value>
|
||||
<value>1.89</value> <!-- 300 MHz CPU speed -->
|
||||
<value>6.15</value> <!-- 574 MHz CPU speed -->
|
||||
<value>9.34</value> <!-- 738 MHz CPU speed -->
|
||||
<value>14.22</value> <!-- 930 MHz CPU speed -->
|
||||
<value>18.94</value> <!-- 1098 MHz CPU speed -->
|
||||
<value>21.98</value> <!-- 1197 MHz CPU speed -->
|
||||
<value>26.83</value> <!-- 1328 MHz CPU speed -->
|
||||
<value>30.17</value> <!-- 1401 MHz CPU speed -->
|
||||
<value>41.55</value> <!-- 1598 MHz CPU speed -->
|
||||
<value>48.36</value> <!-- 1704 MHz CPU speed -->
|
||||
<value>58.45</value> <!-- 1803 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used by a CPU core from cluster 1 when running at
|
||||
different speeds, excluding cluster and active cost -->
|
||||
<array name="cpu.core_power.cluster1">
|
||||
<value>59.00</value>
|
||||
<value>87.69</value>
|
||||
<value>114.54</value>
|
||||
<value>134.19</value>
|
||||
<value>157.72</value>
|
||||
<value>184.69</value>
|
||||
<value>229.99</value>
|
||||
<value>264.08</value>
|
||||
<value>316.56</value>
|
||||
<value>375.74</value>
|
||||
<value>450.94</value>
|
||||
<value>529.79</value>
|
||||
<value>603.34</value>
|
||||
<value>684.48</value>
|
||||
<value>3.71</value> <!-- 400 MHz CPU speed -->
|
||||
<value>6.16</value> <!-- 553 MHz CPU speed -->
|
||||
<value>8</value> <!-- 696 MHz CPU speed -->
|
||||
<value>10.94</value> <!-- 799 MHz CPU speed -->
|
||||
<value>12.73</value> <!-- 910 MHz CPU speed -->
|
||||
<value>14.4</value> <!-- 1024 MHz CPU speed -->
|
||||
<value>21.39</value> <!-- 1197 MHz CPU speed -->
|
||||
<value>24.1</value> <!-- 1328 MHz CPU speed -->
|
||||
<value>30.42</value> <!-- 1491 MHz CPU speed -->
|
||||
<value>42.49</value> <!-- 1663 MHz CPU speed -->
|
||||
<value>49.37</value> <!-- 1836 MHz CPU speed -->
|
||||
<value>58.09</value> <!-- 1999 MHz CPU speed -->
|
||||
<value>67.54</value> <!-- 2130 MHz CPU speed -->
|
||||
<value>79.04</value> <!-- 2253 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used by a CPU core from cluster 2 when running at
|
||||
different speeds, excluding cluster and active cost -->
|
||||
<array name="cpu.core_power.cluster2">
|
||||
<value>199.11</value>
|
||||
<value>332.32</value>
|
||||
<value>389.40</value>
|
||||
<value>452.85</value>
|
||||
<value>547.22</value>
|
||||
<value>629.93</value>
|
||||
<value>735.84</value>
|
||||
<value>861.23</value>
|
||||
<value>946.15</value>
|
||||
<value>1137.98</value>
|
||||
<value>1318.48</value>
|
||||
<value>1396.56</value>
|
||||
<value>1583.05</value>
|
||||
<value>1811.61</value>
|
||||
<value>2050.00</value>
|
||||
<value>8.36</value> <!-- 500 MHz CPU speed -->
|
||||
<value>16.33</value> <!-- 851 MHz CPU speed -->
|
||||
<value>19.44</value> <!-- 984 MHz CPU speed -->
|
||||
<value>36.71</value> <!-- 1106 MHz CPU speed -->
|
||||
<value>41.42</value> <!-- 1277 MHz CPU speed -->
|
||||
<value>48.24</value> <!-- 1426 MHz CPU speed -->
|
||||
<value>54.77</value> <!-- 1582 MHz CPU speed -->
|
||||
<value>65.32</value> <!-- 1745 MHz CPU speed -->
|
||||
<value>69.58</value> <!-- 1826 MHz CPU speed -->
|
||||
<value>128.49</value> <!-- 2048 MHz CPU speed -->
|
||||
<value>142.15</value> <!-- 2188 MHz CPU speed -->
|
||||
<value>149.74</value> <!-- 2252 MHz CPU speed -->
|
||||
<value>164.78</value> <!-- 2401 MHz CPU speed -->
|
||||
<value>188.68</value> <!-- 2507 MHz CPU speed -->
|
||||
<value>193.15</value> <!-- 2630 MHz CPU speed -->
|
||||
<value>227.98</value> <!-- 2704 MHz CPU speed -->
|
||||
<value>254.25</value> <!-- 2802 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used when screen is ambient mode -->
|
||||
|
|
|
@ -64,8 +64,6 @@
|
|||
-->
|
||||
<string name="config_rounded_mask" translatable="false">M 71,0 C 33,0 22,-1 10,10 -1,22 0,33 0,71</string>
|
||||
|
||||
<bool name="config_roundedCornerMultipleRadius">true</bool>
|
||||
|
||||
<!-- Configure 13px of extra protection around the front-facing camera -->
|
||||
<string translatable="false" name="config_frontBuiltInDisplayCutoutProtection">
|
||||
M 494,65
|
||||
|
|
|
@ -19,9 +19,6 @@
|
|||
<!-- Don't need the left side padding due to being inset from the cutout -->
|
||||
<dimen name="status_bar_padding_start">0dp</dimen>
|
||||
|
||||
<!-- for 20dp of padding at 3.5px/dp at default density -->
|
||||
<dimen name="rounded_corner_content_padding">50px</dimen>
|
||||
|
||||
<!-- the padding on the top of the statusbar (usually 0) -->
|
||||
<dimen name="status_bar_padding_top">1px</dimen>
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2021 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
<bool name="enable_ons_auto_provisioning">true</bool>
|
||||
</resources>
|
|
@ -5,6 +5,7 @@
|
|||
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
|
||||
"Values": [
|
||||
"3172000",
|
||||
"1352000",
|
||||
"1014000",
|
||||
"421000"
|
||||
],
|
||||
|
@ -26,7 +27,11 @@
|
|||
"9999999",
|
||||
"1098000",
|
||||
"1401000",
|
||||
"1197000"
|
||||
"930000",
|
||||
"1197000",
|
||||
"1328000",
|
||||
"1598000",
|
||||
"1803000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -48,8 +53,12 @@
|
|||
"9999999",
|
||||
"1024000",
|
||||
"1197000",
|
||||
"1999000",
|
||||
"1491000"
|
||||
"1491000",
|
||||
"910000",
|
||||
"1328000",
|
||||
"1663000",
|
||||
"1836000",
|
||||
"1999000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -71,7 +80,12 @@
|
|||
"9999999",
|
||||
"984000",
|
||||
"1426000",
|
||||
"1826000"
|
||||
"1826000",
|
||||
"1277000",
|
||||
"1582000",
|
||||
"1745000",
|
||||
"2048000",
|
||||
"2401000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -108,7 +122,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Path": "/proc/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
|
@ -127,40 +141,74 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"553",
|
||||
"108",
|
||||
"43",
|
||||
"185",
|
||||
"1",
|
||||
"107",
|
||||
"42"
|
||||
"55"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGUClampBoost",
|
||||
"Path": "/proc/vendor_sched/fg_uclamp_min",
|
||||
"Values": [
|
||||
"161",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "SFUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/sf_uclamp_min",
|
||||
"Values": [
|
||||
"125",
|
||||
"65",
|
||||
"30"
|
||||
"161",
|
||||
"85",
|
||||
"39"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MLUclampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
|
||||
"Values": [
|
||||
"154",
|
||||
"180",
|
||||
"512"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "UClampThreshold",
|
||||
"Path": "/proc/vendor_sched/uclamp_threshold",
|
||||
"Values": [
|
||||
"0",
|
||||
"8"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "ReduceRreferIdle",
|
||||
"Path": "/proc/vendor_sched/reduce_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "PMQoSCpuDmaLatency",
|
||||
"Path": "/dev/cpu_dma_latency",
|
||||
"Values": [
|
||||
"44",
|
||||
"1000"
|
||||
],
|
||||
"HoldFd": true
|
||||
},
|
||||
{
|
||||
"Name": "CDPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -176,6 +224,15 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "RestrictedCpuset",
|
||||
"Path": "/dev/cpuset/restricted/cpus",
|
||||
"Values": [
|
||||
"0-3",
|
||||
"0-7"
|
||||
],
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "CDHighCpusetCpus",
|
||||
"Path": "/dev/cpuset/camera-daemon-high-group/cpus",
|
||||
|
@ -203,18 +260,9 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "F2fsRecessModeEnable",
|
||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||
"Values": [
|
||||
"2",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -223,16 +271,26 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGPreferIdle",
|
||||
"Path": "/proc/vendor_sched/fg_prefer_idle",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CDPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -240,11 +298,11 @@
|
|||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "HighCapacityStartCpu",
|
||||
"Path": "/sys/kernel/vendor_sched/high_capacity_start_cpu",
|
||||
"Name": "NPITaskPacking",
|
||||
"Path": "/proc/vendor_sched/npi_packing",
|
||||
"Values": [
|
||||
"4",
|
||||
"6"
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
|
@ -400,6 +458,31 @@
|
|||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
},
|
||||
{
|
||||
"Name": "TRUSTY_VIRTIO_HIGH",
|
||||
"Path": "/sys/module/trusty_virtio/parameters/use_high_wq",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "TRUSTY_HIGH",
|
||||
"Path": "/sys/module/trusty_core/parameters/use_high_wq",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "PMU_POLL",
|
||||
"Path": "/proc/vendor_sched/pmu_poll_enable",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
|
@ -407,19 +490,31 @@
|
|||
"PowerHint": "INTERACTION",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "UClampThreshold",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "ReduceRreferIdle",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "FGPreferIdle",
|
||||
"Duration": 5000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -445,6 +540,12 @@
|
|||
"Duration": 5000,
|
||||
"Value": "553"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "FGUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "161"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
@ -458,10 +559,10 @@
|
|||
"Value": "always_on"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
|
@ -511,6 +612,12 @@
|
|||
"Duration": 1000,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 1000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -529,6 +636,12 @@
|
|||
"Duration": 2000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 2000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -733,12 +846,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "GPUMinFreq",
|
||||
|
@ -787,6 +894,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUUtilThreshold",
|
||||
|
@ -811,12 +924,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
|
@ -871,6 +978,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CDPreferHighCap",
|
||||
|
@ -937,6 +1050,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CDPreferHighCap",
|
||||
|
@ -955,12 +1074,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1015,6 +1128,30 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_FIXED_FPS",
|
||||
"Node": "MemFreq",
|
||||
"Duration": 4000,
|
||||
"Value": "1352000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_FIXED_FPS",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 4000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_FIXED_FPS",
|
||||
"Node": "CPUBigClusterMinFreq",
|
||||
"Duration": 4000,
|
||||
"Value": "1106000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FIXED_PERFORMANCE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1051,17 +1188,113 @@
|
|||
"Duration": 0,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "930000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1197000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_70",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1328000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_80",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1598000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_90",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1803000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_50",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "910000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_60",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1328000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_70",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1663000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_80",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1836000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_90",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1999000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_50",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1277000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_60",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1582000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_70",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1745000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_80",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "2048000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_90",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "2401000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_90FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "107"
|
||||
"Value": "55"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_60FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "42"
|
||||
"Value": "55"
|
||||
},
|
||||
{
|
||||
"PowerHint": "ADPF_DISABLE_TA_BOOST",
|
||||
|
@ -1103,13 +1336,13 @@
|
|||
"PowerHint": "BOOST_90HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "108"
|
||||
"Value": "185"
|
||||
},
|
||||
{
|
||||
"PowerHint": "BOOST_60HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "108"
|
||||
"Value": "185"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_90FPS",
|
||||
|
@ -1121,6 +1354,12 @@
|
|||
"Type": "MaskHint",
|
||||
"Value": "BOOST_90HZ"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "FGPreferIdle",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TAUClampBoost",
|
||||
|
@ -1153,11 +1392,6 @@
|
|||
"Duration": 50,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
"Type": "DoHint",
|
||||
"Value": "BOOST_DISPLAY"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
|
||||
"Node": "LimitFlashCurrent",
|
||||
|
@ -1182,6 +1416,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "400000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"Node": "BigControlTempSet",
|
||||
|
@ -1290,6 +1530,24 @@
|
|||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "TRUSTY_VIRTIO_HIGH",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "TRUSTY_HIGH",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
|
@ -1361,6 +1619,176 @@
|
|||
"Node": "MLUclampBoost",
|
||||
"Duration": 2000,
|
||||
"Value": "512"
|
||||
},
|
||||
{
|
||||
"PowerHint": "ML_ACC",
|
||||
"Node": "PMQoSCpuDmaLatency",
|
||||
"Duration": 2000,
|
||||
"Value": "44"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "RestrictedCpuset",
|
||||
"Duration": 0,
|
||||
"Value": "0-3"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "RestrictedCpuset",
|
||||
"Duration": 0,
|
||||
"Value": "0-3"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
}
|
||||
],
|
||||
"AdpfConfig": [
|
||||
{
|
||||
"Name": "REFRESH_120FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 185,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 83333330,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "REFRESH_90FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 111111110,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "REFRESH_60FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 166666660,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "UiHighBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 157,
|
||||
"UclampMin_Low": 157,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
},
|
||||
{
|
||||
"Name": "UiLowBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 42,
|
||||
"UclampMin_Low": 42,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
},
|
||||
{
|
||||
"Name": "UiLowNoneBoost",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 0,
|
||||
"UclampMin_Low": 0,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
"9999999",
|
||||
"1098000",
|
||||
"1401000",
|
||||
"1197000"
|
||||
"930000",
|
||||
"1197000",
|
||||
"1328000",
|
||||
"1598000",
|
||||
"1803000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -48,8 +52,12 @@
|
|||
"9999999",
|
||||
"1024000",
|
||||
"1197000",
|
||||
"1999000",
|
||||
"1491000"
|
||||
"1491000",
|
||||
"910000",
|
||||
"1328000",
|
||||
"1663000",
|
||||
"1836000",
|
||||
"1999000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -71,7 +79,12 @@
|
|||
"9999999",
|
||||
"984000",
|
||||
"1426000",
|
||||
"1826000"
|
||||
"1826000",
|
||||
"1277000",
|
||||
"1582000",
|
||||
"1745000",
|
||||
"2048000",
|
||||
"2401000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -108,7 +121,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Path": "/proc/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
|
@ -127,41 +140,74 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"553",
|
||||
"158",
|
||||
"108",
|
||||
"43",
|
||||
"185",
|
||||
"1",
|
||||
"157",
|
||||
"42"
|
||||
"55"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGUClampBoost",
|
||||
"Path": "/proc/vendor_sched/fg_uclamp_min",
|
||||
"Values": [
|
||||
"161",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "SFUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/sf_uclamp_min",
|
||||
"Values": [
|
||||
"125",
|
||||
"65",
|
||||
"30"
|
||||
"161",
|
||||
"85",
|
||||
"39"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MLUclampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
|
||||
"Values": [
|
||||
"154",
|
||||
"180",
|
||||
"512"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "UClampThreshold",
|
||||
"Path": "/proc/vendor_sched/uclamp_threshold",
|
||||
"Values": [
|
||||
"0",
|
||||
"8"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "ReduceRreferIdle",
|
||||
"Path": "/proc/vendor_sched/reduce_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "PMQoSCpuDmaLatency",
|
||||
"Path": "/dev/cpu_dma_latency",
|
||||
"Values": [
|
||||
"44",
|
||||
"1000"
|
||||
],
|
||||
"HoldFd": true
|
||||
},
|
||||
{
|
||||
"Name": "CDPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -177,6 +223,15 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "RestrictedCpuset",
|
||||
"Path": "/dev/cpuset/restricted/cpus",
|
||||
"Values": [
|
||||
"0-3",
|
||||
"0-7"
|
||||
],
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "CDHighCpusetCpus",
|
||||
"Path": "/dev/cpuset/camera-daemon-high-group/cpus",
|
||||
|
@ -204,18 +259,9 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "F2fsRecessModeEnable",
|
||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||
"Values": [
|
||||
"2",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -224,16 +270,26 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGPreferIdle",
|
||||
"Path": "/proc/vendor_sched/fg_prefer_idle",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CDPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -241,11 +297,11 @@
|
|||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "HighCapacityStartCpu",
|
||||
"Path": "/sys/kernel/vendor_sched/high_capacity_start_cpu",
|
||||
"Name": "NPITaskPacking",
|
||||
"Path": "/proc/vendor_sched/npi_packing",
|
||||
"Values": [
|
||||
"4",
|
||||
"6"
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
|
@ -401,6 +457,31 @@
|
|||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
},
|
||||
{
|
||||
"Name": "TRUSTY_VIRTIO_HIGH",
|
||||
"Path": "/sys/module/trusty_virtio/parameters/use_high_wq",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "TRUSTY_HIGH",
|
||||
"Path": "/sys/module/trusty_core/parameters/use_high_wq",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "PMU_POLL",
|
||||
"Path": "/proc/vendor_sched/pmu_poll_enable",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
|
@ -408,19 +489,31 @@
|
|||
"PowerHint": "INTERACTION",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "UClampThreshold",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "ReduceRreferIdle",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_120FPS",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 1000,
|
||||
"Value": "125"
|
||||
"Value": "161"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "FGPreferIdle",
|
||||
"Duration": 5000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -431,7 +524,7 @@
|
|||
"PowerHint": "LAUNCH",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -457,6 +550,12 @@
|
|||
"Duration": 5000,
|
||||
"Value": "553"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "FGUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "161"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
@ -470,10 +569,10 @@
|
|||
"Value": "always_on"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
|
@ -523,6 +622,12 @@
|
|||
"Duration": 1000,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 1000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -541,6 +646,12 @@
|
|||
"Duration": 2000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 2000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -745,12 +856,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "GPUMinFreq",
|
||||
|
@ -799,6 +904,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUUtilThreshold",
|
||||
|
@ -823,12 +934,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
|
@ -883,6 +988,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CDPreferHighCap",
|
||||
|
@ -949,6 +1060,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CDPreferHighCap",
|
||||
|
@ -967,12 +1084,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1027,6 +1138,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FIXED_PERFORMANCE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1063,17 +1180,113 @@
|
|||
"Duration": 0,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "930000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1197000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_70",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1328000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_80",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1598000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_90",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1803000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_50",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "910000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_60",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1328000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_70",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1663000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_80",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1836000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_90",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1999000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_50",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1277000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_60",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1582000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_70",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1745000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_80",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "2048000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_90",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "2401000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_120FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "157"
|
||||
"Value": "55"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_60FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "42"
|
||||
"Value": "55"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_60FPS",
|
||||
|
@ -1120,13 +1333,13 @@
|
|||
"PowerHint": "BOOST_120HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "158"
|
||||
"Value": "185"
|
||||
},
|
||||
{
|
||||
"PowerHint": "BOOST_60HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "108"
|
||||
"Value": "185"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_120FPS",
|
||||
|
@ -1138,6 +1351,12 @@
|
|||
"Type": "MaskHint",
|
||||
"Value": "BOOST_120HZ"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "FGPreferIdle",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TAUClampBoost",
|
||||
|
@ -1170,11 +1389,6 @@
|
|||
"Duration": 50,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
"Type": "DoHint",
|
||||
"Value": "BOOST_DISPLAY"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
|
||||
"Node": "LimitFlashCurrent",
|
||||
|
@ -1199,6 +1413,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "400000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"Node": "BigControlTempSet",
|
||||
|
@ -1283,18 +1503,18 @@
|
|||
"Duration": 1000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPUBigClusterMinFreq",
|
||||
"Duration": 1000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPUBigClusterMinFreq",
|
||||
"Duration": 1000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPU_MID_TSKIN_BYPASS",
|
||||
|
@ -1307,6 +1527,24 @@
|
|||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "TRUSTY_VIRTIO_HIGH",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "TRUSTY_HIGH",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
|
@ -1378,6 +1616,176 @@
|
|||
"Node": "MLUclampBoost",
|
||||
"Duration": 2000,
|
||||
"Value": "512"
|
||||
},
|
||||
{
|
||||
"PowerHint": "ML_ACC",
|
||||
"Node": "PMQoSCpuDmaLatency",
|
||||
"Duration": 2000,
|
||||
"Value": "44"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "RestrictedCpuset",
|
||||
"Duration": 0,
|
||||
"Value": "0-3"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "RestrictedCpuset",
|
||||
"Duration": 0,
|
||||
"Value": "0-3"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
}
|
||||
],
|
||||
"AdpfConfig": [
|
||||
{
|
||||
"Name": "REFRESH_120FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 185,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 83333330,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "REFRESH_90FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 111111110,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "REFRESH_60FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 166666660,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "UiHighBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 157,
|
||||
"UclampMin_Low": 157,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
},
|
||||
{
|
||||
"Name": "UiLowBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 42,
|
||||
"UclampMin_Low": 42,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
},
|
||||
{
|
||||
"Name": "UiLowNoneBoost",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 0,
|
||||
"UclampMin_Low": 0,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
"9999999",
|
||||
"1098000",
|
||||
"1401000",
|
||||
"1197000"
|
||||
"930000",
|
||||
"1197000",
|
||||
"1328000",
|
||||
"1598000",
|
||||
"1803000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -48,8 +52,12 @@
|
|||
"9999999",
|
||||
"1024000",
|
||||
"1197000",
|
||||
"1999000",
|
||||
"1491000"
|
||||
"1491000",
|
||||
"910000",
|
||||
"1328000",
|
||||
"1663000",
|
||||
"1836000",
|
||||
"1999000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -71,7 +79,12 @@
|
|||
"9999999",
|
||||
"984000",
|
||||
"1426000",
|
||||
"1826000"
|
||||
"1826000",
|
||||
"1277000",
|
||||
"1582000",
|
||||
"1745000",
|
||||
"2048000",
|
||||
"2401000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -108,7 +121,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Path": "/proc/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
|
@ -127,42 +140,69 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"553",
|
||||
"158",
|
||||
"108",
|
||||
"43",
|
||||
"185",
|
||||
"129",
|
||||
"56",
|
||||
"1",
|
||||
"157",
|
||||
"107",
|
||||
"42"
|
||||
"183",
|
||||
"128",
|
||||
"55"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGUClampBoost",
|
||||
"Path": "/proc/vendor_sched/fg_uclamp_min",
|
||||
"Values": [
|
||||
"161",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "SFUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/sf_uclamp_min",
|
||||
"Values": [
|
||||
"125",
|
||||
"65",
|
||||
"30"
|
||||
"161",
|
||||
"85",
|
||||
"39"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MLUclampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
|
||||
"Values": [
|
||||
"154",
|
||||
"180",
|
||||
"512"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "UClampThreshold",
|
||||
"Path": "/proc/vendor_sched/uclamp_threshold",
|
||||
"Values": [
|
||||
"0",
|
||||
"8"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "ReduceRreferIdle",
|
||||
"Path": "/proc/vendor_sched/reduce_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CDPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -205,18 +245,9 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "F2fsRecessModeEnable",
|
||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||
"Values": [
|
||||
"2",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -225,7 +256,16 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGPreferIdle",
|
||||
"Path": "/proc/vendor_sched/fg_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -234,7 +274,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -242,11 +282,11 @@
|
|||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "HighCapacityStartCpu",
|
||||
"Path": "/sys/kernel/vendor_sched/high_capacity_start_cpu",
|
||||
"Name": "NPITaskPacking",
|
||||
"Path": "/proc/vendor_sched/npi_packing",
|
||||
"Values": [
|
||||
"4",
|
||||
"6"
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
|
@ -320,7 +360,7 @@
|
|||
"Name": "LittleControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp",
|
||||
"Values": [
|
||||
"90000",
|
||||
"95000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -375,6 +415,15 @@
|
|||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "PMU_POLL",
|
||||
"Path": "/proc/vendor_sched/pmu_poll_enable",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
|
@ -382,19 +431,25 @@
|
|||
"PowerHint": "INTERACTION",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "UClampThreshold",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "ReduceRreferIdle",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_120FPS",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 1000,
|
||||
"Value": "125"
|
||||
"Value": "161"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -405,7 +460,7 @@
|
|||
"PowerHint": "LAUNCH",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -431,6 +486,12 @@
|
|||
"Duration": 5000,
|
||||
"Value": "553"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "FGUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "161"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
@ -444,10 +505,10 @@
|
|||
"Value": "always_on"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
|
@ -497,6 +558,12 @@
|
|||
"Duration": 1000,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 1000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -515,6 +582,12 @@
|
|||
"Duration": 2000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 2000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -719,12 +792,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "GPUMinFreq",
|
||||
|
@ -773,6 +840,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUUtilThreshold",
|
||||
|
@ -797,12 +870,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
|
@ -857,6 +924,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CDPreferHighCap",
|
||||
|
@ -923,6 +996,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CDPreferHighCap",
|
||||
|
@ -941,12 +1020,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1001,6 +1074,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FIXED_PERFORMANCE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1037,17 +1116,113 @@
|
|||
"Duration": 0,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "930000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1197000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_70",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1328000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_80",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1598000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_90",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1803000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_50",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "910000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_60",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1328000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_70",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1663000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_80",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1836000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_90",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1999000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_50",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1277000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_60",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1582000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_70",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1745000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_80",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "2048000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_90",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "2401000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_120FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "157"
|
||||
"Value": "183"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_90FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "107"
|
||||
"Value": "128"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_90FPS",
|
||||
|
@ -1058,7 +1233,7 @@
|
|||
"PowerHint": "REFRESH_60FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "42"
|
||||
"Value": "55"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_60FPS",
|
||||
|
@ -1115,19 +1290,19 @@
|
|||
"PowerHint": "BOOST_120HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "158"
|
||||
"Value": "185"
|
||||
},
|
||||
{
|
||||
"PowerHint": "BOOST_90HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "108"
|
||||
"Value": "129"
|
||||
},
|
||||
{
|
||||
"PowerHint": "BOOST_60HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "108"
|
||||
"Value": "129"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_120FPS",
|
||||
|
@ -1159,6 +1334,12 @@
|
|||
"Type": "MaskHint",
|
||||
"Value": "BOOST_120HZ"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "FGPreferIdle",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TAUClampBoost",
|
||||
|
@ -1225,6 +1406,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "400000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"Node": "BigControlTempSet",
|
||||
|
@ -1302,6 +1489,164 @@
|
|||
"Node": "MLUclampBoost",
|
||||
"Duration": 2000,
|
||||
"Value": "512"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
}
|
||||
],
|
||||
"AdpfConfig": [
|
||||
{
|
||||
"Name": "REFRESH_120FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 185,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 83333330,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "REFRESH_90FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 111111110,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "REFRESH_60FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 166666660,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "UiHighBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 157,
|
||||
"UclampMin_Low": 157,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
},
|
||||
{
|
||||
"Name": "UiLowBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 42,
|
||||
"UclampMin_Low": 42,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
},
|
||||
{
|
||||
"Name": "UiLowNoneBoost",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 0,
|
||||
"UclampMin_Low": 0,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
"9999999",
|
||||
"1098000",
|
||||
"1401000",
|
||||
"1197000"
|
||||
"930000",
|
||||
"1197000",
|
||||
"1328000",
|
||||
"1598000",
|
||||
"1803000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -48,8 +52,12 @@
|
|||
"9999999",
|
||||
"1024000",
|
||||
"1197000",
|
||||
"1999000",
|
||||
"1491000"
|
||||
"1491000",
|
||||
"910000",
|
||||
"1328000",
|
||||
"1663000",
|
||||
"1836000",
|
||||
"1999000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -71,7 +79,12 @@
|
|||
"9999999",
|
||||
"984000",
|
||||
"1426000",
|
||||
"1826000"
|
||||
"1826000",
|
||||
"1277000",
|
||||
"1582000",
|
||||
"1745000",
|
||||
"2048000",
|
||||
"2401000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -108,7 +121,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Path": "/proc/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
|
@ -127,42 +140,69 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"553",
|
||||
"158",
|
||||
"108",
|
||||
"43",
|
||||
"185",
|
||||
"129",
|
||||
"56",
|
||||
"1",
|
||||
"157",
|
||||
"107",
|
||||
"42"
|
||||
"183",
|
||||
"128",
|
||||
"55"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGUClampBoost",
|
||||
"Path": "/proc/vendor_sched/fg_uclamp_min",
|
||||
"Values": [
|
||||
"161",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "SFUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/sf_uclamp_min",
|
||||
"Values": [
|
||||
"125",
|
||||
"65",
|
||||
"30"
|
||||
"161",
|
||||
"85",
|
||||
"39"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MLUclampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
|
||||
"Values": [
|
||||
"154",
|
||||
"180",
|
||||
"512"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "UClampThreshold",
|
||||
"Path": "/proc/vendor_sched/uclamp_threshold",
|
||||
"Values": [
|
||||
"0",
|
||||
"8"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "ReduceRreferIdle",
|
||||
"Path": "/proc/vendor_sched/reduce_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CDPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -205,18 +245,9 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "F2fsRecessModeEnable",
|
||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||
"Values": [
|
||||
"2",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -225,7 +256,16 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGPreferIdle",
|
||||
"Path": "/proc/vendor_sched/fg_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -234,7 +274,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -242,11 +282,11 @@
|
|||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "HighCapacityStartCpu",
|
||||
"Path": "/sys/kernel/vendor_sched/high_capacity_start_cpu",
|
||||
"Name": "NPITaskPacking",
|
||||
"Path": "/proc/vendor_sched/npi_packing",
|
||||
"Values": [
|
||||
"4",
|
||||
"6"
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
|
@ -320,7 +360,7 @@
|
|||
"Name": "LittleControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp",
|
||||
"Values": [
|
||||
"90000",
|
||||
"95000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -382,19 +422,25 @@
|
|||
"PowerHint": "INTERACTION",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "UClampThreshold",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "ReduceRreferIdle",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_120FPS",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 1000,
|
||||
"Value": "125"
|
||||
"Value": "161"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -405,7 +451,7 @@
|
|||
"PowerHint": "LAUNCH",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "85"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -431,6 +477,12 @@
|
|||
"Duration": 5000,
|
||||
"Value": "553"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "FGUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "161"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
@ -444,10 +496,10 @@
|
|||
"Value": "always_on"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 5000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
|
@ -497,6 +549,12 @@
|
|||
"Duration": 1000,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 1000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -515,6 +573,12 @@
|
|||
"Duration": 2000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 2000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -719,12 +783,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "GPUMinFreq",
|
||||
|
@ -773,6 +831,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUUtilThreshold",
|
||||
|
@ -797,12 +861,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
|
@ -857,6 +915,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CDPreferHighCap",
|
||||
|
@ -923,6 +987,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CDPreferHighCap",
|
||||
|
@ -941,12 +1011,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "HighCapacityStartCpu",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1001,6 +1065,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-7"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "NPITaskPacking",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FIXED_PERFORMANCE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1037,17 +1107,107 @@
|
|||
"Duration": 0,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "930000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1197000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_70",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1328000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_80",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1598000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_90",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1803000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_50",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "910000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_60",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1328000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_70",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1663000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_80",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1836000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_MID_CLUSTER_90",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1999000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_50",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1277000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_60",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1582000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_70",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "1745000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_80",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "2048000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER_CPU_90",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 3600000,
|
||||
"Value": "2401000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_120FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "157"
|
||||
"Value": "183"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_90FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "107"
|
||||
"Value": "128"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_90FPS",
|
||||
|
@ -1058,7 +1218,7 @@
|
|||
"PowerHint": "REFRESH_60FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "42"
|
||||
"Value": "55"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_60FPS",
|
||||
|
@ -1115,19 +1275,19 @@
|
|||
"PowerHint": "BOOST_120HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "158"
|
||||
"Value": "185"
|
||||
},
|
||||
{
|
||||
"PowerHint": "BOOST_90HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "108"
|
||||
"Value": "129"
|
||||
},
|
||||
{
|
||||
"PowerHint": "BOOST_60HZ",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 200,
|
||||
"Value": "108"
|
||||
"Value": "129"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_120FPS",
|
||||
|
@ -1159,6 +1319,12 @@
|
|||
"Type": "MaskHint",
|
||||
"Value": "BOOST_120HZ"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "FGPreferIdle",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TAUClampBoost",
|
||||
|
@ -1303,5 +1469,151 @@
|
|||
"Duration": 2000,
|
||||
"Value": "512"
|
||||
}
|
||||
],
|
||||
"AdpfConfig": [
|
||||
{
|
||||
"Name": "REFRESH_120FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 185,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 83333330,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "REFRESH_90FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 111111110,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "REFRESH_60FPS",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 1.0,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 166666660,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 20.0
|
||||
},
|
||||
{
|
||||
"Name": "UiHighBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 157,
|
||||
"UclampMin_Low": 157,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
},
|
||||
{
|
||||
"Name": "UiLowBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 42,
|
||||
"UclampMin_Low": 42,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
},
|
||||
{
|
||||
"Name": "UiLowNoneBoost",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 0,
|
||||
"UclampMin_Low": 0,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
soong_namespace {
|
||||
imports: [
|
||||
"hardware/google/pixel",
|
||||
"device/google/gs101",
|
||||
"device/google/gs101/powerstats",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <android/binder_manager.h>
|
||||
#include <android/binder_process.h>
|
||||
#include <log/log.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider;
|
||||
using aidl::android::hardware::power::stats::EnergyConsumerType;
|
||||
|
@ -75,6 +76,8 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
|
|||
}
|
||||
|
||||
int main() {
|
||||
struct stat buffer;
|
||||
|
||||
LOG(INFO) << "Pixel PowerStats HAL AIDL Service is starting.";
|
||||
|
||||
// single thread
|
||||
|
@ -84,8 +87,19 @@ int main() {
|
|||
|
||||
addGs101CommonDataProviders(p);
|
||||
addDisplay(p);
|
||||
if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-3/i2c-st21nfc/power_stats");
|
||||
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-4/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-4/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-5/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-5/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-6/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-6/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-7/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-7/i2c-st21nfc/power_stats");
|
||||
} else {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-8/i2c-st21nfc/power_stats");
|
||||
}
|
||||
const std::string instance = std::string() + PowerStats::descriptor + "/default";
|
||||
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
|
||||
LOG_ALWAYS_FATAL_IF(status != STATUS_OK);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
soong_namespace {
|
||||
imports: [
|
||||
"hardware/google/pixel",
|
||||
"device/google/gs101",
|
||||
"device/google/gs101/powerstats",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <android/binder_manager.h>
|
||||
#include <android/binder_process.h>
|
||||
#include <log/log.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider;
|
||||
using aidl::android::hardware::power::stats::EnergyConsumerType;
|
||||
|
@ -117,6 +118,8 @@ void addUwb(std::shared_ptr<PowerStats> p) {
|
|||
}
|
||||
|
||||
int main() {
|
||||
struct stat buffer;
|
||||
|
||||
LOG(INFO) << "Pixel PowerStats HAL AIDL Service is starting.";
|
||||
|
||||
// single thread
|
||||
|
@ -126,9 +129,19 @@ int main() {
|
|||
|
||||
addGs101CommonDataProviders(p);
|
||||
addDisplay(p);
|
||||
if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-3/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-4/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-4/i2c-st21nfc/power_stats");
|
||||
addUwb(p);
|
||||
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-5/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-5/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-6/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-6/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-7/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-7/i2c-st21nfc/power_stats");
|
||||
} else {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-8/i2c-st21nfc/power_stats");
|
||||
}
|
||||
const std::string instance = std::string() + PowerStats::descriptor + "/default";
|
||||
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
|
||||
LOG_ALWAYS_FATAL_IF(status != STATUS_OK);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
soong_namespace {
|
||||
imports: [
|
||||
"hardware/google/pixel",
|
||||
"device/google/gs101",
|
||||
"device/google/gs101/powerstats",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <android/binder_manager.h>
|
||||
#include <android/binder_process.h>
|
||||
#include <log/log.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider;
|
||||
using aidl::android::hardware::power::stats::EnergyConsumerType;
|
||||
|
@ -58,6 +59,8 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
|
|||
}
|
||||
|
||||
int main() {
|
||||
struct stat buffer;
|
||||
|
||||
LOG(INFO) << "Pixel PowerStats HAL AIDL Service is starting.";
|
||||
|
||||
// single thread
|
||||
|
@ -67,7 +70,19 @@ int main() {
|
|||
|
||||
addGs101CommonDataProviders(p);
|
||||
addDisplay(p);
|
||||
|
||||
if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-3/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-3/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-4/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-4/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-5/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-5/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-6/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-6/i2c-st21nfc/power_stats");
|
||||
} else if (!stat("/sys/devices/platform/10960000.hsi2c/i2c-7/i2c-st21nfc/power_stats", &buffer)) {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-7/i2c-st21nfc/power_stats");
|
||||
} else {
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-8/i2c-st21nfc/power_stats");
|
||||
}
|
||||
const std::string instance = std::string() + PowerStats::descriptor + "/default";
|
||||
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
|
||||
LOG_ALWAYS_FATAL_IF(status != STATUS_OK);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
soong_namespace {
|
||||
imports: [
|
||||
"hardware/google/pixel",
|
||||
"device/google/gs101",
|
||||
"device/google/gs101/powerstats",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ else
|
|||
USES_DEVICE_GOOGLE_RAVIOLE := true
|
||||
|
||||
include device/google/gs101/BoardConfig-common.mk
|
||||
include device/google/gs101/wifi/BoardConfig-wifi.mk
|
||||
-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
|
||||
-include vendor/google_devices/raven/proprietary/BoardConfigVendor.mk
|
||||
endif
|
||||
|
|
|
@ -199,7 +199,7 @@
|
|||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||
-->
|
||||
<dimen name="status_bar_height_default">28dp</dimen>
|
||||
<dimen name="status_bar_height_portrait">145px</dimen>
|
||||
<dimen name="status_bar_height_portrait">130px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
||||
<!-- the number of the max cached processes in the system. -->
|
||||
|
@ -273,4 +273,15 @@
|
|||
<item>200</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Boolean indicating if restoring network selection should be skipped -->
|
||||
<!-- The restoring is handled by modem if it is true -->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- The behavior when the system detects it has abusive current drains, whether or not to
|
||||
move the app to the restricted standby bucket level.
|
||||
True - we'll move the app to restricted standby bucket as long as its bg battery usage
|
||||
goes beyond the threshold, False - we'll not move it.
|
||||
Note: This should be only enabled on devices with high confidence on power measurement.
|
||||
-->
|
||||
<bool name="config_bg_current_drain_auto_restrict_abusive_apps">true</bool>
|
||||
</resources>
|
||||
|
|
22
raven/overlay/frameworks/base/core/res/res/values/dimens.xml
Normal file
22
raven/overlay/frameworks/base/core/res/res/values/dimens.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (c) 2022, 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.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- for 20dp of padding at 3.5px/dp at default density -->
|
||||
<dimen name="rounded_corner_content_padding">50px</dimen>
|
||||
</resources>
|
||||
|
|
@ -26,113 +26,125 @@
|
|||
<value>2</value> <!-- Cluster 2 has 2 cores (cpu6, cpu7) -->
|
||||
</array>
|
||||
|
||||
<item name="cpu.suspend">4.35</item>
|
||||
<item name="cpu.idle">5.78</item>
|
||||
<item name="cpu.active">2.35</item>
|
||||
<item name="cpu.cluster_power.cluster0">32.58</item>
|
||||
<item name="cpu.cluster_power.cluster1">6.44</item>
|
||||
<item name="cpu.cluster_power.cluster2">0</item>
|
||||
<item name="cpu.suspend">10</item>
|
||||
<item name="cpu.idle">28.6</item>
|
||||
<item name="cpu.active">12.37</item>
|
||||
<item name="cpu.cluster_power.cluster0">0.24</item>
|
||||
<item name="cpu.cluster_power.cluster1">3.23</item>
|
||||
<item name="cpu.cluster_power.cluster2">5.94</item>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpufreq/ploicy0/scaling_available_frequencies -->
|
||||
<array name="cpu.core_speeds.cluster0">
|
||||
<value>300000</value>
|
||||
<value>574000</value>
|
||||
<value>738000</value>
|
||||
<value>930000</value>
|
||||
<value>1098000</value>
|
||||
<value>1197000</value>
|
||||
<value>1328000</value>
|
||||
<value>1401000</value>
|
||||
<value>1598000</value>
|
||||
<value>1704000</value>
|
||||
<value>1803000</value>
|
||||
<value>1950000</value>
|
||||
<value>2024000</value>
|
||||
<value>300000</value> <!-- 300 MHz CPU speed -->
|
||||
<value>574000</value> <!-- 574 MHz CPU speed -->
|
||||
<value>738000</value> <!-- 738 MHz CPU speed -->
|
||||
<value>930000</value> <!-- 930 MHz CPU speed -->
|
||||
<value>1098000</value> <!-- 1098 MHz CPU speed -->
|
||||
<value>1197000</value> <!-- 1197 MHz CPU speed -->
|
||||
<value>1328000</value> <!-- 1328 MHz CPU speed -->
|
||||
<value>1401000</value> <!-- 1401 MHz CPU speed -->
|
||||
<value>1598000</value> <!-- 1598 MHz CPU speed -->
|
||||
<value>1704000</value> <!-- 1704 MHz CPU speed -->
|
||||
<value>1803000</value> <!-- 1803 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpufreq/ploicy4/scaling_available_frequencies -->
|
||||
<array name="cpu.core_speeds.cluster1">
|
||||
<value>400000</value>
|
||||
<value>553000</value>
|
||||
<value>696000</value>
|
||||
<value>799000</value>
|
||||
<value>910000</value>
|
||||
<value>1024000</value>
|
||||
<value>1197000</value>
|
||||
<value>1328000</value>
|
||||
<value>1491000</value>
|
||||
<value>1663000</value>
|
||||
<value>1836000</value>
|
||||
<value>1999000</value>
|
||||
<value>2130000</value>
|
||||
<value>2253000</value>
|
||||
<value>400000</value> <!-- 400 MHz CPU speed -->
|
||||
<value>553000</value> <!-- 553 MHz CPU speed -->
|
||||
<value>696000</value> <!-- 696 MHz CPU speed -->
|
||||
<value>799000</value> <!-- 799 MHz CPU speed -->
|
||||
<value>910000</value> <!-- 910 MHz CPU speed -->
|
||||
<value>1024000</value> <!-- 1024 MHz CPU speed -->
|
||||
<value>1197000</value> <!-- 1197 MHz CPU speed -->
|
||||
<value>1328000</value> <!-- 1328 MHz CPU speed -->
|
||||
<value>1491000</value> <!-- 1491 MHz CPU speed -->
|
||||
<value>1663000</value> <!-- 1663 MHz CPU speed -->
|
||||
<value>1836000</value> <!-- 1836 MHz CPU speed -->
|
||||
<value>1999000</value> <!-- 1999 MHz CPU speed -->
|
||||
<value>2130000</value> <!-- 2130 MHz CPU speed -->
|
||||
<value>2253000</value> <!-- 2253 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpufreq/ploicy6/scaling_available_frequencies -->
|
||||
<array name="cpu.core_speeds.cluster2">
|
||||
<value>500000</value>
|
||||
<value>851000</value>
|
||||
<value>984000</value>
|
||||
<value>1106000</value>
|
||||
<value>1277000</value>
|
||||
<value>1426000</value>
|
||||
<value>1582000</value>
|
||||
<value>1745000</value>
|
||||
<value>1826000</value>
|
||||
<value>2048000</value>
|
||||
<value>2188000</value>
|
||||
<value>2252000</value>
|
||||
<value>2401000</value>
|
||||
<value>2507000</value>
|
||||
<value>2630000</value>
|
||||
<value>500000</value> <!-- 500 MHz CPU speed -->
|
||||
<value>851000</value> <!-- 851 MHz CPU speed -->
|
||||
<value>984000</value> <!-- 984 MHz CPU speed -->
|
||||
<value>1106000</value> <!-- 1106 MHz CPU speed -->
|
||||
<value>1277000</value> <!-- 1277 MHz CPU speed -->
|
||||
<value>1426000</value> <!-- 1426 MHz CPU speed -->
|
||||
<value>1582000</value> <!-- 1582 MHz CPU speed -->
|
||||
<value>1745000</value> <!-- 1745 MHz CPU speed -->
|
||||
<value>1826000</value> <!-- 1826 MHz CPU speed -->
|
||||
<value>2048000</value> <!-- 2048 MHz CPU speed -->
|
||||
<value>2188000</value> <!-- 2188 MHz CPU speed -->
|
||||
<value>2252000</value> <!-- 2252 MHz CPU speed -->
|
||||
<value>2401000</value> <!-- 2401 MHz CPU speed -->
|
||||
<value>2507000</value> <!-- 2507 MHz CPU speed -->
|
||||
<value>2630000</value> <!-- 2630 MHz CPU speed -->
|
||||
<value>2704000</value> <!-- 2704 MHz CPU speed -->
|
||||
<value>2802000</value> <!-- 2802 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used by a CPU core from cluster 0 when running at
|
||||
different speeds, excluding cluster and active cost -->
|
||||
<array name="cpu.core_power.cluster0">
|
||||
<value>13.58</value>
|
||||
<value>38.22</value>
|
||||
<value>48.59</value>
|
||||
<value>64.02</value>
|
||||
<value>79.69</value>
|
||||
<value>89.66</value>
|
||||
<value>105.64</value>
|
||||
<value>113.30</value>
|
||||
<value>142.24</value>
|
||||
<value>158.91</value>
|
||||
<value>180.73</value>
|
||||
<value>229.19</value>
|
||||
<value>266.66</value>
|
||||
<value>1.89</value> <!-- 300 MHz CPU speed -->
|
||||
<value>6.15</value> <!-- 574 MHz CPU speed -->
|
||||
<value>9.34</value> <!-- 738 MHz CPU speed -->
|
||||
<value>14.22</value> <!-- 930 MHz CPU speed -->
|
||||
<value>18.94</value> <!-- 1098 MHz CPU speed -->
|
||||
<value>21.98</value> <!-- 1197 MHz CPU speed -->
|
||||
<value>26.83</value> <!-- 1328 MHz CPU speed -->
|
||||
<value>30.17</value> <!-- 1401 MHz CPU speed -->
|
||||
<value>41.55</value> <!-- 1598 MHz CPU speed -->
|
||||
<value>48.36</value> <!-- 1704 MHz CPU speed -->
|
||||
<value>58.45</value> <!-- 1803 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used by a CPU core from cluster 1 when running at
|
||||
different speeds, excluding cluster and active cost -->
|
||||
<array name="cpu.core_power.cluster1">
|
||||
<value>59.00</value>
|
||||
<value>87.69</value>
|
||||
<value>114.54</value>
|
||||
<value>134.19</value>
|
||||
<value>157.72</value>
|
||||
<value>184.69</value>
|
||||
<value>229.99</value>
|
||||
<value>264.08</value>
|
||||
<value>316.56</value>
|
||||
<value>375.74</value>
|
||||
<value>450.94</value>
|
||||
<value>529.79</value>
|
||||
<value>603.34</value>
|
||||
<value>684.48</value>
|
||||
<value>3.71</value> <!-- 400 MHz CPU speed -->
|
||||
<value>6.16</value> <!-- 553 MHz CPU speed -->
|
||||
<value>8</value> <!-- 696 MHz CPU speed -->
|
||||
<value>10.94</value> <!-- 799 MHz CPU speed -->
|
||||
<value>12.73</value> <!-- 910 MHz CPU speed -->
|
||||
<value>14.4</value> <!-- 1024 MHz CPU speed -->
|
||||
<value>21.39</value> <!-- 1197 MHz CPU speed -->
|
||||
<value>24.1</value> <!-- 1328 MHz CPU speed -->
|
||||
<value>30.42</value> <!-- 1491 MHz CPU speed -->
|
||||
<value>42.49</value> <!-- 1663 MHz CPU speed -->
|
||||
<value>49.37</value> <!-- 1836 MHz CPU speed -->
|
||||
<value>58.09</value> <!-- 1999 MHz CPU speed -->
|
||||
<value>67.54</value> <!-- 2130 MHz CPU speed -->
|
||||
<value>79.04</value> <!-- 2253 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used by a CPU core from cluster 2 when running at
|
||||
different speeds, excluding cluster and active cost -->
|
||||
<array name="cpu.core_power.cluster2">
|
||||
<value>199.11</value>
|
||||
<value>332.32</value>
|
||||
<value>389.40</value>
|
||||
<value>452.85</value>
|
||||
<value>547.22</value>
|
||||
<value>629.93</value>
|
||||
<value>735.84</value>
|
||||
<value>861.23</value>
|
||||
<value>946.15</value>
|
||||
<value>1137.98</value>
|
||||
<value>1318.48</value>
|
||||
<value>1396.56</value>
|
||||
<value>1583.05</value>
|
||||
<value>1811.61</value>
|
||||
<value>2050.00</value>
|
||||
<value>8.36</value> <!-- 500 MHz CPU speed -->
|
||||
<value>16.33</value> <!-- 851 MHz CPU speed -->
|
||||
<value>19.44</value> <!-- 984 MHz CPU speed -->
|
||||
<value>36.71</value> <!-- 1106 MHz CPU speed -->
|
||||
<value>41.42</value> <!-- 1277 MHz CPU speed -->
|
||||
<value>48.24</value> <!-- 1426 MHz CPU speed -->
|
||||
<value>54.77</value> <!-- 1582 MHz CPU speed -->
|
||||
<value>65.32</value> <!-- 1745 MHz CPU speed -->
|
||||
<value>69.58</value> <!-- 1826 MHz CPU speed -->
|
||||
<value>128.49</value> <!-- 2048 MHz CPU speed -->
|
||||
<value>142.15</value> <!-- 2188 MHz CPU speed -->
|
||||
<value>149.74</value> <!-- 2252 MHz CPU speed -->
|
||||
<value>164.78</value> <!-- 2401 MHz CPU speed -->
|
||||
<value>188.68</value> <!-- 2507 MHz CPU speed -->
|
||||
<value>193.15</value> <!-- 2630 MHz CPU speed -->
|
||||
<value>227.98</value> <!-- 2704 MHz CPU speed -->
|
||||
<value>254.25</value> <!-- 2802 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used when screen is ambient mode -->
|
||||
|
|
|
@ -58,8 +58,6 @@
|
|||
<item>0</item> <!-- 4: SUN -->
|
||||
</integer-array>
|
||||
|
||||
<bool name="config_roundedCornerMultipleRadius">true</bool>
|
||||
|
||||
<!-- Configure 13px of extra protection around the front-facing camera -->
|
||||
<string translatable="false" name="config_frontBuiltInDisplayCutoutProtection">
|
||||
M 661,72
|
||||
|
|
|
@ -16,9 +16,6 @@
|
|||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- for 20dp of padding at 3.5px/dp at default density -->
|
||||
<dimen name="rounded_corner_content_padding">50px</dimen>
|
||||
|
||||
<!-- the padding on the top of the statusbar (usually 0) -->
|
||||
<dimen name="status_bar_padding_top">1px</dimen>
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2021 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
<bool name="enable_ons_auto_provisioning">true</bool>
|
||||
</resources>
|
|
@ -21,4 +21,5 @@ USES_DEVICE_GOOGLE_RAVIOLE := true
|
|||
BOARD_BOOTCONFIG += androidboot.selinux=permissive
|
||||
|
||||
include device/google/gs101/BoardConfig-common.mk
|
||||
include device/google/gs101/wifi/BoardConfig-wifi.mk
|
||||
-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
|
||||
|
|
|
@ -182,6 +182,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-QI-GNSS",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -208,6 +209,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-QI-QUIET",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -233,6 +235,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-QI-BATT",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -259,6 +262,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-USB2-DISP",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -285,6 +289,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-QUIET-BATT",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -407,6 +412,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-SKIN-CHARGE",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"TriggerSensor":"quiet_therm",
|
||||
"Formula":"MAXIMUM",
|
||||
|
@ -442,7 +448,6 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":0.001,
|
||||
"Monitor":true,
|
||||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000,
|
||||
"BindedCdevInfo": [
|
||||
|
@ -520,6 +525,7 @@
|
|||
{
|
||||
"Name":"USB2-MINUS-USB",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -545,6 +551,7 @@
|
|||
{
|
||||
"Name":"USB2-MINUS-QI",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -570,6 +577,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-USB-THROTTLING",
|
||||
"Type":"USB_PORT",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "usb_pwr_therm2",
|
||||
|
@ -783,7 +791,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"batoilo",
|
||||
|
@ -816,11 +824,11 @@
|
|||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -898,7 +906,7 @@
|
|||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -937,7 +945,7 @@
|
|||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -964,7 +972,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_cpu2",
|
||||
|
@ -989,7 +997,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_tpu",
|
||||
|
@ -1014,7 +1022,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_gpu",
|
||||
|
@ -1039,7 +1047,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_cpu2",
|
||||
|
@ -1064,7 +1072,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_cpu1",
|
||||
|
@ -1089,7 +1097,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_tpu",
|
||||
|
@ -1114,7 +1122,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_gpu",
|
||||
|
@ -1139,7 +1147,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"TPU",
|
||||
|
|
|
@ -182,6 +182,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-NEUTRAL-QI",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -208,6 +209,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-USB2-BATT",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -234,6 +236,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-GNSS-BATT",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -260,6 +263,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-QI-DISP",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -382,6 +386,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-SKIN-CHARGE",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"TriggerSensor":"quiet_therm",
|
||||
"Formula":"MAXIMUM",
|
||||
|
@ -417,7 +422,6 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":0.001,
|
||||
"Monitor":true,
|
||||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000,
|
||||
"BindedCdevInfo": [
|
||||
|
@ -495,6 +499,7 @@
|
|||
{
|
||||
"Name":"USB2-MINUS-USB",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -520,6 +525,7 @@
|
|||
{
|
||||
"Name":"USB2-MINUS-QI",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -545,6 +551,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-USB-THROTTLING",
|
||||
"Type":"USB_PORT",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "usb_pwr_therm2",
|
||||
|
@ -758,7 +765,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"batoilo",
|
||||
|
@ -791,11 +798,11 @@
|
|||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -873,7 +880,7 @@
|
|||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -912,7 +919,7 @@
|
|||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -939,7 +946,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_cpu2",
|
||||
|
@ -964,7 +971,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_tpu",
|
||||
|
@ -989,7 +996,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_gpu",
|
||||
|
@ -1014,7 +1021,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_cpu2",
|
||||
|
@ -1039,7 +1046,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_cpu1",
|
||||
|
@ -1064,7 +1071,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_tpu",
|
||||
|
@ -1089,7 +1096,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_gpu",
|
||||
|
@ -1114,7 +1121,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"TPU",
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,4 @@
|
|||
[CCC]format=1
|
||||
[CCC]kind=0
|
||||
[CCC]settings=1
|
||||
[CCC]version=2
|
||||
[CCC]ant0.ch5.prf64.pdoa_iso_rf2_rf1=0
|
||||
[CCC]ant0.ch5.prf64.pdoa_iso_rf1_rf2=0
|
||||
[CCC]ant0.ch9.prf64.pdoa_iso_rf2_rf1=0
|
||||
|
@ -22,11 +20,11 @@ ant0.ch5.prf64.ant_delay=16450
|
|||
ant0.ch5.prf64.tx_power=0x4E4E4E4E
|
||||
ant0.ch5.prf64.pg_count=0
|
||||
ant0.ch5.prf64.pg_delay=0x26
|
||||
ant0.ch9.prf16.ant_delay=16450
|
||||
ant0.ch9.prf16.ant_delay=16410
|
||||
ant0.ch9.prf16.tx_power=0x56565656
|
||||
ant0.ch9.prf16.pg_count=0
|
||||
ant0.ch9.prf16.pg_delay=0x26
|
||||
ant0.ch9.prf64.ant_delay=16450
|
||||
ant0.ch9.prf64.ant_delay=16410
|
||||
ant0.ch9.prf64.tx_power=0x56565656
|
||||
ant0.ch9.prf64.pg_count=0
|
||||
ant0.ch9.prf64.pg_delay=0x26
|
||||
|
@ -41,11 +39,11 @@ ant1.ch5.prf64.ant_delay=16450
|
|||
ant1.ch5.prf64.tx_power=0x4E4E4E4E
|
||||
ant1.ch5.prf64.pg_count=0
|
||||
ant1.ch5.prf64.pg_delay=0x26
|
||||
ant1.ch9.prf16.ant_delay=16450
|
||||
ant1.ch9.prf16.ant_delay=16410
|
||||
ant1.ch9.prf16.tx_power=0x56565656
|
||||
ant1.ch9.prf16.pg_count=0
|
||||
ant1.ch9.prf16.pg_delay=0x26
|
||||
ant1.ch9.prf64.ant_delay=16450
|
||||
ant1.ch9.prf64.ant_delay=16410
|
||||
ant1.ch9.prf64.tx_power=0x56565656
|
||||
ant1.ch9.prf64.pg_count=0
|
||||
ant1.ch9.prf64.pg_delay=0x26
|
||||
|
@ -60,11 +58,11 @@ ant2.ch5.prf64.ant_delay=16450
|
|||
ant2.ch5.prf64.tx_power=0x4E4E4E4E
|
||||
ant2.ch5.prf64.pg_count=0
|
||||
ant2.ch5.prf64.pg_delay=0x26
|
||||
ant2.ch9.prf16.ant_delay=16450
|
||||
ant2.ch9.prf16.ant_delay=16410
|
||||
ant2.ch9.prf16.tx_power=0x56565656
|
||||
ant2.ch9.prf16.pg_count=0
|
||||
ant2.ch9.prf16.pg_delay=0x26
|
||||
ant2.ch9.prf64.ant_delay=16450
|
||||
ant2.ch9.prf64.ant_delay=16410
|
||||
ant2.ch9.prf64.tx_power=0x56565656
|
||||
ant2.ch9.prf64.pg_count=0
|
||||
ant2.ch9.prf64.pg_delay=0x26
|
||||
|
@ -79,11 +77,11 @@ ant3.ch5.prf64.ant_delay=16450
|
|||
ant3.ch5.prf64.tx_power=0x4E4E4E4E
|
||||
ant3.ch5.prf64.pg_count=0
|
||||
ant3.ch5.prf64.pg_delay=0x26
|
||||
ant3.ch9.prf16.ant_delay=16450
|
||||
ant3.ch9.prf16.ant_delay=16410
|
||||
ant3.ch9.prf16.tx_power=0x56565656
|
||||
ant3.ch9.prf16.pg_count=0
|
||||
ant3.ch9.prf16.pg_delay=0x26
|
||||
ant3.ch9.prf64.ant_delay=16450
|
||||
ant3.ch9.prf64.ant_delay=16410
|
||||
ant3.ch9.prf64.tx_power=0x56565656
|
||||
ant3.ch9.prf64.pg_count=0
|
||||
ant3.ch9.prf64.pg_delay=0x26
|
||||
|
@ -110,8 +108,34 @@ xtal_trim=31
|
|||
temperature_reference=85
|
||||
smart_tx_power=1
|
||||
auto_sleep_margin=20000
|
||||
[HAL]antenna_pair_azimuth=4
|
||||
[HAL]antenna_pair_elevation=0xff
|
||||
[HAL]tx_antenna=0
|
||||
[HAL]minimum_system_offset_uwbtime0=300
|
||||
restricted_channels=0
|
||||
[HAL]aoa_capability=1
|
||||
[HAL]ant_sets.ch5.range.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.range.rx_ant_set_ranging = 6
|
||||
[HAL]ant_sets.ch5.range.tx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.range.tx_ant_set_ranging = 6
|
||||
[HAL]ant_sets.ch5.azimuth.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.azimuth.rx_ant_set_ranging = 4
|
||||
[HAL]ant_sets.ch5.azimuth.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch5.azimuth.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.range.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.range.rx_ant_set_ranging = 6
|
||||
[HAL]ant_sets.ch9.range.tx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.range.tx_ant_set_ranging = 6
|
||||
[HAL]ant_sets.ch5.elevation.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.elevation.rx_ant_set_ranging = 1
|
||||
[HAL]ant_sets.ch5.elevation.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch5.elevation.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.elevation.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.elevation.rx_ant_set_ranging = 1
|
||||
[HAL]ant_sets.ch9.elevation.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch9.elevation.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.azimuth.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.azimuth.rx_ant_set_ranging = 4
|
||||
[HAL]ant_sets.ch9.azimuth.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch9.azimuth.tx_ant_set_ranging = 0
|
||||
[HAL]minimum_system_offset_uwbtime0=500
|
||||
coex_gpio=4
|
||||
coex_delay_us=1000
|
||||
coex_margin_us=500
|
||||
coex_interval_us=2000
|
||||
|
|
|
@ -21,4 +21,5 @@ USES_DEVICE_GOOGLE_RAVIOLE := true
|
|||
BOARD_BOOTCONFIG += androidboot.selinux=permissive
|
||||
|
||||
include device/google/gs101/BoardConfig-common.mk
|
||||
include device/google/gs101/wifi/BoardConfig-wifi.mk
|
||||
-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue