Merge Android U (ab/10368041)

Bug: 291102124
Merged-In: I59500ba819f0c36f130b26b86b9dfe4415fa1792
Change-Id: Iffe4bd4cdf12ea8795bee3d48d6018222d11360a
This commit is contained in:
Xin Li 2023-08-14 15:32:41 -07:00
commit 2a93fae2a8
21 changed files with 499 additions and 215 deletions

3
OWNERS
View file

@ -1 +1,4 @@
per-file powerhint.json = jychen@google.com,jenhaochen@google.com,wvw@google.com,joaodias@google.com per-file powerhint.json = jychen@google.com,jenhaochen@google.com,wvw@google.com,joaodias@google.com
# per-file for Pixel device makefiles, see go/pixel-device-mk-owner-checklist for details.
per-file *.mk,*/BoardConfig.mk=file:device/google/gs-common:master:/OWNERS

View file

@ -192,21 +192,21 @@
<route type="mix" sink="Earpiece" <route type="mix" sink="Earpiece"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/> sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx"/>
<route type="mix" sink="BT A2DP Out" <route type="mix" sink="BT A2DP Out"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT A2DP Headphones" <route type="mix" sink="BT A2DP Headphones"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT A2DP Speaker" <route type="mix" sink="BT A2DP Speaker"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="USB Device Out" <route type="mix" sink="USB Device Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/> sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="USB Headset Out" <route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/> sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="BT SCO" <route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset" <route type="mix" sink="BT SCO Headset"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Car Kit" <route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" /> <route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
<route type="mix" sink="primary input" <route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
@ -217,9 +217,9 @@
<route type="mix" sink="voip_tx" <route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="fast input" <route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="mmap_no_irq_in" <route type="mix" sink="mmap_no_irq_in"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hifi_input" sources="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"/> <route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
</routes> </routes>

View file

@ -181,11 +181,11 @@
<route type="mix" sink="USB Headset Out" <route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/> sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="BT SCO" <route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset" <route type="mix" sink="BT SCO Headset"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Car Kit" <route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" /> <route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
<route type="mix" sink="primary input" <route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
@ -196,9 +196,9 @@
<route type="mix" sink="voip_tx" <route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="fast input" <route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="mmap_no_irq_in" <route type="mix" sink="mmap_no_irq_in"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hifi_input" sources="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"/> <route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
</routes> </routes>

View file

@ -181,11 +181,11 @@
<route type="mix" sink="USB Headset Out" <route type="mix" sink="USB Headset Out"
sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/> sources="primary output,deep buffer,haptic,raw,compressed_offload,mmap_no_irq_out,voip_rx,hifi_playback"/>
<route type="mix" sink="BT SCO" <route type="mix" sink="BT SCO"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Headset" <route type="mix" sink="BT SCO Headset"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="BT SCO Car Kit" <route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/> sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" /> <route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
<route type="mix" sink="primary input" <route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
@ -196,9 +196,9 @@
<route type="mix" sink="voip_tx" <route type="mix" sink="voip_tx"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="fast input" <route type="mix" sink="fast input"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="mmap_no_irq_in" <route type="mix" sink="mmap_no_irq_in"
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/> sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
<route type="mix" sink="hifi_input" sources="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"/> <route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
</routes> </routes>

View file

@ -146,6 +146,7 @@
<ctl name="BT_RX Mixer EP7" value="0"/> <ctl name="BT_RX Mixer EP7" value="0"/>
<ctl name="BT_RX Mixer NoHost1" value="0"/> <ctl name="BT_RX Mixer NoHost1" value="0"/>
<ctl name="BT_RX Mixer VOIP" value="0"/> <ctl name="BT_RX Mixer VOIP" value="0"/>
<ctl name="BT_RX Mixer RAW" value="0"/>
<ctl name="INCALL_RX Mixer EP1" value="0"/> <ctl name="INCALL_RX Mixer EP1" value="0"/>
<ctl name="INCALL_RX Mixer EP2" value="0"/> <ctl name="INCALL_RX Mixer EP2" value="0"/>
@ -380,6 +381,10 @@
<ctl name="USB_RX Mixer RAW" value="1"/> <ctl name="USB_RX Mixer RAW" value="1"/>
</path> </path>
<path name="raw-playbackP bt">
<ctl name="BT_RX Mixer RAW" value="1"/>
</path>
<path name="raw-playbackP hearing-aid"> <path name="raw-playbackP hearing-aid">
</path> </path>
@ -394,6 +399,10 @@
<ctl name="USB_RX Mixer EP1" value="1"/> <ctl name="USB_RX Mixer EP1" value="1"/>
</path> </path>
<path name="mmap-playbackP bt">
<ctl name="BT_RX Mixer EP1" value="1"/>
</path>
<path name="mmap-playbackP usb-tty-full"> <path name="mmap-playbackP usb-tty-full">
</path> </path>
@ -588,6 +597,10 @@
<ctl name="EP3 TX Mixer USB_TX" value="1"/> <ctl name="EP3 TX Mixer USB_TX" value="1"/>
</path> </path>
<path name="low-latency-recordC bt-mic">
<ctl name="EP3 TX Mixer BT_TX" value="1"/>
</path>
<path name="mmap-recordC"> <path name="mmap-recordC">
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1"/> <ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1"/>
</path> </path>
@ -596,6 +609,10 @@
<ctl name="EP2 TX Mixer USB_TX" value="1"/> <ctl name="EP2 TX Mixer USB_TX" value="1"/>
</path> </path>
<path name="mmap-recordC bt-mic">
<ctl name="EP2 TX Mixer BT_TX" value="1"/>
</path>
<!-- codec setting -->> <!-- codec setting -->>
<!-- Rx device --> <!-- Rx device -->
<path name="handset"> <path name="handset">

View file

@ -20,6 +20,15 @@ else
TARGET_SCREEN_DENSITY := 420 TARGET_SCREEN_DENSITY := 420
endif endif
# Enable load module in parallel
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
# The modules which need to be loaded in sequential
BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1
BOARD_KERNEL_CMDLINE += g2d.load_sequential=1
TARGET_BOARD_INFO_FILE := device/google/bluejay/board-info.txt TARGET_BOARD_INFO_FILE := device/google/bluejay/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := bluejay TARGET_BOOTLOADER_BOARD_NAME := bluejay
USES_DEVICE_GOOGLE_BLUEJAY := true USES_DEVICE_GOOGLE_BLUEJAY := true

View file

@ -169,9 +169,6 @@
<!-- The max vibration strength allowed in audio haptic channels. --> <!-- The max vibration strength allowed in audio haptic channels. -->
<item name="config_hapticChannelMaxVibrationAmplitude" format="float" type="dimen">0.32</item> <item name="config_hapticChannelMaxVibrationAmplitude" format="float" type="dimen">0.32</item>
<!-- the number of the max cached processes in the system. -->
<integer name="config_customizedMaxCachedProcesses">64</integer>
<integer-array name="config_ambientThresholdLevels"> <integer-array name="config_ambientThresholdLevels">
<item>2</item> <item>2</item>
<item>3</item> <item>3</item>
@ -264,4 +261,17 @@
<!-- Boolean indicating if restoring network selection should be skipped --> <!-- Boolean indicating if restoring network selection should be skipped -->
<!-- The restoring is handled by modem if it is true --> <!-- The restoring is handled by modem if it is true -->
<bool translatable="false" name="skip_restoring_network_selection">true</bool> <bool translatable="false" name="skip_restoring_network_selection">true</bool>
<!-- A string config in svg path format for the main display shape.
(@see https://www.w3.org/TR/SVG/paths.html#PathData).
This config must be set unless:
1. {@link Configuration#isScreenRound} is true which means the display shape is circular
and the system will auto-generate a circular shape.
2. The display has no rounded corner and the system will auto-generate a rectangular shape.
(@see DisplayShape#createDefaultDisplayShape)
Note: If the display supports multiple resolutions, please define the path config based on
the highest resolution so that it can be scaled correctly in each resolution. -->
<string name="config_mainDisplayShape">M 50 0 C 42.768298 0.20918843 40.38325 0.67140492 36.839844 1.4492188 C 32.88207 2.499408 31.55228 2.9412067 27.529297 4.6933594 C 22.757243 6.7717586 20.051023 9.0487475 17.677734 10.873047 C 14.896398 13.14348 12.520098 15.642526 10.375 18.316406 C 7.8943843 21.48606 6.0935469 24.386022 4.3515625 28.15625 C 1.8145748 33.95665 1.4214109 36.446413 0.90625 38.939453 C 0.29310087 41.906691 0.090606668 43.961689 0 50 L 0 2350 C 0.083036414 2356.0047 0.27049146 2357.7278 0.70507812 2360.4961 C 1.0552946 2362.727 1.7787856 2366.4728 4.1152344 2372.0391 C 5.8274884 2375.87 7.608122 2378.6647 10.011719 2381.8281 C 12.156817 2384.5019 14.6796 2387.128 17.460938 2389.3984 C 19.82277 2391.2952 22.788288 2393.4515 27.306641 2395.5898 C 30.772461 2397.23 33.05157 2397.9241 37.181641 2398.8828 C 41.654968 2399.8035 43.840728 2399.9069 50 2400 L 1030 2400 C 1036.1593 2399.9069 1038.345 2399.8035 1042.8184 2398.8828 C 1046.9485 2397.9241 1049.2276 2397.23 1052.6934 2395.5898 C 1057.2118 2393.4515 1060.1773 2391.2952 1062.5391 2389.3984 C 1065.3205 2387.128 1067.8432 2384.5019 1069.9883 2381.8281 C 1072.3919 2378.6647 1074.1725 2375.87 1075.8848 2372.0391 C 1078.2212 2366.4728 1078.9466 2362.727 1079.2969 2360.4961 C 1079.7314 2357.7278 1079.917 2356.0047 1080 2350 L 1080 50 C 1079.909 43.961692 1079.7068 41.906687 1079.0938 38.939453 C 1078.5787 36.446409 1078.1854 33.956648 1075.6484 28.15625 C 1073.9064 24.386018 1072.1057 21.48606 1069.625 18.316406 C 1067.4799 15.642522 1065.1037 13.143473 1062.3223 10.873047 C 1059.949 9.0487409 1057.2428 6.7717652 1052.4707 4.6933594 C 1048.4477 2.9412128 1047.118 2.4994066 1043.1602 1.4492188 C 1039.6168 0.67140026 1037.2317 0.20918958 1030 0 L 50 0 z </string>
</resources> </resources>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2023, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License")
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<irq-device-map>
<device name="rtc-alarm0">
<subsystem>Alarm</subsystem>
</device>
<device name="dhdpcie_host_wake">
<subsystem>Wifi</subsystem>
</device>
<device name="cp2ap_wakeup">
<subsystem>Cellular_data</subsystem>
</device>
<device name="MAILBOX_AOC2APxE00">
<subsystem>Sound_trigger</subsystem>
</device>
<device name="MAILBOX_AOC2APx100">
<subsystem>Sensor</subsystem>
</device>
</irq-device-map>

View file

@ -49,10 +49,6 @@
<!-- Padding for the lock icon on the keyguard. In pixels - should not scale with display size. --> <!-- Padding for the lock icon on the keyguard. In pixels - should not scale with display size. -->
<dimen name="lock_icon_padding">56px</dimen> <dimen name="lock_icon_padding">56px</dimen>
<!-- Alpha in duration in ms for the auth ripple to become fully vislble.
If set to 0, it is immediately visible, which is desired for devices supporting UDFPS. -->
<integer name="auth_ripple_alpha_in_duration">0</integer>
<!-- Offset should not be more than 1mm --> <!-- Offset should not be more than 1mm -->
<dimen name="udfps_burn_in_offset_y">16px</dimen> <dimen name="udfps_burn_in_offset_y">16px</dimen>
</resources> </resources>

View file

@ -21,4 +21,15 @@
<item>GX7AS</item> <item>GX7AS</item>
<item>GB17L</item> <item>GB17L</item>
</string-array> </string-array>
<bool name="tag_intent_app_pref_supported">true</bool>
<!-- NFC Antenna Location API -->
<integer name="device_width">70</integer>
<integer name="device_height">150</integer>
<bool name="device_foldable">false</bool>
<integer-array name="antenna_x">
<item>36</item>
</integer-array>
<integer-array name="antenna_y">
<item>83</item>
</integer-array>
</resources> </resources>

View file

@ -14,10 +14,6 @@ on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_complet
write /sys/class/spi_master/spi11/spi11.0/glove_mode 01 write /sys/class/spi_master/spi11/spi11.0/glove_mode 01
on post-fs-data on post-fs-data
# Fingerprint
chown system system /dev/goodix_fp
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
# Speaker amp permission # Speaker amp permission
chmod 644 /mnt/vendor/persist/audio/speaker.cal chmod 644 /mnt/vendor/persist/audio/speaker.cal
@ -31,10 +27,23 @@ on property:sys.retaildemo.enabled=1
setprop persist.vendor.charge.stop.level 35 setprop persist.vendor.charge.stop.level 35
setprop persist.vendor.charge.start.level 30 setprop persist.vendor.charge.start.level 30
# Override SF and RE uclamps to 0 on boot after being set elsewhere, for adpf cpu hints # Haptics
on property:sys.boot_completed=1 on property:vendor.all.modules.ready=1
trigger override-sf-uclamp mkdir /mnt/vendor/persist/haptics 0770 system system
chmod 770 /mnt/vendor/persist/haptics
chmod 440 /mnt/vendor/persist/haptics/cs40l26.cal
chown system system /mnt/vendor/persist/haptics
chown system system /mnt/vendor/persist/haptics/cs40l26.cal
on override-sf-uclamp chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/f0_stored
write /proc/vendor_sched/rt_uclamp_min 0 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/q_stored
write /proc/vendor_sched/sf_uclamp_min 0 chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/redc_stored
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/vibe_state
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/num_waves
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/f0_offset
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/owt_free_space
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/f0_comp_enable
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/redc_comp_enable
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/default/delay_before_stop_playback_us
enable vendor.vibrator.cs40l26

View file

@ -20,20 +20,7 @@ on early-boot
wait_for_prop vendor.common.modules.ready 1 wait_for_prop vendor.common.modules.ready 1
start insmod_sh_blueport start insmod_sh_blueport
# Overrides fingerprint antispoof if following persist sysprops are set service insmod_sh_blueport /vendor/bin/insmod.sh /vendor/etc/init.insmod.${ro.hardware}.cfg
on boot && property:ro.build.type=userdebug && \
property:persist.vendor.fingerprint.disable.fake.override=0
setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override}
on boot && property:ro.build.type=userdebug && \
property:persist.vendor.fingerprint.disable.fake.override=1
setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override}
on boot && property:ro.build.type=userdebug && \
property:persist.vendor.fingerprint.disable.fake.override=100
setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override}
service insmod_sh_blueport /vendor/bin/init.insmod.sh /vendor/etc/init.insmod.${ro.hardware}.cfg
class main class main
user root user root
group root system group root system

View file

@ -34,7 +34,8 @@ include device/google/gs101/device-shipping-common.mk
include device/google/gs101/fingerprint/udfps_common.mk include device/google/gs101/fingerprint/udfps_common.mk
include device/google/gs101/telephony/pktrouter.mk include device/google/gs101/telephony/pktrouter.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs101/bluetooth/bluetooth.mk include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/touch/stm/stm11.mk
ifeq ($(filter factory_bluejay, $(TARGET_PRODUCT)),) ifeq ($(filter factory_bluejay, $(TARGET_PRODUCT)),)
include device/google/gs101/fingerprint/udfps_shipping.mk include device/google/gs101/fingerprint/udfps_shipping.mk
@ -122,17 +123,19 @@ PRODUCT_SOONG_NAMESPACES += \
# Increment the SVN for any official public releases # Increment the SVN for any official public releases
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=35 ro.vendor.build.svn=40
# DCK properties based on target # DCK properties based on target
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=2 ro.gms.dck.eligible_wcc=2 \
ro.gms.dck.se_capability=1
# Trusty liboemcrypto.so # Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/bluejay/prebuilts PRODUCT_SOONG_NAMESPACES += vendor/google_devices/bluejay/prebuilts
# Display LBE # Display
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=0
# Bluetooth Hal Extension test tools # Bluetooth Hal Extension test tools
PRODUCT_PACKAGES_DEBUG += \ PRODUCT_PACKAGES_DEBUG += \
@ -157,10 +160,6 @@ PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true \ persist.bluetooth.a2dp_aac.vbr_supported=true \
persist.bluetooth.firmware.selection=BCM.hcd persist.bluetooth.firmware.selection=BCM.hcd
# Bluetooth HAL
PRODUCT_PACKAGES += \
bt_vendor.conf
# Set zram size # Set zram size
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
vendor.zram.size=3g vendor.zram.size=3g
@ -223,10 +222,16 @@ endif
PRODUCT_SHIPPING_API_LEVEL := 32 PRODUCT_SHIPPING_API_LEVEL := 32
# Vibrator HAL # Vibrator HAL
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.supported_primitives=243 \ ro.vendor.vibrator.hal.supported_primitives=243 \
ro.vendor.vibrator.hal.f0.comp.enabled=0 \ ro.vendor.vibrator.hal.f0.comp.enabled=0 \
ro.vendor.vibrator.hal.redc.comp.enabled=0 ro.vendor.vibrator.hal.redc.comp.enabled=0 \
persist.vendor.vibrator.hal.context.enable=false \
persist.vendor.vibrator.hal.context.scale=40 \
persist.vendor.vibrator.hal.context.fade=true \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000
# Device features # Device features
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
@ -235,8 +240,9 @@ PRODUCT_COPY_FILES += \
# Keyboard bottom padding in dp for portrait mode and height ratio # Keyboard bottom padding in dp for portrait mode and height ratio
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
ro.com.google.ime.kb_pad_port_b=6.4 \ ro.com.google.ime.kb_pad_port_b=6.4 \
PRODUCT_PRODUCT_PROPERTIES ?= \
ro.com.google.ime.height_ratio=1.05 ro.com.google.ime.height_ratio=1.05
# Enable adpf cpu hint session for SurfaceFlinger # UFS: the script is used to select the corresponding firmware to run FFU.
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ PRODUCT_PACKAGES += ufs_firmware_update.sh
debug.sf.enable_adpf_cpu_hint=true

View file

@ -85,6 +85,7 @@
EnableOnChipStopNotification="2" EnableOnChipStopNotification="2"
PowerMode="3" PowerMode="3"
MinGpsWeekNumber="2216" MinGpsWeekNumber="2216"
OnChipAccMask="50"
/> />
<gll_features <gll_features

View file

@ -84,6 +84,7 @@
EnableOnChipStopNotification="false" EnableOnChipStopNotification="false"
PowerMode="3" PowerMode="3"
MinGpsWeekNumber="2216" MinGpsWeekNumber="2216"
OnChipAccMask="50"
/> />
<gll_features <gll_features

View file

@ -8,8 +8,7 @@
# Modules here will be loaded *after* all common modules # Modules here will be loaded *after* all common modules
modprobe|bcmdhd4389.ko modprobe|bcmdhd4389.ko
modprobe|snd-soc-cs35l41-i2c.ko modprobe|snd-soc-cs35l41-i2c.ko
modprobe|cl_dsp.ko modprobe|cs40l26-i2c.ko
modprobe|input-cs40l26-i2c.ko
modprobe|ftm5.ko modprobe|ftm5.ko
modprobe|sec_touch.ko modprobe|sec_touch.ko
modprobe|snd-soc-cs40l26.ko modprobe|snd-soc-cs40l26.ko

View file

@ -130,6 +130,16 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUDVFSHeadroom",
"Path": "/proc/vendor_sched/dvfs_headroom",
"Values": [
"1280",
"1100 1078 1024"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{ {
"Name": "MIFTargetLoad", "Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@ -143,7 +153,7 @@
"Name": "TAUClampBoost", "Name": "TAUClampBoost",
"Path": "/proc/vendor_sched/ta_uclamp_min", "Path": "/proc/vendor_sched/ta_uclamp_min",
"Values": [ "Values": [
"553", "692",
"1" "1"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -152,7 +162,7 @@
"Name": "FGUClampBoost", "Name": "FGUClampBoost",
"Path": "/proc/vendor_sched/fg_uclamp_min", "Path": "/proc/vendor_sched/fg_uclamp_min",
"Values": [ "Values": [
"161", "202",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -161,8 +171,8 @@
"Name": "MLUclampBoost", "Name": "MLUclampBoost",
"Path": "/proc/vendor_sched/nnapi_uclamp_min", "Path": "/proc/vendor_sched/nnapi_uclamp_min",
"Values": [ "Values": [
"180", "225",
"512" "640"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -480,6 +490,16 @@
"0,1,2,3,4,5,6,7" "0,1,2,3,4,5,6,7"
], ],
"Type": "Property" "Type": "Property"
},
{
"Name": "Dex2oatGroup",
"Path": "/proc/vendor_sched/dex2oat_ug",
"Values": [
"1",
"0"
],
"DefaultIndex": 0,
"ResetOnInit": true
} }
], ],
"Actions": [ "Actions": [
@ -541,13 +561,13 @@
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "TAUClampBoost", "Node": "TAUClampBoost",
"Duration": 5000, "Duration": 5000,
"Value": "553" "Value": "692"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "FGUClampBoost", "Node": "FGUClampBoost",
"Duration": 5000, "Duration": 5000,
"Value": "161" "Value": "202"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -614,6 +634,12 @@
"Duration": 2000, "Duration": 2000,
"Value": "9999999" "Value": "9999999"
}, },
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "MemFreq",
"Duration": 33,
"Value": "1014000"
},
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq", "Node": "MemFreq",
@ -968,6 +994,12 @@
"Duration": 0, "Duration": 0,
"Value": "1100 1078 1024" "Value": "1100 1078 1024"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1100 1078 1024"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
@ -1438,353 +1470,383 @@
"Value": "400000" "Value": "400000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL", "Node": "PMU_POLL",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "BigControlTempSet", "Node": "BigControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "MidControlTempSet", "Node": "MidControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "LittleControlTempSet", "Node": "LittleControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "G3dControlTempSet", "Node": "G3dControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "BigSwitchOnTempSet", "Node": "BigSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "MidSwitchOnTempSet", "Node": "MidSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "LittleSwitchOnTempSet", "Node": "LittleSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "G3dSwitchOnTempSet", "Node": "G3dSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "Dex2oatThreads", "Node": "Dex2oatThreads",
"Duration": 0, "Duration": 0,
"Value": "6" "Value": "6"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "Dex2oatCPUSet", "Node": "Dex2oatCPUSet",
"Duration": 0, "Duration": 0,
"Value": "0,1,2,3,4,5" "Value": "0,1,2,3,4,5"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "Dex2oatGroup",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "PMU_POLL", "Node": "PMU_POLL",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "BigControlTempSet", "Node": "BigControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "MidControlTempSet", "Node": "MidControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "LittleControlTempSet", "Node": "LittleControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "G3dControlTempSet", "Node": "G3dControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "BigSwitchOnTempSet", "Node": "BigSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "MidSwitchOnTempSet", "Node": "MidSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "LittleSwitchOnTempSet", "Node": "LittleSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "G3dSwitchOnTempSet", "Node": "G3dSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "Dex2oatThreads", "Node": "Dex2oatThreads",
"Duration": 0, "Duration": 0,
"Value": "4" "Value": "4"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "Dex2oatCPUSet", "Node": "Dex2oatCPUSet",
"Duration": 0, "Duration": 0,
"Value": "0,1,2,3" "Value": "0,1,2,3"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "Dex2oatGroup",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "PMU_POLL", "Node": "PMU_POLL",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "BigControlTempSet", "Node": "BigControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "MidControlTempSet", "Node": "MidControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "LittleControlTempSet", "Node": "LittleControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "G3dControlTempSet", "Node": "G3dControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "BigSwitchOnTempSet", "Node": "BigSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "MidSwitchOnTempSet", "Node": "MidSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "LittleSwitchOnTempSet", "Node": "LittleSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "G3dSwitchOnTempSet", "Node": "G3dSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "Dex2oatThreads", "Node": "Dex2oatThreads",
"Duration": 0, "Duration": 0,
"Value": "4" "Value": "4"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "Dex2oatCPUSet", "Node": "Dex2oatCPUSet",
"Duration": 0, "Duration": 0,
"Value": "0,1,2,3" "Value": "0,1,2,3"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "PMU_POLL", "Node": "PMU_POLL",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "Dex2oatGroup",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "BigControlTempSet", "Node": "BigControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "MidControlTempSet", "Node": "MidControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "LittleControlTempSet", "Node": "LittleControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "G3dControlTempSet", "Node": "G3dControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "BigSwitchOnTempSet", "Node": "BigSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "MidSwitchOnTempSet", "Node": "MidSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "LittleSwitchOnTempSet", "Node": "LittleSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "G3dSwitchOnTempSet", "Node": "G3dSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "Dex2oatThreads", "Node": "Dex2oatThreads",
"Duration": 0, "Duration": 0,
"Value": "2" "Value": "2"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "Dex2oatCPUSet", "Node": "Dex2oatCPUSet",
"Duration": 0, "Duration": 0,
"Value": "0,1,2,3" "Value": "0,1,2,3"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "Dex2oatGroup",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "PMU_POLL", "Node": "PMU_POLL",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "CPU_LITTLE_TSKIN_BYPASS", "Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "CPU_MID_TSKIN_BYPASS", "Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "CPU_BIG_TSKIN_BYPASS", "Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "BigControlTempSet", "Node": "BigControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "MidControlTempSet", "Node": "MidControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "LittleControlTempSet", "Node": "LittleControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "G3dControlTempSet", "Node": "G3dControlTempSet",
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "BigSwitchOnTempSet", "Node": "BigSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "MidSwitchOnTempSet", "Node": "MidSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "LittleSwitchOnTempSet", "Node": "LittleSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "G3dSwitchOnTempSet", "Node": "G3dSwitchOnTempSet",
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "Dex2oatThreads", "Node": "Dex2oatThreads",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "Dex2oatCPUSet", "Node": "Dex2oatCPUSet",
"Duration": 0, "Duration": 0,
"Value": "0,1,2,3" "Value": "0,1,2,3"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "Dex2oatGroup",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "FACE_UNLOCK_BOOST", "PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_LITTLE_TSKIN_BYPASS", "Node": "CPU_LITTLE_TSKIN_BYPASS",
@ -1849,7 +1911,7 @@
"PowerHint": "ML_ACC", "PowerHint": "ML_ACC",
"Node": "MLUclampBoost", "Node": "MLUclampBoost",
"Duration": 2000, "Duration": 2000,
"Value": "512" "Value": "640"
} }
], ],
"AdpfConfig": [ "AdpfConfig": [
@ -1865,8 +1927,8 @@
"PID_Do": 500.0, "PID_Do": 500.0,
"PID_Du": 0.0, "PID_Du": 0.0,
"UclampMin_On": true, "UclampMin_On": true,
"UclampMin_Init": 185, "UclampMin_Init": 232,
"UclampMin_High": 384, "UclampMin_High": 480,
"UclampMin_Low": 2, "UclampMin_Low": 2,
"SamplingWindow_P": 1, "SamplingWindow_P": 1,
"SamplingWindow_I": 0, "SamplingWindow_I": 0,
@ -1889,8 +1951,8 @@
"PID_Do": 500.0, "PID_Do": 500.0,
"PID_Du": 0.0, "PID_Du": 0.0,
"UclampMin_On": true, "UclampMin_On": true,
"UclampMin_Init": 129, "UclampMin_Init": 162,
"UclampMin_High": 384, "UclampMin_High": 480,
"UclampMin_Low": 2, "UclampMin_Low": 2,
"SamplingWindow_P": 1, "SamplingWindow_P": 1,
"SamplingWindow_I": 0, "SamplingWindow_I": 0,
@ -1913,8 +1975,8 @@
"PID_Do": 500.0, "PID_Do": 500.0,
"PID_Du": 0.0, "PID_Du": 0.0,
"UclampMin_On": true, "UclampMin_On": true,
"UclampMin_Init": 129, "UclampMin_Init": 162,
"UclampMin_High": 384, "UclampMin_High": 480,
"UclampMin_Low": 2, "UclampMin_Low": 2,
"SamplingWindow_P": 1, "SamplingWindow_P": 1,
"SamplingWindow_I": 0, "SamplingWindow_I": 0,
@ -1940,9 +2002,9 @@
"SamplingWindow_I": 1, "SamplingWindow_I": 1,
"SamplingWindow_D": 1, "SamplingWindow_D": 1,
"UclampMin_On": true, "UclampMin_On": true,
"UclampMin_Init": 200, "UclampMin_Init": 250,
"UclampMin_High": 157, "UclampMin_High": 197,
"UclampMin_Low": 157, "UclampMin_Low": 197,
"ReportingRateLimitNs": 1, "ReportingRateLimitNs": 1,
"EarlyBoost_On": false, "EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0, "EarlyBoost_TimeFactor": 0.0,
@ -1964,9 +2026,9 @@
"SamplingWindow_I": 1, "SamplingWindow_I": 1,
"SamplingWindow_D": 1, "SamplingWindow_D": 1,
"UclampMin_On": true, "UclampMin_On": true,
"UclampMin_Init": 200, "UclampMin_Init": 250,
"UclampMin_High": 42, "UclampMin_High": 53,
"UclampMin_Low": 42, "UclampMin_Low": 53,
"ReportingRateLimitNs": 1, "ReportingRateLimitNs": 1,
"EarlyBoost_On": false, "EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0, "EarlyBoost_TimeFactor": 0.0,
@ -1988,7 +2050,7 @@
"SamplingWindow_I": 1, "SamplingWindow_I": 1,
"SamplingWindow_D": 1, "SamplingWindow_D": 1,
"UclampMin_On": true, "UclampMin_On": true,
"UclampMin_Init": 200, "UclampMin_Init": 250,
"UclampMin_High": 0, "UclampMin_High": 0,
"UclampMin_Low": 0, "UclampMin_Low": 0,
"ReportingRateLimitNs": 1, "ReportingRateLimitNs": 1,

27
storage/Android.bp Normal file
View file

@ -0,0 +1,27 @@
//
// Copyright (C) 2017 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.
package {
default_applicable_licenses: [
"//device/google/bluejay:device_google_bluejay_license",
],
}
sh_binary {
name: "ufs_firmware_update.sh",
src: "ufs_firmware_update.sh",
init_rc: ["storage.bluejay.rc"],
vendor: true,
}

View file

@ -0,0 +1,7 @@
on property:sys.boot_completed=1
# Copy ufs firmware to disk
start ufs_firmware_update
service ufs_firmware_update /vendor/bin/ufs_firmware_update.sh
disabled
oneshot

19
storage/ufs_firmware_update.sh Executable file
View file

@ -0,0 +1,19 @@
#!/vendor/bin/sh
#
# The script belongs to the feature of UFS FFU via OTA: go/p23-ffu-ota
# Its purpose is to copy the corresponding firmware into partition for UFS FFU.
ufs_dev="/dev/sys/block/bootdevice"
fw_dir="/vendor/firmware"
blk_dev="/dev/block/by-name/fips"
vendor=$(cat ${ufs_dev}/vendor | tr -d "[:space:]")
model=$(cat ${ufs_dev}/model | tr -d "[:space:]")
rev=$(cat ${ufs_dev}/rev | tr -d "[:space:]")
file=$(find ${fw_dir} -name "*${vendor}${model}${rev}*" | head -n 1)
if [ -n "$file" ]; then
# The first 4KB block at fips partition has been occupied, and unused space begins from 4 KB
# Refer to: go/pixel-mp-ffu-ota-1p
dd if="$file" of=$blk_dev bs=4k seek=1
fi

View file

@ -238,91 +238,155 @@
"VirtualSensor":true, "VirtualSensor":true,
"TriggerSensor":"neutral_therm", "TriggerSensor":"neutral_therm",
"Formula":"MAXIMUM", "Formula":"MAXIMUM",
"Combination":[ "Combination":["VIRTUAL-NEUTRAL-SKIN2", "VIRTUAL-NEUTRAL", "VIRTUAL-QUIET-NEUTRAL"],
"VIRTUAL-NEUTRAL-SKIN2", "Coefficient":["1.0", "1.0", "1.0"],
"VIRTUAL-NEUTRAL", "HotThreshold":["NAN", "39.0", "43.0", "45.0", "47.0", "52.0", "55.0"],
"VIRTUAL-QUIET-NEUTRAL" "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
],
"Coefficient":[
"1.0",
"1.0",
"1.0"
],
"HotThreshold":[
"NAN",
"39.0",
"43.0",
"45.0",
"47.0",
"52.0",
"55.0"
],
"HotHysteresis":[
"0.0",
"1.9",
"1.9",
"1.9",
"1.9",
"1.9",
"1.9"
],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":0.001, "Multiplier":0.001,
"SendPowerHint":true,
"Monitor":true, "Monitor":true,
"PollingDelay":300000, "PollingDelay":300000,
"PassiveDelay":7000, "PassiveDelay":7000,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
}
]
},
{
"Name":"VIRTUAL-SKIN-HINT",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"neutral_therm",
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-NEUTRAL-SKIN2", "VIRTUAL-NEUTRAL", "VIRTUAL-QUIET-NEUTRAL"],
"Coefficient":["1.0", "1.0", "1.0"],
"HotThreshold":["NAN", 37.0, 43.0, 45.0, 47.0, 52.0, 55.0],
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
"Multiplier":0.001,
"SendPowerHint":true,
"PollingDelay":300000,
"PassiveDelay":7000
},
{
"Name":"VIRTUAL-SKIN-CPU",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"neutral_therm",
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-NEUTRAL-SKIN2", "VIRTUAL-NEUTRAL", "VIRTUAL-QUIET-NEUTRAL"],
"Coefficient":["1.0", "1.0", "1.0"],
"HotThreshold":["NAN", 37.0, 39.0, 41.0, 46.5, 52.0, 140.0],
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000,
"PIDInfo": { "PIDInfo": {
"K_Po":["NAN", "NAN", 1500, 1500, "NAN", "NAN", "NAN"], "K_Po":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
"K_Pu":["NAN", "NAN", 1500, 750, "NAN", "NAN", "NAN"], "K_Pu":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
"K_I":["NAN", "NAN", 20, 0, "NAN", "NAN", "NAN"], "K_I":["NAN", "NAN", "NAN", 5, "NAN", "NAN", "NAN"],
"K_D":["NAN", "NAN", 10, 0, "NAN", "NAN", "NAN"], "K_D":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
"I_Max":["NAN", "NAN", 1000, 0, "NAN", "NAN", "NAN"], "I_Max":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
"S_Power":["NAN", "NAN", 3500, 2000, "NAN", "NAN", "NAN"], "S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
"MinAllocPower":["NAN", "NAN", 2500, 1500, "NAN", "NAN", "NAN"], "MinAllocPower":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", 9500, 3000, "NAN", "NAN", "NAN"], "MaxAllocPower":["NAN", "NAN", "NAN", 10000, "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", 2, 0, "NAN", "NAN", "NAN"] "I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
}, },
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "thermal-cpufreq-0", "CdevRequest": "thermal-cpufreq-0",
"CdevWeightForPID": [0.085, 0.085, 0.085, 0.064, 0.085, 0.085, 0.085], "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"CdevCeiling": [3, 3, 6, 7, 8, 10, 10], "MaxReleaseStep": 1,
"LimitInfo": [0, 0, 0, 0, 8, 10, 10], "MaxThrottleStep": 1,
"BindedPowerRail": "S4M_VDD_CPUCL0", "BindedPowerRail": "S4M_VDD_CPUCL0",
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0], "CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
"ReleaseLogic": "DECREASE" "LimitInfo": [0, 0, 0, 0, 8, 10, 10]
}, },
{ {
"CdevRequest": "thermal-cpufreq-1", "CdevRequest": "thermal-cpufreq-1",
"CdevWeightForPID": [0.08, 0.08, 0.08, 0.060, 0.08, 0.08, 0.08], "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"CdevCeiling": [7, 7, 8, 9, 11, 13, 13], "MaxReleaseStep": 1,
"LimitInfo": [0, 0, 0, 0, 11, 13, 13], "MaxThrottleStep": 1,
"BindedPowerRail": "S3M_VDD_CPUCL1", "BindedPowerRail": "S3M_VDD_CPUCL1",
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0], "CdevCeiling": [11, 11, 11, 11, 11, 13, 13],
"ReleaseLogic": "DECREASE" "LimitInfo": [0, 0, 0, 0, 11, 13, 13]
}, },
{ {
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"CdevWeightForPID": [0.38, 0.38, 0.38, 0.285, 0.38, 0.38, 0.38], "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"CdevCeiling": [11, 11, 14, 14, 14, 16, 16], "MaxReleaseStep": 1,
"LimitInfo": [0, 0, 0, 0, 14, 16, 16], "MaxThrottleStep": 1,
"BindedPowerRail": "S2M_VDD_CPUCL2", "BindedPowerRail": "S2M_VDD_CPUCL2",
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0], "CdevCeiling": [14, 14, 14, 14, 14, 16, 16],
"ReleaseLogic": "DECREASE" "LimitInfo": [0, 0, 0, 0, 14, 16, 16]
}
]
},
{
"Name":"VIRTUAL-SKIN-CPU-GPU",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"TriggerSensor":"neutral_therm",
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-NEUTRAL-SKIN2", "VIRTUAL-NEUTRAL", "VIRTUAL-QUIET-NEUTRAL"],
"Coefficient":["1.0", "1.0", "1.0"],
"HotThreshold":["NAN", 37.0, 43.0, 45.0, 46.5, 52.0, 140.0],
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000,
"PIDInfo": {
"K_Po":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
"K_Pu":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
"K_I":["NAN", "NAN", "NAN", 5, "NAN", "NAN", "NAN"],
"K_D":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
"I_Max":["NAN", "NAN", "NAN", 700, "NAN", "NAN", "NAN"],
"S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
"MinAllocPower":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", "NAN", 3900, "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
},
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"BindedPowerRail": "S4M_VDD_CPUCL0",
"CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
"LimitInfo": [0, 0, 0, 0, 8, 10, 10]
},
{
"CdevRequest": "thermal-cpufreq-1",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"BindedPowerRail": "S3M_VDD_CPUCL1",
"CdevCeiling": [11, 11, 11, 11, 11, 13, 13],
"LimitInfo": [0, 0, 0, 0, 11, 13, 13]
},
{
"CdevRequest": "thermal-cpufreq-2",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"BindedPowerRail": "S2M_VDD_CPUCL2",
"CdevCeiling": [14, 14, 14, 14, 14, 16, 16],
"LimitInfo": [0, 0, 0, 0, 14, 16, 16]
}, },
{ {
"CdevRequest": "thermal-gpufreq-0", "CdevRequest": "thermal-gpufreq-0",
"CdevWeightForPID": [0.455, 0.455, 0.455, 0.591, 0.455, 0.455, 0.455], "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"CdevCeiling": [7, 7, 8, 9, 10, 11, 11], "MaxReleaseStep": 1,
"LimitInfo": [0, 0, 0, 0, 10, 11, 11], "MaxThrottleStep": 1,
"BindedPowerRail": "S2S_VDD_G3D", "BindedPowerRail": "S2S_VDD_G3D",
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0], "CdevCeiling": [10, 10, 10, 10, 10, 11, 11],
"ReleaseLogic": "DECREASE" "LimitInfo": [0, 0, 0, 0, 10, 11, 11]
},
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
} }
] ]
}, },
@ -1076,23 +1140,23 @@
}, },
{ {
"Name":"S2M_VDD_CPUCL2", "Name":"S2M_VDD_CPUCL2",
"PowerSampleDelay":14000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":1
}, },
{ {
"Name":"S3M_VDD_CPUCL1", "Name":"S3M_VDD_CPUCL1",
"PowerSampleDelay":14000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":1
}, },
{ {
"Name":"S4M_VDD_CPUCL0", "Name":"S4M_VDD_CPUCL0",
"PowerSampleDelay":14000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":1
}, },
{ {
"Name":"S2S_VDD_G3D", "Name":"S2S_VDD_G3D",
"PowerSampleDelay":14000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":1
}, },
{ {
"Name":"S5M_VDD_INT" "Name":"S5M_VDD_INT"
@ -1122,8 +1186,28 @@
"1.0", "1.0",
"1.0" "1.0"
], ],
"PowerSampleDelay":14000, "PowerSampleDelay":7000,
"PowerSampleCount":5 "PowerSampleCount":1
}
],
"Stats": {
"Sensors": {
"RecordWithDefaultThreshold": ["VIRTUAL-SKIN"],
"RecordWithThreshold": [
{
"Name": "VIRTUAL-SKIN",
"Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
},
{
"Name": "VIRTUAL-USB-THROTTLING",
"Thresholds": [2.0]
} }
] ]
},
"CoolingDevices": {
"RecordVotePerSensor": {
"DefaultThresholdEnableAll": true
}
}
}
} }