| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 19993667, 20275578
Change-Id: I6df7b947cb5cc8a4552f56f4b64a661e8512389f
|
|
|
|
| |
Change-Id: I809377f80e314b358eba22fa916e53c81cac2c47
|
|\
| |
| |
| |
| |
| |
| | |
data between volumes."
* commit 'a36a43b354b248cef9407de42fb6b87e1c7085f6':
Command to move private app data between volumes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
New "mvuserdata" command will move all private app data from one
volume UUID to another. It leverages the existing "cp" toybox
command to do the heavy lifting for all known users, preserving
details like timestamps and permissions. It invokes restorecon()
to correctly label the new location when the copy is finished.
Changes installd to no longer drop capabilities, so we run as root
again. This also allows us to exec "cp" with CAP_DAC_OVERRIDE and
CAP_FOWNER still in effect.
Bug: 19993667
Change-Id: I1f407a7c4a1af97ca5afc27b04eb16b4936cbdef
|
|\ \
| |/
| |
| |
| |
| |
| | |
from framework."
* commit '8571e647da1e9c2227d22034ba6462235273cb02':
Start accepting volume UUIDs from framework.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We're now parsing and passing through volume UUIDs sent across the
command socket. The "!" argument value is treated as null, which
means internal storage.
Bug: 19993667
Change-Id: I17729a769ce687a2e94e85991a6338c77ded0b66
|
|\ \
| |/
| |
| |
| | |
* commit 'ad6f4996dc909dcb8e6e369bf41be514077fb142':
More volume UUID awareness.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Teach free_cache() and restorecon_data() about building per-volume
paths. Also clean up restorecon_data() by using std::string when
building paths.
Clearer names for path building utility methods, and tests to verify.
Bug: 19993667
Change-Id: Iacfbcdaa5b901cc2490bc8eba366dfdeb44f1d93
|
|\ \
| |/
| |
| |
| | |
* commit '6930a29af13f4a958fa7cba544233d2febe4040b':
Installd: Fix Clang build
|
| |
| |
| |
| |
| |
| | |
Remove some unused parameters and variables.
Change-Id: I507ae48fe1744b800ceb29192d463fd26c2ccda7
|
|\ \
| |/
| |
| |
| |
| |
| | |
building paths."
* commit '65fe5dfdcd08650e0dfbb39f4a716567fb910cab':
Plumb through volume UUID when building paths.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since app data paths can live on expanded storage devices, accept the
target volume UUID when building paths. The null UUID indicates the
default internal storage.
To improve readability, start using std::string in several places,
which throws when allocations fail. For now, perform last-second
sanity checks on incoming path arguments, but we'll eventually want
to check arguments as they come through installd.cpp, instead of
crashing the entire daemon.
Also remove "lib" symlink code from install() and make_user_data(),
since we're no longer supporting /data/app-lib. The framework
already uses linklib() to create the right symlink for the selected
ISA-specific library dir.
Bug: 19993667
Change-Id: Ib9343575ffb62bf3981e19375de8f3822fc31e28
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
SELF_PATCHOAT_NEEDED."
* commit 'b8d1ee37c4a6897442f5d381d5eb7162e04fcebd':
installd: Add support for SELF_PATCHOAT_NEEDED.
|
| |\ \ |
|
| | |/
| | |
| | |
| | | |
Change-Id: Ib9a6373f98474f1242367b5285086251a9d580e5
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'd029e95a58ea0927ebd3431d9991cd316e568002':
dumpstate: scrub APANIC
|
| |/
| |
| |
| |
| | |
Bug: 19525200
Change-Id: Ia2d2857cac953fb4ceafb66ddf775d89d7a777b1
|
|\ \
| |/
| |
| |
| |
| |
| | |
C++."
* commit 'eb3704a58e62c0f85cfea776df1040b677263c80':
Switch installd to compile as C++.
|
| |
| |
| |
| |
| |
| |
| | |
This is the minimal change needed to switch it over to C++, which
paves the way for using more robust utilities like std::string.
Change-Id: I80ed6280146875eb6ddbbb340c05450388ca13f0
|
| |
| |
| |
| |
| |
| |
| |
| | |
Apps on expanded storage live at /mnt/expand/<uuid>/app/com.example,
so we need to relax one more directory level.
Bug: 19993667
Change-Id: I347ec7b92435ea69e632ed5d5fdfabe38ce0b56e
|
|\ \
| |/
| |
| |
| |
| |
| | |
creating oat dir"
* commit 'b58e6cbfa726add05bbe5e31e8ca13815ccf2049':
Use AID_SYSTEM as uid when creating oat dir
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously AID_INSTALL was used, which was causing permission denied errors
when PackageManager was trying to recursively rename staging directory
Bug: 19550105
Bug: 20087446
Change-Id: I3a9e3056c1fbc1ce0077a3ce52cf77ea6b5085ee
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Apps on expanded storage live at /mnt/expand/<uuid>/app/com.example,
so we need to relax one more directory level.
Bug: 19993667
Change-Id: I347ec7b92435ea69e632ed5d5fdfabe38ce0b56e
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Comes in handy for invoking transactions that require these types.
Change-Id: I8f14519a2531ab2ec7f3218ecda6d1868f6dd7b3
|
|\ \ \ \
| |_|/ /
|/| | /
| | |/
| |/|
| | |
| | | |
\'svcmgr_handle\' (which had wrong type)."
* commit '7b5f82d8d726e4bcd21c19340c0743a728bc0253':
Remove useless 'svcmgr_handle' (which had wrong type).
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also use the 'ptr' union member rather than 'handle'.
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Change-Id: I68e5336cd3af3bc61dbddd2b33d7e1512c0c329c
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
kernel/userspace binder version"
* commit '2d4cf62a2cdfbfbbca5757eb7dd1498d118bf7c9':
ServiceManager: Print kernel/userspace binder version
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds extra logging for the binder version in case the userspace
and kernel versions differ.
Change-Id: I9859b29099726cfcfe5ca23d88ed2e101a06af1a
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
variables"
* commit 'bce7799786ae712bba9b58f1f99cd12ee05b5cf3':
Fix errors caused by unused variables
|
| | |
| | |
| | |
| | | |
Change-Id: Ie52ae0e9a642504ee7b78c6bc54b61549cfb0342
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
in app directory"
* commit 'a46d5e4b9a598330e2a79395dbd201ab88aded00':
Support for storing OAT files in app directory
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changes to installd:
- dexopt now allows oat_dir param for custom output directory
- Added helper method calculate_oat_file_path for calculating oat file
output location based on oat_dir and apk_path.
Bug: 19550105
Change-Id: I6b079207310583adeb6dad918a58034a059e34c4
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
service_manager missing include for string.h"
* commit 'a231a1287815e80a5ab11e30254005b81254d891':
servicemanager: service_manager missing include for string.h
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
service_manager.c gets string.h inherited from
private/android_filesystem_config.h it should
not rely on this in the future. The intent is
to move fs_config function into libcutils and
thus deprecate any need for string.h in this
include file.
Bug: 19908228
Change-Id: Icc95ee02bf02c596463868b1330d209d1bd5c58a
|
|\ \ \ \
| |/ / /
| | | /
| |_|/
|/| |
| | |
| | | |
threads system property"
* commit '059e9c023eb025472db6775f9c2a95191dd6c2bf':
Installd: Support dex2oat threads system property
|
| |/
| |
| |
| |
| |
| |
| | |
Check dalvik.vm.dex2oat-threads in installd and pass to dex2oat.
Bug: 19992386
Change-Id: I5e7806cf560607d31a1d6901dffb14bee538c9cc
|
|\ \
| |/
| |
| |
| |
| |
| | |
atrace"
* commit '3e785e2ef93b068630d0ffb5178a5f38cc249a3d':
Add trace_event_clock_sync to atrace
|
| |
| |
| |
| | |
Change-Id: I8adce15210d82df09ff3a39ddd8df617aeb16a42
|
|\ \
| |/
| |
| |
| |
| |
| | |
directory."
* commit 'da08fc672ff9643ada87a38fb98c7bd604b678ad':
Store odex files in oat/<isa>/ directory.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously odex files were stored alongside the dex location as:
dex location: /foo/bar/base.apk
odex location: /foo/bar/<isa>/base.odex
This changes where odex files are stored, adding an "oat" directory:
dex location: /foo/bar/base.apk
odex location: /foo/bar/oat/<isa>/base.odex
See also the corresponding changes in platform/art and platform/build.
Bug: 19550105
Change-Id: I4c6be4f0c41ff175904846db8e360c4af815b265
|
|\ \
| |/
| |
| |
| |
| |
| | |
debug.usejit is true"
* commit 'a290b4b9121dab04c2989ab88017b8286075914b':
Use verify-at-runtime if debug.usejit is true
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 19735273
Change-Id: Ib65b50dbde00184544a1341f351a0fe0ef504d32
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '4b9d0b9b676afec086bf579015b2f74623b357fd':
dumpstate: add O_CLOEXEC
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Add O_CLOEXEC to various file descriptor calls, to avoid
leaking file descriptors to dumpstate's child processes.
Bug: 18342188
Change-Id: I74c47a98dfddc29c618067ad53d879b98ed1d87a
|