Snap for 8347200 from 66f1e984ce to udc-release

Change-Id: Ie8c690e805501de36a3b379a0f9220558dfcc09d
This commit is contained in:
Android Build Coastguard Worker 2022-03-24 03:01:24 +00:00
commit 6771ae5417
10 changed files with 78 additions and 42 deletions

View file

@ -67,6 +67,19 @@
@left @left
</string> </string>
<!-- Not allow to switch to higher refresh rate when display brightness setting is
equal or less than this value -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
<!-- System brightness for 5 nits: round((5-2)/(1000-2)*(255-1)+1) = 2 -->
<item>2</item> <!-- 15% UI brightness -->
</integer-array>
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
<item>5</item>
</integer-array>
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
<integer name="config_defaultRefreshRateInZone">120</integer>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows: The N entries of this array define N 1 zones as follows:
Zone 0: 0 <= LUX < array[0] Zone 0: 0 <= LUX < array[0]
@ -240,4 +253,7 @@
<!-- 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>
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
<bool name="config_faceAuthDismissesKeyguard">false</bool>
</resources> </resources>

View file

@ -2,7 +2,7 @@
import /vendor/etc/init/hw/init.gs201.rc import /vendor/etc/init/hw/init.gs201.rc
import /vendor/etc/init/hw/init.pantah.rc import /vendor/etc/init/hw/init.pantah.rc
on property:vendor.device.modules.ready=1 on late-init && property:vendor.device.modules.ready=1
# Start the twoshay touch service # Start the twoshay touch service
start twoshay start twoshay

View file

@ -2,7 +2,7 @@
import /vendor/etc/init/hw/init.gs201.rc import /vendor/etc/init/hw/init.gs201.rc
import /vendor/etc/init/hw/init.pantah.rc import /vendor/etc/init/hw/init.pantah.rc
on property:vendor.device.modules.ready=1 on late-init && property:vendor.device.modules.ready=1
# Start the twoshay touch service # Start the twoshay touch service
start twoshay start twoshay

View file

@ -66,6 +66,21 @@
@left @left
</string> </string>
<!-- Not allow to switch to higher refresh rate when display brightness setting is
equal or less than this value -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
<!-- System brightness for 20 nits: round((20-2)/(1000-2)*(255-1)+1) = 6 -->
<item>6</item> <!-- 34% UI brightness -->
<!-- System brightness for 25 nits: round((25-2)/(1000-2)*(255-1)+1) = 7 -->
<item>7</item> <!-- 38% UI brightness -->
</integer-array>
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
<item>-1</item>
<item>20</item>
</integer-array>
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
<integer name="config_defaultRefreshRateInZone">90</integer>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows: The N entries of this array define N 1 zones as follows:
Zone 0: 0 <= LUX < array[0] Zone 0: 0 <= LUX < array[0]
@ -239,4 +254,7 @@
<!-- 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>
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
<bool name="config_faceAuthDismissesKeyguard">false</bool>
</resources> </resources>

View file

@ -126,7 +126,8 @@
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
"Values": [ "Values": [
"20 5 80", "20 5 80",
"20 10 80" "20 10 80",
"80 10 80"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -139,7 +140,7 @@
"108", "108",
"1", "1",
"157", "157",
"42" "53"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -148,7 +149,7 @@
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min", "Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
"Values": [ "Values": [
"125", "125",
"65", "78",
"30" "30"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -402,7 +403,7 @@
"PowerHint": "INTERACTION", "PowerHint": "INTERACTION",
"Node": "SFUClampBoost", "Node": "SFUClampBoost",
"Duration": 5000, "Duration": 5000,
"Value": "65" "Value": "78"
}, },
{ {
"PowerHint": "LAUNCH_120FPS", "PowerHint": "LAUNCH_120FPS",
@ -419,7 +420,7 @@
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "SFUClampBoost", "Node": "SFUClampBoost",
"Duration": 5000, "Duration": 5000,
"Value": "65" "Value": "78"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -737,7 +738,7 @@
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 10 80" "Value": "80 10 80"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
@ -815,7 +816,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 10 80" "Value": "80 10 80"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -1121,7 +1122,7 @@
"PowerHint": "REFRESH_60FPS", "PowerHint": "REFRESH_60FPS",
"Node": "TAUClampBoost", "Node": "TAUClampBoost",
"Duration": 0, "Duration": 0,
"Value": "42" "Value": "53"
}, },
{ {
"PowerHint": "REFRESH_60FPS", "PowerHint": "REFRESH_60FPS",

View file

@ -126,7 +126,8 @@
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
"Values": [ "Values": [
"20 5 80", "20 5 80",
"20 10 80" "20 10 80",
"80 10 80"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -138,7 +139,7 @@
"108", "108",
"1", "1",
"107", "107",
"42" "53"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -147,7 +148,7 @@
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min", "Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
"Values": [ "Values": [
"125", "125",
"65", "78",
"30" "30"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -401,13 +402,13 @@
"PowerHint": "INTERACTION", "PowerHint": "INTERACTION",
"Node": "SFUClampBoost", "Node": "SFUClampBoost",
"Duration": 5000, "Duration": 5000,
"Value": "65" "Value": "78"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "SFUClampBoost", "Node": "SFUClampBoost",
"Duration": 5000, "Duration": 5000,
"Value": "65" "Value": "78"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -725,7 +726,7 @@
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 10 80" "Value": "80 10 80"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
@ -803,7 +804,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 10 80" "Value": "80 10 80"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -1109,7 +1110,7 @@
"PowerHint": "REFRESH_60FPS", "PowerHint": "REFRESH_60FPS",
"Node": "TAUClampBoost", "Node": "TAUClampBoost",
"Duration": 0, "Duration": 0,
"Value": "42" "Value": "53"
}, },
{ {
"PowerHint": "ADPF_DISABLE_TA_BOOST", "PowerHint": "ADPF_DISABLE_TA_BOOST",

View file

@ -159,8 +159,8 @@
"disp_therm" "disp_therm"
], ],
"Coefficient":[ "Coefficient":[
"0.5", "0.6",
"0.5" "0.4"
], ],
"Offset":-200, "Offset":-200,
"HotThreshold":[ "HotThreshold":[
@ -185,10 +185,10 @@
"quiet_therm" "quiet_therm"
], ],
"Coefficient":[ "Coefficient":[
"0.465", "0.559",
"0.535" "0.441"
], ],
"Offset":-1824, "Offset":-1771,
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
"NAN", "NAN",
@ -237,10 +237,10 @@
"quiet_therm" "quiet_therm"
], ],
"Coefficient":[ "Coefficient":[
"0.650", "0.6",
"0.350" "0.4"
], ],
"Offset":-1700, "Offset":-500,
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
"NAN", "NAN",

View file

@ -150,19 +150,19 @@
"PassiveDelay":7000 "PassiveDelay":7000
}, },
{ {
"Name":"VIRTUAL-QI-USB", "Name":"VIRTUAL-QUIET-USB",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"VirtualSensor":true, "VirtualSensor":true,
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":[ "Combination":[
"qi_therm", "quiet_therm",
"usb_pwr_therm" "usb_pwr_therm"
], ],
"Coefficient":[ "Coefficient":[
"0.680", "0.973",
"0.320" "0.027"
], ],
"Offset":-2800, "Offset":-2200,
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
"NAN", "NAN",
@ -185,8 +185,8 @@
"quiet_therm" "quiet_therm"
], ],
"Coefficient":[ "Coefficient":[
"0.52", "0.580",
"0.48" "0.420"
], ],
"Offset":-500, "Offset":-500,
"HotThreshold":[ "HotThreshold":[
@ -211,10 +211,10 @@
"disp_therm" "disp_therm"
], ],
"Coefficient":[ "Coefficient":[
"0.7", "0.550",
"0.3" "0.450"
], ],
"Offset":-500, "Offset":3000,
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
"NAN", "NAN",
@ -237,10 +237,10 @@
"quiet_therm" "quiet_therm"
], ],
"Coefficient":[ "Coefficient":[
"0.4", "0.6",
"0.6" "0.4"
], ],
"Offset":-1500, "Offset":-400,
"HotThreshold":[ "HotThreshold":[
"NAN", "NAN",
"NAN", "NAN",
@ -286,7 +286,7 @@
"TriggerSensor":"quiet_therm", "TriggerSensor":"quiet_therm",
"Formula":"MAXIMUM", "Formula":"MAXIMUM",
"Combination":[ "Combination":[
"VIRTUAL-QI-USB", "VIRTUAL-QUIET-USB",
"VIRTUAL-USB-QUIET", "VIRTUAL-USB-QUIET",
"VIRTUAL-GNSS-DISP" "VIRTUAL-GNSS-DISP"
], ],
@ -420,7 +420,7 @@
"TriggerSensor":"quiet_therm", "TriggerSensor":"quiet_therm",
"Formula":"MAXIMUM", "Formula":"MAXIMUM",
"Combination":[ "Combination":[
"VIRTUAL-QI-USB", "VIRTUAL-QUIET-USB",
"VIRTUAL-USB-QUIET", "VIRTUAL-USB-QUIET",
"VIRTUAL-GNSS-DISP" "VIRTUAL-GNSS-DISP"
], ],

View file

@ -127,7 +127,7 @@ restricted_channels=0
[HAL]ant_sets.ch9.azimuth.rx_ant_set_ranging = 3 [HAL]ant_sets.ch9.azimuth.rx_ant_set_ranging = 3
[HAL]ant_sets.ch9.azimuth.tx_ant_set_nonranging = 0 [HAL]ant_sets.ch9.azimuth.tx_ant_set_nonranging = 0
[HAL]ant_sets.ch9.azimuth.tx_ant_set_ranging = 0 [HAL]ant_sets.ch9.azimuth.tx_ant_set_ranging = 0
[HAL]minimum_system_offset_uwbtime0=200 [HAL]minimum_system_offset_uwbtime0=500
coex_gpio=4 coex_gpio=4
coex_delay_us=1000 coex_delay_us=1000
coex_margin_us=500 coex_margin_us=500