[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.

Flag: com.android.input.flags.enable_input_policy_profile
Bug: 369574417
Change-Id: I7800c8a86f60a7513fdd6a4470002e6a62ede4ec
This commit is contained in:
Jimmy Shiu 2024-09-25 15:20:39 +00:00
parent 583bb0245b
commit 7f7e44cc15

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",
"Actions": [
@ -291,7 +306,7 @@
},
{
"Name": "InputPolicy",
"Profiles": [ "ResetUclampGrp" ]
"Profiles": [ "MaxPerformance", "ResetUclampGrp", "PreferIdle" ]
}
]
}