OSDN Git Service

Offer to move both code and data together.
authorJeff Sharkey <jsharkey@android.com>
Thu, 30 Apr 2015 22:58:19 +0000 (15:58 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 30 Apr 2015 23:02:58 +0000 (16:02 -0700)
commitd792118c493806eeb24a8203f508e6e18fe93bd7
tree4062688e4b0c804601f3ff3f2f962a28e98d5cae
parent7a6c5861619ab42f2a34903591ed24a265f68c26
Offer to move both code and data together.

We now move code under /data/app/com.example when a complete move
is requested.  This really only works for new cluster-style installs
that also have native libraries and OAT contained inside.

Teach measuring code about cluster-style installs when measuring
app footprint.  Also offer to measure private data space for all
users.

Bug: 1999366720275578
Change-Id: I6df7b947cb5cc8a4552f56f4b64a661e8512389f
cmds/installd/commands.cpp
cmds/installd/installd.cpp
cmds/installd/installd.h
cmds/installd/tests/installd_utils_test.cpp
cmds/installd/utils.cpp