From 176a14d81e43a706f0831f3db28a0434cf4c5e55 Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Thu, 25 May 2023 22:50:06 +0000 Subject: [PATCH 1/8] powerhint: Enable PMU limit Enable PMU limit for 1. battery saver mode 2. thermal warning Bug: 258095095 Change-Id: I251452b1f6f30c533e7867ce0be31e9f908097ed Signed-off-by: Taeju Park --- perf/powerhint-husky.json | 10 +++++----- perf/powerhint-ripcurrent.json | 12 ++++++------ perf/powerhint-shiba.json | 12 ++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index 1e7fcdc..5a6a2d4 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -1998,7 +1998,7 @@ "PowerHint": "LOW_POWER", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "LOW_POWER", @@ -2159,7 +2159,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", @@ -2249,7 +2249,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", @@ -2339,7 +2339,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", @@ -2519,7 +2519,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index e9ec970..176f4e6 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -1860,7 +1860,7 @@ "PowerHint": "LOW_POWER", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "REFRESH_120FPS", @@ -1931,7 +1931,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", @@ -2021,7 +2021,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", @@ -2111,7 +2111,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", @@ -2201,7 +2201,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", @@ -2291,7 +2291,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index dbf412c..47049fc 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -1886,7 +1886,7 @@ "PowerHint": "LOW_POWER", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "LOW_POWER", @@ -2047,7 +2047,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", @@ -2137,7 +2137,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", @@ -2227,7 +2227,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", @@ -2317,7 +2317,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", @@ -2407,7 +2407,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", "Node": "PMU_POLL", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", From 4b0a0e63eeffabd9d8d9c90b5b45a1b25b76e3d2 Mon Sep 17 00:00:00 2001 From: paulsu Date: Tue, 30 May 2023 06:51:38 +0000 Subject: [PATCH 2/8] Create group throttle powerhint Test: Local test Bug: 280258727 Signed-off-by: paulsu Change-Id: I447d4a0859f4af681f83df8fa094718959bc2619 --- perf/powerhint-husky.json | 50 ++++++++++++++++++++++++++++++++++ perf/powerhint-ripcurrent.json | 50 ++++++++++++++++++++++++++++++++++ perf/powerhint-shiba.json | 50 ++++++++++++++++++++++++++++++++++ 3 files changed, 150 insertions(+) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index e39e8b7..c44a0d3 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -701,6 +701,26 @@ "0,1,2,3,4,5,6,7,8" ], "Type": "Property" + }, + { + "Name": "Dex2oatGroup", + "Path": "/proc/vendor_sched/dex2oat_ug", + "Values": [ + "1", + "0" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "UgBgGroupThrottle", + "Path": "/proc/vendor_sched/ug_bg_group_throttle", + "Values": [ + "512", + "308" + ], + "DefaultIndex": 0, + "ResetOnInit": true } ], "Actions": [ @@ -2239,6 +2259,12 @@ "Duration": 0, "Value": "0,1,2,3,4,5,6,7" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "PMU_POLL", @@ -2329,6 +2355,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", "Node": "PMU_POLL", @@ -2419,6 +2451,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", "Node": "PMU_POLL", @@ -2509,6 +2547,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", "Node": "PMU_POLL", @@ -2617,6 +2661,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "FACE_UNLOCK_BOOST", "Node": "CPUBigClusterMaxFreq", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 65f8e57..e6840cb 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -688,6 +688,26 @@ "0,1,2,3,4,5,6,7,8" ], "Type": "Property" + }, + { + "Name": "Dex2oatGroup", + "Path": "/proc/vendor_sched/dex2oat_ug", + "Values": [ + "1", + "0" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "UgBgGroupThrottle", + "Path": "/proc/vendor_sched/ug_bg_group_throttle", + "Values": [ + "512", + "308" + ], + "DefaultIndex": 0, + "ResetOnInit": true } ], "Actions": [ @@ -2011,6 +2031,12 @@ "Duration": 0, "Value": "0,1,2,3,4,5,6,7" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "PMU_POLL", @@ -2101,6 +2127,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", "Node": "PMU_POLL", @@ -2191,6 +2223,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", "Node": "PMU_POLL", @@ -2281,6 +2319,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", "Node": "PMU_POLL", @@ -2389,6 +2433,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "FACE_UNLOCK_BOOST", "Node": "CPUBigClusterMaxFreq", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index a331eff..6ef46a2 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -691,6 +691,26 @@ "0,1,2,3,4,5,6,7,8" ], "Type": "Property" + }, + { + "Name": "Dex2oatGroup", + "Path": "/proc/vendor_sched/dex2oat_ug", + "Values": [ + "1", + "0" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "UgBgGroupThrottle", + "Path": "/proc/vendor_sched/ug_bg_group_throttle", + "Values": [ + "512", + "308" + ], + "DefaultIndex": 0, + "ResetOnInit": true } ], "Actions": [ @@ -2127,6 +2147,12 @@ "Duration": 0, "Value": "0,1,2,3,4,5,6,7" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "PMU_POLL", @@ -2217,6 +2243,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", "Node": "PMU_POLL", @@ -2307,6 +2339,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", "Node": "PMU_POLL", @@ -2397,6 +2435,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", "Node": "PMU_POLL", @@ -2505,6 +2549,12 @@ "Duration": 0, "Value": "0,1,2,3" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY", + "Node": "Dex2oatGroup", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "FACE_UNLOCK_BOOST", "Node": "CPUBigClusterMaxFreq", From ea56957483fa7b8e2974e72dbf05e483f2b0e39f Mon Sep 17 00:00:00 2001 From: "Ali K. Zadeh" Date: Thu, 1 Jun 2023 22:15:22 +0000 Subject: [PATCH 3/8] Use all cores, reduce DVFSHeadroom, CPUUtilThreshold for 240fps Bug: 279955604 Test: ODPM/Framedrop/Kibbles (b/279955604#Comment7, b/279955604#Comment9) Change-Id: Ie5d00dd23ec005cb981e8d6f26d91e2b39648de0 --- perf/powerhint-husky.json | 14 ++++++++++---- perf/powerhint-ripcurrent.json | 14 ++++++++++---- perf/powerhint-shiba.json | 14 ++++++++++---- 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index eeefaf4..ba551d7 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -1342,9 +1342,15 @@ }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CDPreferHighCap", + "Node": "CPUDVFSHeadroom", "Duration": 0, - "Value": "1" + "Value": "1100" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUUtilThreshold", + "Duration": 0, + "Value": "1100" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1374,7 +1380,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CDMidCpusetCpus", "Duration": 0, - "Value": "4-7" + "Value": "4-8" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1386,7 +1392,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CDCpuset", "Duration": 0, - "Value": "4-7" + "Value": "0-8" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 1fda46a..b884ca6 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -1201,9 +1201,15 @@ }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CDPreferHighCap", + "Node": "CPUDVFSHeadroom", "Duration": 0, - "Value": "1" + "Value": "1100" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUUtilThreshold", + "Duration": 0, + "Value": "1100" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1233,7 +1239,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CDMidCpusetCpus", "Duration": 0, - "Value": "4-7" + "Value": "4-8" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1245,7 +1251,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CDCpuset", "Duration": 0, - "Value": "4-7" + "Value": "0-8" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index da37235..0323900 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -1240,9 +1240,15 @@ }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CDPreferHighCap", + "Node": "CPUDVFSHeadroom", "Duration": 0, - "Value": "1" + "Value": "1100" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUUtilThreshold", + "Duration": 0, + "Value": "1100" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1272,7 +1278,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CDMidCpusetCpus", "Duration": 0, - "Value": "4-7" + "Value": "4-8" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -1284,7 +1290,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CDCpuset", "Duration": 0, - "Value": "4-7" + "Value": "0-8" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", From 55d7041956eae8bbd134b0cc629cc01cb9dd05e2 Mon Sep 17 00:00:00 2001 From: "Ali K. Zadeh" Date: Wed, 7 Jun 2023 16:22:36 +0000 Subject: [PATCH 4/8] Enable PMU, use cam2 EM profile for 240fps Bug: 279955604 Test: ODPM/Framedrop (https://docs.google.com/spreadsheets/d/1XZptKVjIAt1mVPOvYH2JeHOhOlOufmxQX7tbSsq22KA/edit?usp=sharing) Change-Id: Iad6199abd7cbc3fdbb3f25f8d88d78694feacc1f --- perf/powerhint-husky.json | 62 ++++++++++++++++++++++++++++++---- perf/powerhint-ripcurrent.json | 62 ++++++++++++++++++++++++++++++---- perf/powerhint-shiba.json | 62 ++++++++++++++++++++++++++++++---- 3 files changed, 168 insertions(+), 18 deletions(-) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index ba551d7..4d9fe52 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -646,6 +646,7 @@ "70", "35", "30", + "20", "0" ], "DefaultIndex": 0 @@ -672,6 +673,7 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ "50", + "30", "20" ], "DefaultIndex": 0 @@ -1324,21 +1326,69 @@ }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPULittleClusterMaxFreq", + "Node": "PMU_LIT_LIMIT_FREQ", "Duration": 0, - "Value": "1475000" + "Value": "1098000" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPUMidClusterMaxFreq", + "Node": "PMU_LIT_LCPI_THRESHOLD", "Duration": 0, - "Value": "1622000" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPUBigClusterMaxFreq", + "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "1852000" + "Value": "20" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_LIMIT_FREQ", + "Duration": 0, + "Value": "1328000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_LCPI_THRESHOLD", + "Duration": 0, + "Value": "3" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_SPC_THRESHOLD", + "Duration": 0, + "Value": "30" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_LIMIT_FREQ", + "Duration": 0, + "Value": "1298000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_LCPI_THRESHOLD", + "Duration": 0, + "Value": "3" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_SPC_THRESHOLD", + "Duration": 0, + "Value": "20" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "EM_Profile", + "Duration": 0, + "Value": "cam2" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index b884ca6..f1607c7 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -630,6 +630,7 @@ "70", "35", "30", + "20", "0" ], "DefaultIndex": 0 @@ -656,6 +657,7 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ "50", + "30", "20" ], "DefaultIndex": 0 @@ -1183,21 +1185,69 @@ }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPULittleClusterMaxFreq", + "Node": "PMU_LIT_LIMIT_FREQ", "Duration": 0, - "Value": "1475000" + "Value": "1098000" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPUMidClusterMaxFreq", + "Node": "PMU_LIT_LCPI_THRESHOLD", "Duration": 0, - "Value": "1622000" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPUBigClusterMaxFreq", + "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "1852000" + "Value": "20" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_LIMIT_FREQ", + "Duration": 0, + "Value": "1328000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_LCPI_THRESHOLD", + "Duration": 0, + "Value": "3" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_SPC_THRESHOLD", + "Duration": 0, + "Value": "30" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_LIMIT_FREQ", + "Duration": 0, + "Value": "1298000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_LCPI_THRESHOLD", + "Duration": 0, + "Value": "3" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_SPC_THRESHOLD", + "Duration": 0, + "Value": "20" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "EM_Profile", + "Duration": 0, + "Value": "cam2" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index 0323900..a041f08 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -646,6 +646,7 @@ "70", "35", "30", + "20", "0" ], "DefaultIndex": 0 @@ -672,6 +673,7 @@ "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Values": [ "50", + "30", "20" ], "DefaultIndex": 0 @@ -1222,21 +1224,69 @@ }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPULittleClusterMaxFreq", + "Node": "PMU_LIT_LIMIT_FREQ", "Duration": 0, - "Value": "1475000" + "Value": "1098000" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPUMidClusterMaxFreq", + "Node": "PMU_LIT_LCPI_THRESHOLD", "Duration": 0, - "Value": "1622000" + "Value": "0" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "CPUBigClusterMaxFreq", + "Node": "PMU_LIT_SPC_THRESHOLD", "Duration": 0, - "Value": "1852000" + "Value": "20" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_LIMIT_FREQ", + "Duration": 0, + "Value": "1328000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_LCPI_THRESHOLD", + "Duration": 0, + "Value": "3" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_MID_SPC_THRESHOLD", + "Duration": 0, + "Value": "30" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_LIMIT_FREQ", + "Duration": 0, + "Value": "1298000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_LCPI_THRESHOLD", + "Duration": 0, + "Value": "3" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_BIG_SPC_THRESHOLD", + "Duration": 0, + "Value": "20" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "EM_Profile", + "Duration": 0, + "Value": "cam2" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", From 8e017de0293b1e94154c628b1b2edb1ad6e036f2 Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Fri, 2 Jun 2023 20:11:06 +0000 Subject: [PATCH 5/8] New corner specs for husky/shiba Added new assets (same for top/botom) for husky and shiba, as well as tuned the holepunch cutout antialiasing curves based on the following specs: Husky: - corner size 146.5px - holepunch center coords: (672px, 75px) - holepunch radius: 43.25px Shiba: - corner size 128px - holepunch center coords: (540px, 68.5px) - holepunch radius: 36.5px Test: needs manual validation Bug: 243693886 Bug: 274595086 Change-Id: I8cd88ffa5d6aec087938ec436572f02a027eeea4 --- .../base/core/res/res/values/config.xml | 6 +++--- .../res/drawable/rounded_corner_bottom.xml | 12 ++++++------ .../SystemUI/res/drawable/rounded_corner_top.xml | 12 ++++++------ .../base/core/res/res/values/config.xml | 6 +++--- .../res/drawable/rounded_corner_bottom.xml | 15 ++++++++------- .../SystemUI/res/drawable/rounded_corner_top.xml | 16 ++++++++-------- 6 files changed, 34 insertions(+), 33 deletions(-) diff --git a/husky/overlay/frameworks/base/core/res/res/values/config.xml b/husky/overlay/frameworks/base/core/res/res/values/config.xml index 6a633fb..1fff984 100644 --- a/husky/overlay/frameworks/base/core/res/res/values/config.xml +++ b/husky/overlay/frameworks/base/core/res/res/values/config.xml @@ -248,9 +248,9 @@ - M 626.5,75.5 - a 45,45 0 1 0 90,0 - a 45,45 0 1 0 -90,0 + M 628.75,75 + a 43.25,43.25 0 1 0 86.5,0 + a 43.25,43.25 0 1 0 -86.5,0 Z @left diff --git a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index 1e72479..379aa25 100644 --- a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -1,5 +1,5 @@ + android:width="146.5px" + android:height="146.5px" + android:viewportWidth="21.56" + android:viewportHeight="21.56"> + android:pathData="m0,21.56C0,18.524 -0.037,15.685 0.701,12.679c0.717,-2.922 2.089,-5.584 4.241,-7.736C7.093,2.791 9.755,1.419 12.678,0.701 15.684,-0.037 18.524,0 21.56,0H0v21.559Z"/> diff --git a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index 80880bf..379aa25 100644 --- a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -1,5 +1,5 @@ + android:width="146.5px" + android:height="146.5px" + android:viewportWidth="21.56" + android:viewportHeight="21.56"> + android:pathData="m0,21.56C0,18.524 -0.037,15.685 0.701,12.679c0.717,-2.922 2.089,-5.584 4.241,-7.736C7.093,2.791 9.755,1.419 12.678,0.701 15.684,-0.037 18.524,0 21.56,0H0v21.559Z"/> diff --git a/shiba/overlay/frameworks/base/core/res/res/values/config.xml b/shiba/overlay/frameworks/base/core/res/res/values/config.xml index 5daf6f5..94ff4b3 100644 --- a/shiba/overlay/frameworks/base/core/res/res/values/config.xml +++ b/shiba/overlay/frameworks/base/core/res/res/values/config.xml @@ -274,9 +274,9 @@ - M 502.5,66 - a 37,37 0 0 1 74,0 - a 37,37 0 0 1 -74,0 + M 503.5,68.5 + a 36.5,36.5 0 0 1 73,0 + a 36.5,36.5 0 0 1 -73,0 Z @left diff --git a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index d01e81b..229e6ed 100644 --- a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -1,5 +1,5 @@ + android:width="128px" + android:height="128px" + android:viewportWidth="21.596" + android:viewportHeight="21.596"> + android:fillColor="#FF000000" + android:pathData="m0,21.596C0,18.555 -0.037,15.711 0.702,12.7c0.718,-2.927 2.092,-5.593 4.247,-7.749C7.105,2.796 9.772,1.421 12.699,0.703 15.711,-0.037 18.555,0 21.596,0H0v21.595Z"/> + diff --git a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index e7348fa..b484539 100644 --- a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -1,5 +1,4 @@ - + android:width="128px" + android:height="128px" + android:viewportWidth="21.596" + android:viewportHeight="21.596"> + android:fillColor="#FF000000" + android:pathData="m0,21.596C0,18.555 -0.037,15.711 0.702,12.7c0.718,-2.927 2.092,-5.593 4.247,-7.749C7.105,2.796 9.772,1.421 12.699,0.703 15.711,-0.037 18.555,0 21.596,0H0v21.595Z"/> + From aa6ffea6c55b3aee411f541df4f266796ae37591 Mon Sep 17 00:00:00 2001 From: Piyush Mehrotra Date: Thu, 8 Jun 2023 11:08:51 +0000 Subject: [PATCH 6/8] Revert "New corner specs for husky/shiba" This reverts commit 8e017de0293b1e94154c628b1b2edb1ad6e036f2. Reason for revert: Broke build on udc-d1-dev branch. See b/286328787 Change-Id: I3b94e6ab51a7b771dc02ab8736fdb9228a64db49 --- .../base/core/res/res/values/config.xml | 6 +++--- .../res/drawable/rounded_corner_bottom.xml | 12 ++++++------ .../SystemUI/res/drawable/rounded_corner_top.xml | 12 ++++++------ .../base/core/res/res/values/config.xml | 6 +++--- .../res/drawable/rounded_corner_bottom.xml | 15 +++++++-------- .../SystemUI/res/drawable/rounded_corner_top.xml | 16 ++++++++-------- 6 files changed, 33 insertions(+), 34 deletions(-) diff --git a/husky/overlay/frameworks/base/core/res/res/values/config.xml b/husky/overlay/frameworks/base/core/res/res/values/config.xml index 1fff984..6a633fb 100644 --- a/husky/overlay/frameworks/base/core/res/res/values/config.xml +++ b/husky/overlay/frameworks/base/core/res/res/values/config.xml @@ -248,9 +248,9 @@ - M 628.75,75 - a 43.25,43.25 0 1 0 86.5,0 - a 43.25,43.25 0 1 0 -86.5,0 + M 626.5,75.5 + a 45,45 0 1 0 90,0 + a 45,45 0 1 0 -90,0 Z @left diff --git a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index 379aa25..1e72479 100644 --- a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -1,5 +1,5 @@ + android:width="115px" + android:height="115px" + android:viewportWidth="115" + android:viewportHeight="115"> + android:pathData="m 100.6831,1.9816622 c -29.806898,6.3378 -49.540698,16.5907998 -66.898198,34.7579998 -17.004,17.7973 -25.7170003,35.315 -31.8043003,63.943898 L -9.8267718e-5,114.99996 V -3.7795276e-5 H 114.9999 L 100.6834,1.9814622 Z"/> diff --git a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index 379aa25..80880bf 100644 --- a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -1,5 +1,5 @@ + android:width="120px" + android:height="120px" + android:viewportWidth="12" + android:viewportHeight="12"> + android:pathData="M 0.1412,10.432865 C 0.28411,9.343999 0.78655,7.653078 1.29623,6.570671 2.05506,4.959135 3.44108,3.316382 4.96049,2.258588 6.2561,1.356598 7.39814,0.809879 9.86951,0.280664 10.2831,0.192 11.33241,0.03432 12,0 H 0 V 11.999999 C 0.02856,11.4764 0.0066,11.458694 0.1412,10.432865 Z"/> diff --git a/shiba/overlay/frameworks/base/core/res/res/values/config.xml b/shiba/overlay/frameworks/base/core/res/res/values/config.xml index 94ff4b3..5daf6f5 100644 --- a/shiba/overlay/frameworks/base/core/res/res/values/config.xml +++ b/shiba/overlay/frameworks/base/core/res/res/values/config.xml @@ -274,9 +274,9 @@ - M 503.5,68.5 - a 36.5,36.5 0 0 1 73,0 - a 36.5,36.5 0 0 1 -73,0 + M 502.5,66 + a 37,37 0 0 1 74,0 + a 37,37 0 0 1 -74,0 Z @left diff --git a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index 229e6ed..d01e81b 100644 --- a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -1,5 +1,5 @@ + android:width="118px" + android:height="118px" + android:viewportWidth="11.8" + android:viewportHeight="11.8"> + android:fillColor="#000000" + android:pathData="M -9.8501356e-5,11.799901 -2.0113562e-6,-9.8501354e-5 H 11.799903 L 11.543039,0.0056015 l -0.290295,0.0044 -0.295807,0.0068 -0.301511,0.01007 -0.307222,0.01427 -0.312535,0.01908 -0.3180465,0.02532 -0.322573,0.03153 -0.327098,0.03876 -0.331036,0.04701 -0.334183,0.05605 -0.336743,0.06549 -0.33871,0.07592 -0.339694,0.08698 -0.340089,0.09823 -0.339694,0.11028 -0.338317,0.12275 -0.336152,0.13519 -0.332806,0.14825 -0.329067,0.1615 -0.324146,0.17437 -0.318242,0.18783 -0.311945,0.20087 -0.304465,0.21374 -0.296397,0.22639 -0.287539,0.23905 -0.277896,0.2507 -0.267662,0.26254 -0.257035,0.2734 -0.245619,0.28385 -0.234007,0.29349 -0.221805,0.30272 -0.20921,0.31096 -0.196614,0.31839 -0.184017,0.32502 -0.170831,0.33107 -0.158039,0.33586 -0.14524601,0.34008 -0.13245299,0.34312 -0.120055,0.34551 -0.108048,0.34671 -0.09624,0.34754 -0.08502,0.3469 -0.07439,0.34593 -0.06436,0.3439 -0.05471,0.34129 -0.04605,0.33789 -0.03798,0.33406 -0.0309,0.32944 -0.0246,0.3246195 -0.01889,0.31921 -0.01397,0.31378 -0.0098,0.30793 -0.01331,0.30212 z"/> - diff --git a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index b484539..e7348fa 100644 --- a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -1,4 +1,5 @@ - Copyright (C) 2023 The Android Open Source Project + + android:width="125px" + android:height="125px" + android:viewportWidth="12.5" + android:viewportHeight="12.5"> + android:fillColor="#000000" + android:pathData="M 5.2217713e-6,4.8730029e-6 0,12.5 l 0.00431042,-0.351921 0.0069,-0.320231 0.01022,-0.326406 0.0145,-0.332578 0.01961,-0.338329 0.02553,-0.344077 0.03207,-0.34919 0.03942,-0.3540841 0.0478,-0.35813 0.05678,-0.361751 0.06679,-0.364518 0.07721,-0.366646 0.08824,-0.367711 0.09988,-0.36835 0.112134,-0.367499 0.124595,-0.366222 0.137461,-0.363666 0.15073998,-0.360473 0.164015,-0.356 0.177291,-0.350678 0.190976,-0.344717 0.204049,-0.337477 0.217121,-0.329599 0.230193,-0.320869 0.242856,-0.311075 0.254908,-0.300855 0.266755,-0.289783 0.277784,-0.278073 0.288405,-0.265937 0.298413,-0.253374 0.307606,-0.239959 0.315978,-0.226546 0.323742,-0.212919 0.330277,-0.198867 0.336404,-0.185026 0.341511,-0.171187 0.345392,-0.157135 0.348863,-0.14329403 0.351112,-0.130094 0.352541,-0.116893 0.352949,-0.104118 0.35254,-0.09219 0.351519,-0.08048 0.349477,-0.06941 0.346821,-0.0594 0.343554,-0.04982 0.339469,-0.04109 0.3347686,-0.03343 0.330074,-0.0264 0.324353,-0.02023 0.318838,-0.01533 0.312917,-0.01065 0.306989,-0.0075 0.301275,-0.0043 L 12.241276,9.12873e-4 12.5,0 Z"/> - From 52a07319f4941631625f1ba989eb2ac79a54bfe9 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Fri, 5 May 2023 11:51:33 -0700 Subject: [PATCH 7/8] thermal: update CPU throttling policy Bug: 258136274 Test: emul_temp Change-Id: I0afcf40200cecbb1a6bb52f4bad8666015e09eaa --- thermal/thermal_info_config_husky.json | 149 +++++++++++++++++++----- thermal/thermal_info_config_shiba.json | 151 ++++++++++++++++++++----- 2 files changed, 245 insertions(+), 55 deletions(-) diff --git a/thermal/thermal_info_config_husky.json b/thermal/thermal_info_config_husky.json index bfe66b7..6a1a2e9 100644 --- a/thermal/thermal_info_config_husky.json +++ b/thermal/thermal_info_config_husky.json @@ -401,7 +401,7 @@ "PassiveDelay":7000 }, { - "Name":"VIRTUAL-SKIN-CPU", + "Name":"VIRTUAL-SKIN-CPU-LIGHT-ODPM", "Type":"UNKNOWN", "Hidden":true, "VirtualSensor":true, @@ -409,21 +409,21 @@ "Formula":"MAXIMUM", "Combination":["VIRTUAL-SKIN"], "Coefficient":[1.0], - "HotThreshold":["NAN", 37.0, 39.0, 41.0, 46.5, 52.0, 55.0], - "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9], + "HotThreshold":["NAN", 37.0, 39.0, "NAN", "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 1.9, 1.9, 0.0, 0.0, 0.0, 0.0], "Multiplier":0.001, "PollingDelay":300000, "PassiveDelay":7000, "PIDInfo": { - "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"] + "K_Po":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_Pu":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"], + "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "I_Max":["NAN", "NAN", 2200, "NAN", "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"], + "MinAllocPower":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"], + "MaxAllocPower":["NAN", "NAN", 4600, "NAN", "NAN", "NAN", "NAN"], + "I_Cutoff":["NAN", "NAN", 4, "NAN", "NAN", "NAN", "NAN"] }, "BindedCdevInfo": [ { @@ -432,17 +432,15 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 7, 7, 7, 7, 9, 9], - "LimitInfo": [0, 0, 0, 0, 7, 9, 9] + "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, - "MaxThrottleStep": 1, + "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL1", - "CdevCeiling": [0, 12, 12, 12, 12, 14, 14], - "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] }, { "CdevRequest": "thermal-cpufreq-2", @@ -450,8 +448,105 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL2", - "CdevCeiling": [0, 12, 12, 12, 12, 14, 14], - "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + "CdevCeiling": [0, 8, 8, 8, 8, 8, 8] + } + ] + }, + { + "Name":"VIRTUAL-SKIN-CPU-MID", + "Type":"UNKNOWN", + "Hidden":true, + "VirtualSensor":true, + "TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm"], + "Formula":"MAXIMUM", + "Combination":["VIRTUAL-SKIN"], + "Coefficient":[1.0], + "HotThreshold":["NAN", 39.0, 41.0, "NAN", "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 1.9, 1.9, 0.0, 0.0, 0.0, 0.0], + "Multiplier":0.001, + "PollingDelay":300000, + "PassiveDelay":7000, + "PIDInfo": { + "K_Po":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_Pu":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"], + "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "I_Max":["NAN", "NAN", 1500, "NAN", "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"], + "MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "MaxAllocPower":["NAN", "NAN", 2800, "NAN", "NAN", "NAN", "NAN"], + "I_Cutoff":["NAN", "NAN", 4, "NAN", "NAN", "NAN", "NAN"] + }, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-0", + "CdevWeightForPID": [0.292, 0.292, 0.292, 0.292, 0.292, 0.292, 0.292], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] + }, + { + "CdevRequest": "thermal-cpufreq-1", + "CdevWeightForPID": [0.804, 0.804, 0.804, 0.804, 0.804, 0.804, 0.804], + "MaxReleaseStep": 1, + "MaxThrottleStep": 2, + "CdevCeiling": [0, 9, 9, 9, 9, 9, 9] + }, + { + "CdevRequest": "thermal-cpufreq-2", + "CdevWeightForPID": [0.342, 0.342, 0.342, 0.342, 0.342, 0.342, 0.342], + "MaxReleaseStep": 1, + "MaxThrottleStep": 2, + "CdevCeiling": [0, 12, 12, 12, 12, 12, 12] + } + ] + }, + { + "Name":"VIRTUAL-SKIN-CPU-HIGH", + "Type":"UNKNOWN", + "Hidden":true, + "VirtualSensor":true, + "TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm"], + "Formula":"MAXIMUM", + "Combination":["VIRTUAL-SKIN"], + "Coefficient":[1.0], + "HotThreshold":["NAN", 41.0, 43.0, 52.0, "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 0.0, 0.0, 0.0], + "Multiplier":0.001, + "PollingDelay":300000, + "PassiveDelay":7000, + "PIDInfo": { + "K_Po":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_Pu":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"], + "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "I_Max":["NAN", "NAN", 1000, "NAN", "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 600, "NAN", "NAN", "NAN", "NAN"], + "MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "MaxAllocPower":["NAN", "NAN", 1600, "NAN", "NAN", "NAN", "NAN"], + "I_Cutoff":["NAN", "NAN", 4, "NAN", "NAN", "NAN", "NAN"] + }, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-0", + "CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "CdevCeiling": [0, 8, 8, 8, 8, 8, 8] + }, + { + "CdevRequest": "thermal-cpufreq-1", + "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], + "MaxReleaseStep": 1, + "MaxThrottleStep": 2, + "CdevCeiling": [0, 11, 11, 11, 11, 11, 11] + }, + { + "CdevRequest": "thermal-cpufreq-2", + "CdevWeightForPID": [0.252, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225], + "MaxReleaseStep": 1, + "MaxThrottleStep": 2, + "CdevCeiling": [0, 13, 13, 13, 13, 13, 13] } ] }, @@ -487,17 +582,17 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 7, 7, 7, 7, 9, 9], - "LimitInfo": [0, 0, 0, 0, 7, 9, 9] + "CdevCeiling": [0, 8, 8, 8, 8, 9, 9], + "LimitInfo": [0, 0, 0, 0, 0, 9, 9] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, - "MaxThrottleStep": 1, + "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL1", - "CdevCeiling": [0, 12, 12, 12, 12, 14, 14], - "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + "CdevCeiling": [0, 11, 11, 11, 11, 14, 14], + "LimitInfo": [0, 0, 0, 0, 0, 14, 14] }, { "CdevRequest": "thermal-cpufreq-2", @@ -505,8 +600,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL2", - "CdevCeiling": [0, 12, 12, 12, 12, 14, 14], - "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + "CdevCeiling": [0, 13, 13, 13, 13, 14, 14], + "LimitInfo": [0, 0, 0, 0, 0, 14, 14] }, { "CdevRequest": "thermal-gpufreq-0", @@ -515,7 +610,7 @@ "MaxThrottleStep": 1, "BindedPowerRail": "S2S_VDD_G3D", "CdevCeiling": [0, 8, 8, 8, 9, 11, 11], - "LimitInfo": [0, 0, 0, 0, 9, 11, 11] + "LimitInfo": [0, 0, 0, 0, 0, 11, 11] } ] }, diff --git a/thermal/thermal_info_config_shiba.json b/thermal/thermal_info_config_shiba.json index f7178fc..dff7c2d 100644 --- a/thermal/thermal_info_config_shiba.json +++ b/thermal/thermal_info_config_shiba.json @@ -378,7 +378,7 @@ "PassiveDelay":7000 }, { - "Name":"VIRTUAL-SKIN-CPU", + "Name":"VIRTUAL-SKIN-CPU-LIGHT-ODPM", "Type":"UNKNOWN", "Hidden":true, "VirtualSensor":true, @@ -386,40 +386,38 @@ "Formula":"MAXIMUM", "Combination":["VIRTUAL-SKIN"], "Coefficient":[1.0], - "HotThreshold":["NAN", 37.0, 39.0, 41.0, 46.5, 52.0, 55.0], - "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9], + "HotThreshold":["NAN", 37.0, 39.0, "NAN", "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 1.9, 1.9, 0.0, 0.0, 0.0, 0.0], "Multiplier":0.001, "PollingDelay":300000, "PassiveDelay":7000, "PIDInfo": { - "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"] + "K_Po":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_Pu":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"], + "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "I_Max":["NAN", "NAN", 2200, "NAN", "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"], + "MinAllocPower":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"], + "MaxAllocPower":["NAN", "NAN", 4600, "NAN", "NAN", "NAN", "NAN"], + "I_Cutoff":["NAN", "NAN", 4, "NAN", "NAN", "NAN", "NAN"] }, - "BindedCdevInfo": [ + "BindedCdevInfo": [ { "CdevRequest": "thermal-cpufreq-0", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 7, 7, 7, 7, 9, 9], - "LimitInfo": [0, 0, 0, 0, 7, 9, 9] + "CdevCeiling": [0, 2, 2, 2, 2, 2, 2] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, - "MaxThrottleStep": 1, + "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL1", - "CdevCeiling": [0, 12, 12, 12, 12, 14, 14], - "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] }, { "CdevRequest": "thermal-cpufreq-2", @@ -427,8 +425,105 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL2", - "CdevCeiling": [0, 12, 12, 12, 12, 14, 14], - "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + "CdevCeiling": [0, 8, 8, 8, 8, 8, 8] + } + ] + }, + { + "Name":"VIRTUAL-SKIN-CPU-MID", + "Type":"UNKNOWN", + "Hidden":true, + "VirtualSensor":true, + "TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "usb_pwr_therm"], + "Formula":"MAXIMUM", + "Combination":["VIRTUAL-SKIN"], + "Coefficient":[1.0], + "HotThreshold":["NAN", 39.0, 41.0, "NAN", "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 1.9, 1.9, 0.0, 0.0, 0.0, 0.0], + "Multiplier":0.001, + "PollingDelay":300000, + "PassiveDelay":7000, + "PIDInfo": { + "K_Po":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_Pu":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"], + "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "I_Max":["NAN", "NAN", 1500, "NAN", "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"], + "MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "MaxAllocPower":["NAN", "NAN", 2800, "NAN", "NAN", "NAN", "NAN"], + "I_Cutoff":["NAN", "NAN", 4, "NAN", "NAN", "NAN", "NAN"] + }, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-0", + "CdevWeightForPID": [0.292, 0.292, 0.292, 0.292, 0.292, 0.292, 0.292], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "CdevCeiling": [0, 6, 6, 6, 6, 6, 6] + }, + { + "CdevRequest": "thermal-cpufreq-1", + "CdevWeightForPID": [0.804, 0.804, 0.804, 0.804, 0.804, 0.804, 0.804], + "MaxReleaseStep": 1, + "MaxThrottleStep": 2, + "CdevCeiling": [0, 9, 9, 9, 9, 9, 9] + }, + { + "CdevRequest": "thermal-cpufreq-2", + "CdevWeightForPID": [0.342, 0.342, 0.342, 0.342, 0.342, 0.342, 0.342], + "MaxReleaseStep": 1, + "MaxThrottleStep": 2, + "CdevCeiling": [0, 12, 12, 12, 12, 12, 12] + } + ] + }, + { + "Name":"VIRTUAL-SKIN-CPU-HIGH", + "Type":"UNKNOWN", + "Hidden":true, + "VirtualSensor":true, + "TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "usb_pwr_therm"], + "Formula":"MAXIMUM", + "Combination":["VIRTUAL-SKIN"], + "Coefficient":[1.0], + "HotThreshold":["NAN", 41.0, 43.0, 52.0, "NAN", "NAN", "NAN"], + "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 0.0, 0.0, 0.0], + "Multiplier":0.001, + "PollingDelay":300000, + "PassiveDelay":7000, + "PIDInfo": { + "K_Po":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_Pu":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"], + "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "I_Max":["NAN", "NAN", 1000, "NAN", "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 600, "NAN", "NAN", "NAN", "NAN"], + "MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], + "MaxAllocPower":["NAN", "NAN", 1600, "NAN", "NAN", "NAN", "NAN"], + "I_Cutoff":["NAN", "NAN", 4, "NAN", "NAN", "NAN", "NAN"] + }, + "BindedCdevInfo": [ + { + "CdevRequest": "thermal-cpufreq-0", + "CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156], + "MaxReleaseStep": 1, + "MaxThrottleStep": 1, + "CdevCeiling": [0, 8, 8, 8, 8, 8, 8] + }, + { + "CdevRequest": "thermal-cpufreq-1", + "CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428], + "MaxReleaseStep": 1, + "MaxThrottleStep": 2, + "CdevCeiling": [0, 11, 11, 11, 11, 11, 11] + }, + { + "CdevRequest": "thermal-cpufreq-2", + "CdevWeightForPID": [0.252, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225], + "MaxReleaseStep": 1, + "MaxThrottleStep": 2, + "CdevCeiling": [0, 13, 13, 13, 13, 13, 13] } ] }, @@ -464,17 +559,17 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S4M_VDD_CPUCL0", - "CdevCeiling": [0, 7, 7, 7, 7, 9, 9], - "LimitInfo": [0, 0, 0, 0, 7, 9, 9] + "CdevCeiling": [0, 8, 8, 8, 8, 9, 9], + "LimitInfo": [0, 0, 0, 0, 0, 9, 9] }, { "CdevRequest": "thermal-cpufreq-1", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, - "MaxThrottleStep": 1, + "MaxThrottleStep": 2, "BindedPowerRail": "S3M_VDD_CPUCL1", - "CdevCeiling": [0, 12, 12, 12, 12, 14, 14], - "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + "CdevCeiling": [0, 11, 11, 11, 11, 14, 14], + "LimitInfo": [0, 0, 0, 0, 0, 14, 14] }, { "CdevRequest": "thermal-cpufreq-2", @@ -482,8 +577,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL2", - "CdevCeiling": [0, 12, 12, 12, 12, 14, 14], - "LimitInfo": [0, 0, 0, 0, 12, 14, 14] + "CdevCeiling": [0, 13, 13, 13, 13, 14, 14], + "LimitInfo": [0, 0, 0, 0, 0, 14, 14] }, { "CdevRequest": "thermal-gpufreq-0", @@ -492,7 +587,7 @@ "MaxThrottleStep": 1, "BindedPowerRail": "S2S_VDD_G3D", "CdevCeiling": [0, 9, 9, 9, 9, 11, 11], - "LimitInfo": [0, 0, 0, 0, 9, 11, 11] + "LimitInfo": [0, 0, 0, 0, 0, 11, 11] } ] }, From f90fd259f38969cd77f1149425dd85aea8e6cc26 Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Fri, 2 Jun 2023 20:11:06 +0000 Subject: [PATCH 8/8] Revert "Revert "New corner specs for husky/shiba"" This reverts commit aa6ffea6c55b3aee411f541df4f266796ae37591. Reason for revert: Fixing the issue that caused the revert Added new assets (same for top/botom) for husky and shiba, as well as tuned the holepunch cutout antialiasing curves based on the following specs: Husky: - corner size 146.5px - holepunch center coords: (672px, 75px) - holepunch radius: 43.25px Shiba: - corner size 128px - holepunch center coords: (540px, 68.5px) - holepunch radius: 36.5px Test: needs manual validation Bug: 243693886 Change-Id: I0b951f6a06a5421fdd22a7d67290468946e3c50b --- .../base/core/res/res/values/config.xml | 6 +++--- .../res/drawable/rounded_corner_bottom.xml | 12 ++++++------ .../SystemUI/res/drawable/rounded_corner_top.xml | 12 ++++++------ .../base/core/res/res/values/config.xml | 6 +++--- .../res/drawable/rounded_corner_bottom.xml | 15 ++++++++------- .../SystemUI/res/drawable/rounded_corner_top.xml | 15 ++++++++------- 6 files changed, 34 insertions(+), 32 deletions(-) diff --git a/husky/overlay/frameworks/base/core/res/res/values/config.xml b/husky/overlay/frameworks/base/core/res/res/values/config.xml index 6a633fb..1fff984 100644 --- a/husky/overlay/frameworks/base/core/res/res/values/config.xml +++ b/husky/overlay/frameworks/base/core/res/res/values/config.xml @@ -248,9 +248,9 @@ - M 626.5,75.5 - a 45,45 0 1 0 90,0 - a 45,45 0 1 0 -90,0 + M 628.75,75 + a 43.25,43.25 0 1 0 86.5,0 + a 43.25,43.25 0 1 0 -86.5,0 Z @left diff --git a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index 1e72479..379aa25 100644 --- a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -1,5 +1,5 @@ + android:width="146.5px" + android:height="146.5px" + android:viewportWidth="21.56" + android:viewportHeight="21.56"> + android:pathData="m0,21.56C0,18.524 -0.037,15.685 0.701,12.679c0.717,-2.922 2.089,-5.584 4.241,-7.736C7.093,2.791 9.755,1.419 12.678,0.701 15.684,-0.037 18.524,0 21.56,0H0v21.559Z"/> diff --git a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index 80880bf..379aa25 100644 --- a/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/husky/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -1,5 +1,5 @@ + android:width="146.5px" + android:height="146.5px" + android:viewportWidth="21.56" + android:viewportHeight="21.56"> + android:pathData="m0,21.56C0,18.524 -0.037,15.685 0.701,12.679c0.717,-2.922 2.089,-5.584 4.241,-7.736C7.093,2.791 9.755,1.419 12.678,0.701 15.684,-0.037 18.524,0 21.56,0H0v21.559Z"/> diff --git a/shiba/overlay/frameworks/base/core/res/res/values/config.xml b/shiba/overlay/frameworks/base/core/res/res/values/config.xml index 5daf6f5..94ff4b3 100644 --- a/shiba/overlay/frameworks/base/core/res/res/values/config.xml +++ b/shiba/overlay/frameworks/base/core/res/res/values/config.xml @@ -274,9 +274,9 @@ - M 502.5,66 - a 37,37 0 0 1 74,0 - a 37,37 0 0 1 -74,0 + M 503.5,68.5 + a 36.5,36.5 0 0 1 73,0 + a 36.5,36.5 0 0 1 -73,0 Z @left diff --git a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml index d01e81b..229e6ed 100644 --- a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml +++ b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml @@ -1,5 +1,5 @@ + android:width="128px" + android:height="128px" + android:viewportWidth="21.596" + android:viewportHeight="21.596"> + android:fillColor="#FF000000" + android:pathData="m0,21.596C0,18.555 -0.037,15.711 0.702,12.7c0.718,-2.927 2.092,-5.593 4.247,-7.749C7.105,2.796 9.772,1.421 12.699,0.703 15.711,-0.037 18.555,0 21.596,0H0v21.595Z"/> + diff --git a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml index e7348fa..229e6ed 100644 --- a/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml +++ b/shiba/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml @@ -1,5 +1,5 @@ + android:width="128px" + android:height="128px" + android:viewportWidth="21.596" + android:viewportHeight="21.596"> + android:fillColor="#FF000000" + android:pathData="m0,21.596C0,18.555 -0.037,15.711 0.702,12.7c0.718,-2.927 2.092,-5.593 4.247,-7.749C7.105,2.796 9.772,1.421 12.699,0.703 15.711,-0.037 18.555,0 21.596,0H0v21.595Z"/> +