OSDN Git Service

Extract profile files in their dedicated folder
authorCalin Juravle <calin@google.com>
Mon, 1 Feb 2016 12:12:16 +0000 (12:12 +0000)
committerCalin Juravle <calin@google.com>
Fri, 19 Feb 2016 16:51:35 +0000 (16:51 +0000)
commit6a1648e2f161cb1d7c46aa9d27e8062521a9f314
treeaad4f6e33168f056413826ee87e2171ab2dad35b
parent4318b9c88cca12485082687658ee3bab5ecd9013
Extract profile files in their dedicated folder

Current profiles (the ones which have not been used for
compilation) are stored in /data/misc/profiles/cur/0/pkgname/.

Reference profiles (the merged of all user profiles, used for
compilation) are stored in /data/misc/profiles/ref/pkgname.

The profile analysis flow has been changed to use profman
before calling dex2oat. profman decides if there is a need
for compilation and does the merging.

Bug: 26719109
Bug: 26563023
Bug: 26881016

Change-Id: I5a86ed5fd07a28e2e580f9c108428527ba7993b6
cmds/installd/commands.cpp
cmds/installd/globals.cpp
cmds/installd/globals.h
cmds/installd/installd_constants.h
cmds/installd/utils.cpp
cmds/installd/utils.h