summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2021-07-07 17:46:28 -0700
committerWei Wang <wvw@google.com>2021-07-08 11:00:02 -0700
commit3745ce7aa84e9007c94cb64ac631f4fa15efe051 (patch)
tree6d7e4f3162a4ac633cae55071830c49363f0a465
parent94c2593ea065f91783601b1858dcac430f110c68 (diff)
downloadcore-3745ce7aa84e9007c94cb64ac631f4fa15efe051.tar.gz
task_profiles.json: add taskprofile for dex2oat boot_complete policy
Since installation time is also critical and sometime we want a finer control on its behavior for vendor. Instead of set dex2oat to background group, add a new task profile. The default policy is to mirror SP_BACKGROUND to be compatible with legacy devices. Test: Boot Bug: 188947181 Signed-off-by: Wei Wang <wvw@google.com> Change-Id: I7d5e113d1c368205f712eadad27775de226131ce
-rw-r--r--libprocessgroup/profiles/task_profiles.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/libprocessgroup/profiles/task_profiles.json b/libprocessgroup/profiles/task_profiles.json
index b5fa475fa..449a50546 100644
--- a/libprocessgroup/profiles/task_profiles.json
+++ b/libprocessgroup/profiles/task_profiles.json
@@ -584,7 +584,7 @@
}
}
]
- },
+ }
],
"AggregateProfiles": [
@@ -635,6 +635,10 @@
{
"Name": "CPUSET_SP_RESTRICTED",
"Profiles": [ "ServiceCapacityRestricted", "TimerSlackNormal" ]
+ },
+ {
+ "Name": "Dex2OatBootComplete",
+ "Profiles": [ "SCHED_SP_BACKGROUND" ]
}
]
}