From 59776002e341d835c408e81b30701b5a67e8f115 Mon Sep 17 00:00:00 2001 From: Joel Fernandes Date: Mon, 17 Apr 2017 13:40:16 -0700 Subject: [PATCH] Add a thread group for RT apps This will be used to provide minimum capacity guarantees to RT tasks sensitive to frequency drops such as synthesizer workloads. Bug: 33085313 Change-Id: I3f50ead5aaf496bb55cdb2426f22225a3d6c94ed Signed-off-by: Joel Fernandes --- core/java/android/os/Process.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java index 7a709ed59b15e..30749429c4cf8 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -386,6 +386,12 @@ public class Process { **/ public static final int THREAD_GROUP_TOP_APP = 5; + /** + * Thread group for RT app. + * @hide + **/ + public static final int THREAD_GROUP_RT_APP = 6; + public static final int SIGNAL_QUIT = 3; public static final int SIGNAL_KILL = 9; public static final int SIGNAL_USR1 = 10;