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:
Wei Wang 2021-07-07 17:46:28 -07:00
parent df72c168d3
commit 814673ace3

View file

@ -584,7 +584,7 @@
}
}
]
},
}
],
"AggregateProfiles": [
@ -635,6 +635,10 @@
{
"Name": "CPUSET_SP_RESTRICTED",
"Profiles": [ "ServiceCapacityRestricted", "TimerSlackNormal" ]
},
{
"Name": "Dex2OatBootComplete",
"Profiles": [ "SCHED_SP_BACKGROUND" ]
}
]
}