android_system_core/libprocessgroup/profiles
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
..
Android.bp Add proposed trendy teams for VTS modules 2024-10-12 08:53:10 +00:00
cgroups.json Revert "Migrate the blkio controller to the v2 cgroup hierarchy" 2024-01-26 03:54:47 +00:00
cgroups.proto libprocessgroup: Add MaxActivationDepth 2024-06-18 15:50:21 +00:00
cgroups.recovery.json libprocessgroup: fix uid/pid hierarchy for recovery mode 2021-02-11 17:03:19 -08:00
cgroups_test.h libprocessgroup_proto_test split into multiple files 2019-03-15 12:34:42 -07:00
task_profiles.json Set input thread priority to RT - try 4 2024-11-13 00:56:06 +00:00
task_profiles.proto Add support for memcg v2 attributes 2022-03-17 14:18:14 -07:00
task_profiles_test.h libprocessgroup_proto_test split into multiple files 2019-03-15 12:34:42 -07:00
test.cpp Fix build with new googletest 2019-11-10 04:08:25 +00:00
test_vendor.cpp libprocessgroup: Add VTS tests for vendor JSON files 2019-03-15 16:28:42 -07:00