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
Android.mk
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