Merge Android 14
Bug: 298295554 Merged-In: Iecbf06a898f2c57da1ec29f6e5eb35241a3ec4f3 Change-Id: I9a5965085ad017c52637497f38e34100e039c8cd
This commit is contained in:
commit
27a7db0162
21 changed files with 501 additions and 217 deletions
3
OWNERS
3
OWNERS
|
@ -1 +1,4 @@
|
|||
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
|
||||
|
|
|
@ -192,21 +192,21 @@
|
|||
<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"/>
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
|
||||
<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"
|
||||
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"
|
||||
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"/>
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
|
||||
<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"
|
||||
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="primary input"
|
||||
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"
|
||||
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"/>
|
||||
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"
|
||||
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="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
|
|
|
@ -181,11 +181,11 @@
|
|||
<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"/>
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
|
||||
<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"
|
||||
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="primary input"
|
||||
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"
|
||||
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"/>
|
||||
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"
|
||||
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="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
|
|
|
@ -181,11 +181,11 @@
|
|||
<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"/>
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx,raw,mmap_no_irq_out"/>
|
||||
<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"
|
||||
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="primary input"
|
||||
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"
|
||||
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"/>
|
||||
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"
|
||||
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="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
|
|
|
@ -146,6 +146,7 @@
|
|||
<ctl name="BT_RX Mixer EP7" value="0"/>
|
||||
<ctl name="BT_RX Mixer NoHost1" 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 EP2" value="0"/>
|
||||
|
@ -380,6 +381,10 @@
|
|||
<ctl name="USB_RX Mixer RAW" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP bt">
|
||||
<ctl name="BT_RX Mixer RAW" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
|
@ -394,6 +399,10 @@
|
|||
<ctl name="USB_RX Mixer EP1" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP bt">
|
||||
<ctl name="BT_RX Mixer EP1" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP usb-tty-full">
|
||||
</path>
|
||||
|
||||
|
@ -588,6 +597,10 @@
|
|||
<ctl name="EP3 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-recordC bt-mic">
|
||||
<ctl name="EP3 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-recordC">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
@ -596,6 +609,10 @@
|
|||
<ctl name="EP2 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-recordC bt-mic">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<!-- codec setting -->>
|
||||
<!-- Rx device -->
|
||||
<path name="handset">
|
||||
|
|
|
@ -20,6 +20,15 @@ else
|
|||
TARGET_SCREEN_DENSITY := 420
|
||||
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_BOOTLOADER_BOARD_NAME := bluejay
|
||||
USES_DEVICE_GOOGLE_BLUEJAY := true
|
||||
|
|
|
@ -169,9 +169,6 @@
|
|||
<!-- The max vibration strength allowed in audio haptic channels. -->
|
||||
<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">
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
|
@ -264,4 +261,17 @@
|
|||
<!-- 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>
|
||||
|
||||
<!-- 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>
|
||||
|
|
|
@ -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>
|
||||
|
|
@ -49,10 +49,6 @@
|
|||
<!-- Padding for the lock icon on the keyguard. In pixels - should not scale with display size. -->
|
||||
<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 -->
|
||||
<dimen name="udfps_burn_in_offset_y">16px</dimen>
|
||||
</resources>
|
||||
|
|
|
@ -21,4 +21,15 @@
|
|||
<item>GX7AS</item>
|
||||
<item>GB17L</item>
|
||||
</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>
|
||||
|
|
|
@ -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
|
||||
|
||||
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
|
||||
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.start.level 30
|
||||
|
||||
# Override SF and RE uclamps to 0 on boot after being set elsewhere, for adpf cpu hints
|
||||
on property:sys.boot_completed=1
|
||||
trigger override-sf-uclamp
|
||||
# Haptics
|
||||
on property:vendor.all.modules.ready=1
|
||||
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
|
||||
write /proc/vendor_sched/rt_uclamp_min 0
|
||||
write /proc/vendor_sched/sf_uclamp_min 0
|
||||
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/f0_stored
|
||||
chown system system /sys/bus/i2c/devices/i2c-cs40l26a/calibration/q_stored
|
||||
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
|
||||
|
|
|
@ -20,20 +20,7 @@ on early-boot
|
|||
wait_for_prop vendor.common.modules.ready 1
|
||||
start insmod_sh_blueport
|
||||
|
||||
# Overrides fingerprint antispoof if following persist sysprops are set
|
||||
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
|
||||
service insmod_sh_blueport /vendor/bin/insmod.sh /vendor/etc/init.insmod.${ro.hardware}.cfg
|
||||
class main
|
||||
user root
|
||||
group root system
|
||||
|
|
|
@ -34,7 +34,8 @@ 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/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)),)
|
||||
include device/google/gs101/fingerprint/udfps_shipping.mk
|
||||
|
@ -122,17 +123,19 @@ PRODUCT_SOONG_NAMESPACES += \
|
|||
|
||||
# Increment the SVN for any official public releases
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=37
|
||||
ro.vendor.build.svn=46
|
||||
|
||||
# DCK properties based on target
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.gms.dck.eligible_wcc=2
|
||||
ro.gms.dck.eligible_wcc=2 \
|
||||
ro.gms.dck.se_capability=1
|
||||
|
||||
# Trusty liboemcrypto.so
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/bluejay/prebuilts
|
||||
|
||||
# Display LBE
|
||||
# Display
|
||||
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
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
|
@ -157,10 +160,6 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
persist.bluetooth.a2dp_aac.vbr_supported=true \
|
||||
persist.bluetooth.firmware.selection=BCM.hcd
|
||||
|
||||
# Bluetooth HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
bt_vendor.conf
|
||||
|
||||
# Set zram size
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.zram.size=3g
|
||||
|
@ -223,10 +222,16 @@ endif
|
|||
PRODUCT_SHIPPING_API_LEVEL := 32
|
||||
|
||||
# Vibrator HAL
|
||||
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.vibrator.hal.supported_primitives=243 \
|
||||
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
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -235,8 +240,9 @@ PRODUCT_COPY_FILES += \
|
|||
# Keyboard bottom padding in dp for portrait mode and height ratio
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.com.google.ime.kb_pad_port_b=6.4 \
|
||||
|
||||
PRODUCT_PRODUCT_PROPERTIES ?= \
|
||||
ro.com.google.ime.height_ratio=1.05
|
||||
|
||||
# Enable adpf cpu hint session for SurfaceFlinger
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||
debug.sf.enable_adpf_cpu_hint=true
|
||||
# UFS: the script is used to select the corresponding firmware to run FFU.
|
||||
PRODUCT_PACKAGES += ufs_firmware_update.sh
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplOtdoaCapable2="true"
|
||||
SuplOtdoaCapable2="false"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
|
@ -85,6 +85,7 @@
|
|||
EnableOnChipStopNotification="2"
|
||||
PowerMode="3"
|
||||
MinGpsWeekNumber="2216"
|
||||
OnChipAccMask="50"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplOtdoaCapable2="true"
|
||||
SuplOtdoaCapable2="false"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
|
@ -84,6 +84,7 @@
|
|||
EnableOnChipStopNotification="false"
|
||||
PowerMode="3"
|
||||
MinGpsWeekNumber="2216"
|
||||
OnChipAccMask="50"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
# Modules here will be loaded *after* all common modules
|
||||
modprobe|bcmdhd4389.ko
|
||||
modprobe|snd-soc-cs35l41-i2c.ko
|
||||
modprobe|cl_dsp.ko
|
||||
modprobe|input-cs40l26-i2c.ko
|
||||
modprobe|cs40l26-i2c.ko
|
||||
modprobe|ftm5.ko
|
||||
modprobe|sec_touch.ko
|
||||
modprobe|snd-soc-cs40l26.ko
|
||||
|
|
218
powerhint.json
218
powerhint.json
|
@ -130,6 +130,16 @@
|
|||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUDVFSHeadroom",
|
||||
"Path": "/proc/vendor_sched/dvfs_headroom",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100 1078 1024"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MIFTargetLoad",
|
||||
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
|
||||
|
@ -143,7 +153,7 @@
|
|||
"Name": "TAUClampBoost",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"553",
|
||||
"692",
|
||||
"1"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
|
@ -152,7 +162,7 @@
|
|||
"Name": "FGUClampBoost",
|
||||
"Path": "/proc/vendor_sched/fg_uclamp_min",
|
||||
"Values": [
|
||||
"161",
|
||||
"202",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
|
@ -161,8 +171,8 @@
|
|||
"Name": "MLUclampBoost",
|
||||
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
|
||||
"Values": [
|
||||
"180",
|
||||
"512"
|
||||
"225",
|
||||
"640"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
|
@ -480,6 +490,16 @@
|
|||
"0,1,2,3,4,5,6,7"
|
||||
],
|
||||
"Type": "Property"
|
||||
},
|
||||
{
|
||||
"Name": "Dex2oatGroup",
|
||||
"Path": "/proc/vendor_sched/dex2oat_ug",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
|
@ -541,13 +561,13 @@
|
|||
"PowerHint": "LAUNCH",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "553"
|
||||
"Value": "692"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "FGUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "161"
|
||||
"Value": "202"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -614,6 +634,12 @@
|
|||
"Duration": 2000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CPU_LOAD_RESET",
|
||||
"Node": "MemFreq",
|
||||
"Duration": 33,
|
||||
"Value": "1014000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
@ -968,6 +994,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "1100 1078 1024"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUDVFSHeadroom",
|
||||
"Duration": 0,
|
||||
"Value": "1100 1078 1024"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
|
@ -1438,353 +1470,383 @@
|
|||
"Value": "400000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "BigControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "Dex2oatThreads",
|
||||
"Duration": 0,
|
||||
"Value": "6"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "Dex2oatCPUSet",
|
||||
"Duration": 0,
|
||||
"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",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "BigControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "Dex2oatThreads",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
|
||||
"Node": "Dex2oatCPUSet",
|
||||
"Duration": 0,
|
||||
"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",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "BigControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "Dex2oatThreads",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
|
||||
"Node": "Dex2oatCPUSet",
|
||||
"Duration": 0,
|
||||
"Value": "0,1,2,3"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "PMU_POLL",
|
||||
"Duration": 0,
|
||||
"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",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "Dex2oatThreads",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
|
||||
"Node": "Dex2oatCPUSet",
|
||||
"Duration": 0,
|
||||
"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",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "CPU_MID_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "BigControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "Dex2oatThreads",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "Dex2oatCPUSet",
|
||||
"Duration": 0,
|
||||
"Value": "0,1,2,3"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
|
||||
"Node": "Dex2oatGroup",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
|
@ -1849,7 +1911,7 @@
|
|||
"PowerHint": "ML_ACC",
|
||||
"Node": "MLUclampBoost",
|
||||
"Duration": 2000,
|
||||
"Value": "512"
|
||||
"Value": "640"
|
||||
}
|
||||
],
|
||||
"AdpfConfig": [
|
||||
|
@ -1865,8 +1927,8 @@
|
|||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 185,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Init": 232,
|
||||
"UclampMin_High": 480,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
|
@ -1889,8 +1951,8 @@
|
|||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Init": 162,
|
||||
"UclampMin_High": 480,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
|
@ -1913,8 +1975,8 @@
|
|||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 129,
|
||||
"UclampMin_High": 384,
|
||||
"UclampMin_Init": 162,
|
||||
"UclampMin_High": 480,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
|
@ -1940,9 +2002,9 @@
|
|||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 157,
|
||||
"UclampMin_Low": 157,
|
||||
"UclampMin_Init": 250,
|
||||
"UclampMin_High": 197,
|
||||
"UclampMin_Low": 197,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
|
@ -1964,9 +2026,9 @@
|
|||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_High": 42,
|
||||
"UclampMin_Low": 42,
|
||||
"UclampMin_Init": 250,
|
||||
"UclampMin_High": 53,
|
||||
"UclampMin_Low": 53,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
|
@ -1988,7 +2050,7 @@
|
|||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 200,
|
||||
"UclampMin_Init": 250,
|
||||
"UclampMin_High": 0,
|
||||
"UclampMin_Low": 0,
|
||||
"ReportingRateLimitNs": 1,
|
||||
|
|
27
storage/Android.bp
Normal file
27
storage/Android.bp
Normal 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,
|
||||
}
|
7
storage/storage.bluejay.rc
Normal file
7
storage/storage.bluejay.rc
Normal 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
19
storage/ufs_firmware_update.sh
Executable 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
|
|
@ -238,91 +238,155 @@
|
|||
"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",
|
||||
"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"
|
||||
],
|
||||
"Combination":["VIRTUAL-NEUTRAL-SKIN2", "VIRTUAL-NEUTRAL", "VIRTUAL-QUIET-NEUTRAL"],
|
||||
"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",
|
||||
"Multiplier":0.001,
|
||||
"SendPowerHint":true,
|
||||
"Monitor":true,
|
||||
"PollingDelay":300000,
|
||||
"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": {
|
||||
"K_Po":["NAN", "NAN", 1500, 1500, "NAN", "NAN", "NAN"],
|
||||
"K_Pu":["NAN", "NAN", 1500, 750, "NAN", "NAN", "NAN"],
|
||||
"K_I":["NAN", "NAN", 20, 0, "NAN", "NAN", "NAN"],
|
||||
"K_D":["NAN", "NAN", 10, 0, "NAN", "NAN", "NAN"],
|
||||
"I_Max":["NAN", "NAN", 1000, 0, "NAN", "NAN", "NAN"],
|
||||
"S_Power":["NAN", "NAN", 3500, 2000, "NAN", "NAN", "NAN"],
|
||||
"MinAllocPower":["NAN", "NAN", 2500, 1500, "NAN", "NAN", "NAN"],
|
||||
"MaxAllocPower":["NAN", "NAN", 9500, 3000, "NAN", "NAN", "NAN"],
|
||||
"I_Cutoff":["NAN", "NAN", 2, 0, "NAN", "NAN", "NAN"]
|
||||
"K_Po":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
|
||||
"K_Pu":["NAN", "NAN", "NAN", 400, "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", 300, "NAN", "NAN", "NAN"],
|
||||
"S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
|
||||
"MinAllocPower":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
|
||||
"MaxAllocPower":["NAN", "NAN", "NAN", 10000, "NAN", "NAN", "NAN"],
|
||||
"I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
|
||||
|
||||
},
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-0",
|
||||
"CdevWeightForPID": [0.085, 0.085, 0.085, 0.064, 0.085, 0.085, 0.085],
|
||||
"CdevCeiling": [3, 3, 6, 7, 8, 10, 10],
|
||||
"LimitInfo": [0, 0, 0, 0, 8, 10, 10],
|
||||
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
||||
"MaxReleaseStep": 1,
|
||||
"MaxThrottleStep": 1,
|
||||
"BindedPowerRail": "S4M_VDD_CPUCL0",
|
||||
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
|
||||
"ReleaseLogic": "DECREASE"
|
||||
"CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
|
||||
"LimitInfo": [0, 0, 0, 0, 8, 10, 10]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-1",
|
||||
"CdevWeightForPID": [0.08, 0.08, 0.08, 0.060, 0.08, 0.08, 0.08],
|
||||
"CdevCeiling": [7, 7, 8, 9, 11, 13, 13],
|
||||
"LimitInfo": [0, 0, 0, 0, 11, 13, 13],
|
||||
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
||||
"MaxReleaseStep": 1,
|
||||
"MaxThrottleStep": 1,
|
||||
"BindedPowerRail": "S3M_VDD_CPUCL1",
|
||||
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
|
||||
"ReleaseLogic": "DECREASE"
|
||||
"CdevCeiling": [11, 11, 11, 11, 11, 13, 13],
|
||||
"LimitInfo": [0, 0, 0, 0, 11, 13, 13]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"CdevWeightForPID": [0.38, 0.38, 0.38, 0.285, 0.38, 0.38, 0.38],
|
||||
"CdevCeiling": [11, 11, 14, 14, 14, 16, 16],
|
||||
"LimitInfo": [0, 0, 0, 0, 14, 16, 16],
|
||||
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
||||
"MaxReleaseStep": 1,
|
||||
"MaxThrottleStep": 1,
|
||||
"BindedPowerRail": "S2M_VDD_CPUCL2",
|
||||
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
|
||||
"ReleaseLogic": "DECREASE"
|
||||
"CdevCeiling": [14, 14, 14, 14, 14, 16, 16],
|
||||
"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",
|
||||
"CdevWeightForPID": [0.455, 0.455, 0.455, 0.591, 0.455, 0.455, 0.455],
|
||||
"CdevCeiling": [7, 7, 8, 9, 10, 11, 11],
|
||||
"LimitInfo": [0, 0, 0, 0, 10, 11, 11],
|
||||
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
||||
"MaxReleaseStep": 1,
|
||||
"MaxThrottleStep": 1,
|
||||
"BindedPowerRail": "S2S_VDD_G3D",
|
||||
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
|
||||
"ReleaseLogic": "DECREASE"
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
||||
"CdevCeiling": [10, 10, 10, 10, 10, 11, 11],
|
||||
"LimitInfo": [0, 0, 0, 0, 10, 11, 11]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1076,23 +1140,23 @@
|
|||
},
|
||||
{
|
||||
"Name":"S2M_VDD_CPUCL2",
|
||||
"PowerSampleDelay":14000,
|
||||
"PowerSampleCount":5
|
||||
"PowerSampleDelay":7000,
|
||||
"PowerSampleCount":1
|
||||
},
|
||||
{
|
||||
"Name":"S3M_VDD_CPUCL1",
|
||||
"PowerSampleDelay":14000,
|
||||
"PowerSampleCount":5
|
||||
"PowerSampleDelay":7000,
|
||||
"PowerSampleCount":1
|
||||
},
|
||||
{
|
||||
"Name":"S4M_VDD_CPUCL0",
|
||||
"PowerSampleDelay":14000,
|
||||
"PowerSampleCount":5
|
||||
"PowerSampleDelay":7000,
|
||||
"PowerSampleCount":1
|
||||
},
|
||||
{
|
||||
"Name":"S2S_VDD_G3D",
|
||||
"PowerSampleDelay":14000,
|
||||
"PowerSampleCount":5
|
||||
"PowerSampleDelay":7000,
|
||||
"PowerSampleCount":1
|
||||
},
|
||||
{
|
||||
"Name":"S5M_VDD_INT"
|
||||
|
@ -1122,8 +1186,28 @@
|
|||
"1.0",
|
||||
"1.0"
|
||||
],
|
||||
"PowerSampleDelay":14000,
|
||||
"PowerSampleCount":5
|
||||
"PowerSampleDelay":7000,
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue