ソースを参照

Create group throttle powerhint

Test: Local test
Bug: 280258727
Change-Id: I1e767f78b85a04cde8f048885af2d129a01321a8
Signed-off-by: paulsu <[email protected]>
paulsu 1 年間 前
コミット
599c4d1bd8
1 ファイル変更50 行追加0 行削除
  1. 50 0
      powerhint.json

+ 50 - 0
powerhint.json

@@ -603,6 +603,26 @@
         "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
+    },
+    {
+      "Name": "UgBgGroupThrottle",
+      "Path": "/proc/vendor_sched/ug_bg_group_throttle",
+      "Values": [
+        "512",
+        "308"
+      ],
+      "DefaultIndex": 0,
+      "ResetOnInit": true
     }
   ],
   "Actions": [
@@ -1668,6 +1688,12 @@
       "Duration": 0,
       "Value": "0,1,2,3"
     },
+    {
+      "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
+      "Node": "Dex2oatGroup",
+      "Duration": 0,
+      "Value": "0"
+    },
     {
       "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
       "Node": "PMU_POLL",
@@ -1746,6 +1772,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",
@@ -1824,6 +1856,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",
@@ -1902,6 +1940,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",
@@ -1998,6 +2042,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": "CPU_LITTLE_TSKIN_BYPASS",