diff options
| author | Tim Murray <timmurray@google.com> | 2018-04-13 10:15:17 -0700 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2018-04-18 09:51:33 -0700 |
| commit | fef10a47a810f375f762e77240718774a5f518aa (patch) | |
| tree | 62f2a4191f20606d4d90970bcbd743a4c51915a0 /core/java/android | |
| parent | 528b18b3f0c6981f52d0e0830571485325cb040d (diff) | |
ActivityManagerService: add restricted cpuset
Test: CTS
bug 78197570
Change-Id: I9dd8daba6426b42b7e7e9388dbdac7bd8110b6ca
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/os/Process.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java index 21c1263c47d1..1d4d4ce172b2 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -416,6 +416,13 @@ public class Process { **/ public static final int THREAD_GROUP_RT_APP = 6; + /** + * Thread group for bound foreground services that should + * have additional CPU restrictions during screen off + * @hide + **/ + public static final int THREAD_GROUP_RESTRICTED = 7; + public static final int SIGNAL_QUIT = 3; public static final int SIGNAL_KILL = 9; public static final int SIGNAL_USR1 = 10; |
