summaryrefslogtreecommitdiff
path: root/cmds/installd/installd.cpp
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2015-12-24 12:36:41 +0200
committer Calin Juravle <calin@google.com> 2016-01-19 11:26:12 -0800
commit60a794dc845b942907ca035ddc554eb8e0c7ebb6 (patch)
tree1b9ce80babace091ef8f534f3601b96c3892b1e8 /cmds/installd/installd.cpp
parentd644021b37ac57f87bb94e2f4907e8f18e2e979e (diff)
Add profile guided compilation hooks in installd
Bug: 26080105 Change-Id: I6aaddffe79c55b9a6560c2d6542cf87abbd4fb11
Diffstat (limited to 'cmds/installd/installd.cpp')
-rw-r--r--cmds/installd/installd.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmds/installd/installd.cpp b/cmds/installd/installd.cpp
index 8542c4ab0b..62b5bb032a 100644
--- a/cmds/installd/installd.cpp
+++ b/cmds/installd/installd.cpp
@@ -214,9 +214,10 @@ static int do_destroy_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSE
static int do_dexopt(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED)
{
- /* apk_path, uid, pkgname, instruction_set, dexopt_needed, oat_dir, dexopt_flags */
+ /* apk_path, uid, pkgname, instruction_set, dexopt_needed, oat_dir, dexopt_flags, volume_uuid,
+ use_profiles */
return dexopt(arg[0], atoi(arg[1]), arg[2], arg[3], atoi(arg[4]),
- arg[5], atoi(arg[6]));
+ arg[5], atoi(arg[6]), parse_null(arg[7]), (atoi(arg[8]) == 0 ? false : true));
}
static int do_mark_boot_complete(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED)
@@ -321,7 +322,7 @@ struct cmdinfo cmds[] = {
{ "move_complete_app", 6, do_move_complete_app },
{ "get_app_size", 9, do_get_app_size },
- { "dexopt", 7, do_dexopt },
+ { "dexopt", 9, do_dexopt },
{ "markbootcomplete", 1, do_mark_boot_complete },
{ "rmdex", 2, do_rm_dex },
{ "freecache", 2, do_free_cache },