Merge "[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile." into main

This commit is contained in:
Jimmy Shiu 2024-10-02 03:13:56 +00:00 committed by Android (Google) Code Review
commit f33d8b228b

View file

@ -15,6 +15,21 @@
} }
] ]
}, },
{
"Name": "PreferIdle",
"Actions": [
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/proc/vendor_sched/prefer_idle_set",
"ProcFilePath": "/proc/vendor_sched/prefer_idle_set",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{ {
"Name": "CameraServicePerformance", "Name": "CameraServicePerformance",
"Actions": [ "Actions": [
@ -306,7 +321,7 @@
}, },
{ {
"Name": "InputPolicy", "Name": "InputPolicy",
"Profiles": [ "ResetUclampGrp" ] "Profiles": [ "MaxPerformance", "ResetUclampGrp", "PreferIdle" ]
} }
] ]
} }