android_system_core/libprocessgroup
Siarhei Vishniakou 9ad453ffae Set input thread priority to RT - try 4
This reverts commit 52da71d47b.

Reason for revert: camera was using its own stale copy of libprocessgroup, and now has revved up its version that includes the new parsing code. So this time the json file update should work OK.

Original description:

To improve input latency, set the critical input threads to RT priority.
This will use RT priority on AOSP devices by default. OEMs can still
choose to customize what "input policy" means for their device, which
may not necessarily mean RT.

For example, on device with multiple small / big cores, input task
affinity could be changed to prioritize big cores + higher CPU frequency
/ voltage, but still keep the standard / default input thread priority.

Note: there is an open issue where the thread priority is not remaining constant. See b/378761104.

Bug: 330719044
Bug: 378761104
Flag: com.android.input.flags.enable_input_policy_profile
Test: took perfetto trace and checked the priority on InputDispatcher
and InputReader threads.

Change-Id: I449be0eeeac989222f5deefa62615478bd65b968
2024-11-13 00:56:06 +00:00
..
cgrouprc Reapply "libprocessgroup: Remove ACgroupController_getMaxActivati..." 2024-10-08 23:42:54 +00:00
cgrouprc_format Reapply "libprocessgroup: Remove cgroup.rc file" 2024-10-08 23:42:49 +00:00
include/processgroup Reapply "libprocessgroup: Remove cgroup.rc file" 2024-10-08 23:42:49 +00:00
profiles Set input thread priority to RT - try 4 2024-11-13 00:56:06 +00:00
setup libprocessgroup: Update libprocessgroup dependencies 2024-11-01 21:16:29 +00:00
tools libprocessgroup/tools: Add settaskprofile command-line tool 2021-11-09 22:35:51 +00:00
util Reapply "libprocessgroup: Combine all 3 ActivateControllers imple..." 2024-10-08 23:42:55 +00:00
Android.bp libprocessgroup: Update libprocessgroup dependencies 2024-11-01 21:16:29 +00:00
build_flags.h Add build flag to split the cgroup v2 hierarchy into apps/system 2024-04-08 21:15:48 +00:00
cgroup_map.cpp Reapply "libprocessgroup: Combine all 3 ActivateControllers imple..." 2024-10-08 23:42:55 +00:00
cgroup_map.h Reapply "libprocessgroup: Combine all 3 ActivateControllers imple..." 2024-10-08 23:42:55 +00:00
internal.h Reapply "libprocessgroup: Remove cgroup.rc file" 2024-10-08 23:42:49 +00:00
OWNERS Remove carlosgalo from libprocessgroup OWNERS 2024-10-21 17:10:34 +00:00
processgroup.cpp Don't use android::base::StartsWith / EndsWith 2024-10-25 17:20:01 +00:00
sched_policy.cpp libprocessgroup: Remove schedtune support 2024-10-02 14:47:45 +00:00
task_profiles.cpp Merge "Set input thread priority to RT - try 2" into main 2024-10-31 23:51:47 +00:00
task_profiles.h Merge "libprocessgroup: Remove SetClamps action" into main 2024-10-15 22:56:36 +00:00
task_profiles_test.cpp libprocessgroup: Rename CgroupController -> CgroupControllerWrapper 2024-08-09 18:35:29 +00:00
TEST_MAPPING Revert^2 "Move StagedRollbackTest from postsubmit to presubmit" 2024-06-27 01:59:14 +00:00