[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.

Flag: com.android.input.flags.enable_input_policy_profile
Bug: 369574417
Change-Id: I80414f3931b93bb8b427d0d8e1b6b0c4debffea3
This commit is contained in:
Jimmy Shiu 2024-09-25 15:21:36 +00:00
parent ea7bd38c52
commit 562f2de924

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