[task_profiles]Add MaxPerformance and PreferIdle to InputPolicy profile.

Flag: com.android.input.flags.enable_input_policy_profile
Bug: 369574417
Change-Id: Iab14bf54c75911fcb48b316f66bc0293d5faf76c
This commit is contained in:
Jimmy Shiu 2024-09-25 15:21:15 +00:00
parent 57a8d79710
commit 0911e1e72c

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