replicant-frameworks_native/cmds/installd
Andreas Gampe 21948005f0 Installd: Allow different behavior before bootcomplete
Check dev.bootcomplete in dex2oat(). Use the information for
two changes.

Only switch to the background when we're post bootcomplete.
This will ensure better utilization after upgrades.

Add a second dex2oat-threads property that is used pre
bootcomplete. A separation of these phases allows using less
cores when the device is up, freeing up resources for other
purposes, e.g., avoid jank. The precedence during boot is the
boot property, or the image property if the former doesn't
exist, or the default property as a fallback.

Bug: 23898216
Bug: 24004256
Change-Id: I5063f3fc4b437cbe88c4e94584e01c1c78eccc4d
2015-09-16 15:10:55 -07:00
..
tests Offer to move both code and data together. 2015-04-30 16:02:58 -07:00
Android.mk Command to move private app data between volumes. 2015-04-10 00:21:35 -07:00
commands.cpp Installd: Allow different behavior before bootcomplete 2015-09-16 15:10:55 -07:00
installd.cpp Split app move into separate copy/delete steps. 2015-07-07 13:31:53 -07:00
installd.h Split app move into separate copy/delete steps. 2015-07-07 13:31:53 -07:00
utils.cpp Add an installd command to link files 2015-06-09 11:35:43 +01:00