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
(cherry picked from commit 3745ce7aa8)
This commit is contained in:
parent
df72c168d3
commit
814673ace3
1 changed files with 5 additions and 1 deletions
|
|
@ -584,7 +584,7 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
}
|
||||
],
|
||||
|
||||
"AggregateProfiles": [
|
||||
|
|
@ -635,6 +635,10 @@
|
|||
{
|
||||
"Name": "CPUSET_SP_RESTRICTED",
|
||||
"Profiles": [ "ServiceCapacityRestricted", "TimerSlackNormal" ]
|
||||
},
|
||||
{
|
||||
"Name": "Dex2OatBootComplete",
|
||||
"Profiles": [ "SCHED_SP_BACKGROUND" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue