diff --git a/power-libperfmgr/sdm660_powerhint.json b/power-libperfmgr/sdm660_powerhint.json index be421229..0ddf912d 100644 --- a/power-libperfmgr/sdm660_powerhint.json +++ b/power-libperfmgr/sdm660_powerhint.json @@ -176,6 +176,28 @@ "" ], "Type": "Property" + }, + { + "Name": "Dex2oatThreads", + "Path": "vendor.powerhal.dalvik.vm.dex2oat-threads", + "Values": [ + "1", + "2", + "4", + "6" + ], + "Type": "Property" + }, + { + "Name": "Dex2oatCPUSet", + "Path": "vendor.powerhal.dalvik.vm.dex2oat-cpu-set", + "Values": [ + "2,3", + "0,1,2,3", + "0,1,2,3,4,5", + "0,1,2,3,4,5,6,7" + ], + "Type": "Property" } ], "Actions": [ @@ -334,6 +356,66 @@ "Node": "GPUMaxFreq", "Duration": 0, "Value": "647000000" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_LIGHT", + "Node": "Dex2oatThreads", + "Duration": 0, + "Value": "4" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_LIGHT", + "Node": "Dex2oatCPUSet", + "Duration": 0, + "Value": "0,1,2,3,4,5" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_MODERATE", + "Node": "Dex2oatThreads", + "Duration": 0, + "Value": "2" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_MODERATE", + "Node": "Dex2oatCPUSet", + "Duration": 0, + "Value": "0,1,2,3" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_SEVERE", + "Node": "Dex2oatThreads", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_SEVERE", + "Node": "Dex2oatCPUSet", + "Duration": 0, + "Value": "2,3" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_CRITICAL", + "Node": "Dex2oatThreads", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_CRITICAL", + "Node": "Dex2oatCPUSet", + "Duration": 0, + "Value": "2,3" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_EMERGENCY", + "Node": "Dex2oatThreads", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "THERMAL_fps-therm-monitor_EMERGENCY", + "Node": "Dex2oatCPUSet", + "Duration": 0, + "Value": "2,3" } ] }