| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I5c9bb4aa74d8a36d44e086bbcb5d60876727ce4c
|
|
|
|
|
|
|
|
|
|
|
| |
This option doesn't work with the current selinux protections and
doesn't serve much of a purpose. You can get the same results running
this:
dumpstate | gzip > /data/local/tmp/dump.txt.gz
Bug: 19271141
Change-Id: Icc76200df33dc708e30c556ec8a0f393f995fe7c
|
|
|
|
| |
Change-Id: I60fc9e7d59c3e0e4b8b2f69f79c6903240bfd131
|
|
|
|
| |
Change-Id: I1dad32ab459c25063a70cf52100a29d00fea3a90
|
|
|
|
| |
Change-Id: Ia1db51c866890f09fbd4316764dea5982554598f
|
|\ |
|
| |
| |
| |
| |
| |
| | |
(This file wasn't including <strings.h> for bzero or <string.h> for memset.)
Change-Id: Icef0e0dbfd36ebd21058cfd8c747e0a17aee8308
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Implemented these changes:
- Make this code C++.
- Avoid hangs by adding a timeout.
- Add the necessary TEMP_FAILURE_RETRY calls.
- Restructure the code a bit.
Bug: 18800936
Change-Id: Iba9f86a4c7beee4f0f36e51234855f4c0834db47
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the native stack dumping functions that allows time outs. If
debuggerd locks up, before a bugreport would hang forever. Now
it will timeout properly and still get all of the other information.
Bug: 18766581
(cherry picked from commit 457731f69e3106b5aae8fc04f9565af1d875876c)
Change-Id: I39e8e9c60209e3ef9efac795fedb8e1edce2bd3e
|
|
|
|
|
|
| |
The previous version printed out the nanoseconds elapsed, not seconds.
Change-Id: I10f6d7bf7b7a4647658313ed83781fda6fd744a5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When decrypting a device, a tmpfs is temporarily mounted as /data,
the size of which is usually small. When the zygote, system server
and necessary apps are brought up, they will be compiled into the
tmpfs.
If the system image contains prebuilts, they will be relocated instead
of compiled. This is unnecessary. In this special situation it is
acceptable to run out of the prebuilt oat files without relocation,
which can save space in the tmpfs.
This patch ensures that apps are not being relocated.
Change-Id: I42bfb7e3039574b7e4f2772e0d395f093d59ed1b
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add swap file support for dex2oat to installd. Only use in low-memory
mode.
Bug: 18596910
(cherry picked from commit f68ce4de7fcfcc090af7985972b304eed7dbaf63)
Change-Id: I131448f3907115054a592af73db86d2b9257ea33
|
|
|
|
|
|
| |
Dalvik is dead. Dexopt is dead.
Change-Id: I9ff6b638a3e2c52ae7aec33d7b08a7bee012854f
|
|
|
|
|
|
|
| |
Mark 2 unused paramters to prevent clang from erroring out
Change-Id: Ifc9b4a5b820bd6318e9259e737e708d25fdb174b
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Parser does not take into account that the last argument can be empty.
In this case it will skip end of line marker and continue parsing.
Change-Id: I2d029a69ed22cef497893e592ff3275ced97f85f
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I692179cae9d476dd5a0b5fa92813b61934dd7c87
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
bug: 18280671
(cherry picked from commit b1a6c2f95a455aa2829340fcc8d233493855f4d4)
Change-Id: I97542875ffff1b68ab324e9b04fb9266c82633cc
|
| |
| |
| |
| |
| | |
Bug: 18056890
Change-Id: Ia266fa9f2a79158ced82016106aa1cd2529259c9
|
|\ \
| | |
| | |
| | |
| | | |
* commit '60fd3feecab4336d964ca8e31c7c3220e1afb558':
Migrate CA certificates to all users
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Copies the /data/misc/keychain/cacert-* directories to all users on
the device, whereas previously they were simply copied to user 0.
This is a shallow copy so anything that wasn't supposed to be there
will disappear.
Bug: 17811821
Change-Id: Iae5909ab8d5efdb83c9c8fdf0e10ab7060d022cc
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'a91968fd099378d1673c7443be16adcb97ee40af':
Accept socket connection before tracing.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Sometimes dumping threads takes a long time and bugreport times
out. This change will cause us to accept the bugreport socket connection
before dumping threads and should avoid the failed to connect to dumpstate
service problems we've seen.
Bug: 17758374
Change-Id: I80afa0353cf1c340873f481a8d1d7faffff54120
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit 'cde4b13a12a0bc8a7bd031f5d5c1b2b2bdd13335':
Allow more than one dex2oat extra option
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
All extra options are provided as one argument to dex2oat.
The patch splits all options to individual ones.
Change-Id: Ied65bb9cf38b114611e88a8d5d86305021700d0b
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Signed-off-by: Yevgeny Rouban <yevgeny.y.rouban@intel.com>
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
file." into lmp-dev
* commit 'd94854030c76fc4ee4126ca1707a76fbd1f29126':
Include the VPN server IP address in the VPN state file.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This will be used by LegacyVpnRunner to create a throw route
pointing at it.
Bug: 17462989
Change-Id: I3ebf0cec726dd12b2c57ba5d66775f8c02b25b70
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit 'e1e3d278549eb6389eb0b5fa3f13a4ac079a55a2':
Clean cruft out of makefiles.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cleans up manual uses of stlport and bionic (and removes uses of private
bionic headers).
Change-Id: I157309d702e59152adfa3450939082248ae4c043
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ic212ab2ee90b1cc7db7203210b047c870bb5c476
|
| | |
| | |
| | |
| | |
| | | |
BUG: 17474723
Change-Id: If40f5e765090cfb970e4129b78b1e74cf8bad217
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The clock() function returns the processor time used by the process. This
is not a good timeout mechanism since the code is suspended most of the
time waiting for the forked process to finish. Replace with the time()
function.
Bug: 17154069
(cherry picked from commit 89d4949f86f4f7b6710e951afefad186c667fd6e)
Change-Id: I42f0f24ee53ef99955fd482a1089e39d491f3bd5
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '70b9e6c8f3221bbbeefc85c70746541a5b318afc':
Make dumpstate vibrate immediately.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, the vibration was not performed until after stacks
were gathered which takes a long time. Moved the vibration
to happen earlier so we provide better user feedback for the
three-button salute when collecting a bug report.
Deleted some dead code for playing begin/end sounds.
Improved the timing measurement code to help track down why
bug reports are so slow. (They take over a minute now which
can cause us to lose valuable diagnostic information.)
Bug: 17474152
Change-Id: Iac73f7993d7dc85196aad96f459b22fd4a710f94
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '5ef471c5f986a52c681a29856c38f72127cdf8ac':
Use time() instead of clock() for timeouts.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The clock() function returns the processor time used by the process. This
is not a good timeout mechanism since the code is suspended most of the
time waiting for the forked process to finish. Replace with the time()
function.
Bug: 17154069
Change-Id: Ib383329f9db269445d71a100553b08e71fddda3f
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '464e539cd3e931aaca99a67d0addc6d68bd96b3d':
Add new system APK locations.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add /system/priv-app and /oem/app paths to system paths. Also allow
rmdex on system apps, and quietly ignore when it was already removed.
Also relax logging when clearing code cache, since it's optional.
Bug: 17205122
Change-Id: I4fc4d0f63a3596937c4defbd64e1f8a1c563f02d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 16875245
(cherry picked from commit 5f727f86942a188354c028356f1167794fdc8655)
Change-Id: I06e14c405aa4af295795982c1d236be3cb00e893
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '51eec3b98788039afc5fd7ffe76612c7f8d9b39c':
Fix relabeling of secondary user package directories.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When relabeling secondary user package directories, we need to use
the uid of the directory rather than the primary package UID;
otherwise, levelFrom=user will not work correctly.
Change-Id: I0d76ec6ec6fe56a566023ca5e1398efdf28fc81e
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '8c1642ad4ea8fbeb7d03f30e5f50e03c28d40065':
Remove obsolete prunedexcache
|
| | |
| | |
| | |
| | |
| | | |
Bug: 16875245
Change-Id: I06e14c405aa4af295795982c1d236be3cb00e893
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The flag enforces interpret-only flag for dex2oat.
Bug: 12457423
(cherry picked from commit b1efac103523efccbe671e76cc0eaaeab810415b)
(cherry picked from commit 97477d203eaf0c3235bbe2415356f20a0431cada)
Change-Id: I215339527e998b24e274c8df42a5024839e6a9fa
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 16716262
(cherry picked from commit 8fc7315a67fdbf9b56cc6fa061f0773be2223a81)
Change-Id: I3cb1d82604612bc7212bcbdeef685bc05b695b6a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
System apps are now installed under their own directory
(system_app_dir/app_dir/app.apk). The new path doesn't pass installd
validation because of obsolete checks which verify that the path does
not contain subdirectories past the system_app_dir.
The CL fixes the validation to accept at most on subdirectory.
Bug: 17109858
(cherry picked from commit c597b6dd895dbb2b28c757ce7a2651b3cdc9b00c)
Change-Id: Ic5f15d1864c6af9f4c4b07dc27244ebbb521ad5e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the current directory layout this prevented rm_dex and move_dex
commands to validate the apk path and thus cleaning up resources.
Bug: 16888084
(cherry picked from commit fd88ff2edd954117e36372fb095b6f5f35aad0e3)
Change-Id: I1002529b0c35852c67540d3165d1444523460592
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 15165413
(cherry picked from commit e18987efb5e39ca1bed15527b7b82bde55c99669)
Change-Id: Ie55ef400c9d1f231b3be64248c756ac798a11ffe
|