| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The previous version printed out the nanoseconds elapsed, not seconds.
Bug: 18766581
(cherry picked from commit 67c5a8af9ed128d8bb56d4723303aef6f0a4500f)
Change-Id: Icbaaee83a92767694fd98e3c790f36f4d24681b0
|
|
|
|
|
|
|
|
| |
Add swap file support for dex2oat to installd. Only use in low-memory
mode.
Bug: 18596910
Change-Id: I131448f3907115054a592af73db86d2b9257ea33
|
|\
| |
| |
| | |
lmp-mr1-dev
|
| |
| |
| |
| |
| |
| | |
Don't put packages.xml in to the output.
Change-Id: I88a682866365886506a003a64deb4a29c16ba21c
|
|/
|
|
|
|
|
|
|
|
| |
The availability of these sysfs entries will vary based on the kernel's
supported filesystems, so don't block the disk category if some of them
are missing.
Bug: 18467498
Change-Id: I96200f1b5cf3f1a8fa8186602552adc96ddffc04
Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
|
|
|
|
|
| |
bug: 18280671
Change-Id: I6b3aeaf143ab3b78881f163ec5c17b9bf20172ed
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes jank caused by dex2oat while installing an application in the
background.
Bug: 17497551
Change-Id: I5a69b00c0fd76ae22a0d1adb242bef6c18a75743
|
|/
|
|
|
| |
Bug: 18085992
Change-Id: Ibc0a37d3d2649d1e6708d9357f37ed75f2cea121
|
|
|
|
|
|
|
|
|
|
|
| |
Both Sync Manager tracing and kernel sync tracing were using "sync" to
enable tracing and since Sync Manager was found first, this prevented
enabling kernel sync tracing.
To fix this, use "syncman" to enable Sync Manager tracing.
Change-Id: Id3b799e01e5041c582cd752c8c40d3e36954f821
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
| |
Change-Id: I7780ea8e1d777c222a73408f70d8a6d49dee1d92
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This will be used by LegacyVpnRunner to create a throw route
pointing at it.
Bug: 17462989
Change-Id: I3ebf0cec726dd12b2c57ba5d66775f8c02b25b70
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
It should nuke everything under the data directory. PMS will come
around and generate the lib symlink after we're finished.
Bug: 16739202
Change-Id: Ib70af2e1450e3bed6781fb497b9cc67e1e594c49
|
|/
|
|
|
| |
Bug: 12457423
Change-Id: I33345c5cce76681d8a6592ebae8c9f96a9f0f8bd
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The flag enforces interpret-only flag for dex2oat.
Bug: 12457423
Change-Id: Ifdafcc1afa32996577fa44c5682eeb58c79772ac
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
Bug: 16716262
Change-Id: Ifbc3a1520bc177aa87855edb60c36346f24c77cd
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Leave default signal handler (terminate) for parent process,
add SIG_IGN as signal handler for children and let them
go down when the parent gets SIGPIPE.
Bug: 17109154
Change-Id: Id33db3e97a32f289eb2a9a1a0ca8acbe3dcd285d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
Change-Id: I13abb52c0016610ff436f6a26bb6b3b85dc4dfb0
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
Change-Id: Iba579d075a9c6d7de047e7ffef95441498257086
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Writing to trace_clock erases the trace buffer, even if the value
hasn't changed. This prevents use of --async_start and --async_dump
to leave background tracing running and dump after an even that
needs debugging, because --async_dump writes to trace_clock and
resets the buffer before it can read it.
Read and parse the current value from trace_clock before writing,
and skip the write if the value isn't changing.
Change-Id: Ia2ec5bb654fb0bd179771b511ff261731ba47dca
|
|
|
|
|
|
|
| |
Add "memreclaim" to trace direct reclaim, shrink slab cycles, and
kswapd waking up and sleeping.
Change-Id: I4cfb313820a3a9aa5a9d07a39c42db41c24304a6
|
|
|
|
|
|
| |
Add "irq" to trace irq and softirq events.
Change-Id: I45356c2912a1fa130667ada7b21e9fb54ddcfba5
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Also added a couple of other existing missing tags in atrace.
Bug: 17004602
Change-Id: I6f697a2a15922bd4695acfa203d45eaae40cd00e
|
|/
|
|
|
| |
Bug: 15165413
Change-Id: Ie70bf4e1348b7b8b2454cf9b498b272416d61c34
|
|
|
|
|
|
|
|
| |
Bug: 15927194
(cherry picked from commit 0378aaf257aee92539d30543914a50c4481c6a18)
Change-Id: I462b5ac256c4d091ed4023cf4b97dd6a4abcaa5f
|
|
|
|
|
|
|
|
| |
Bug: 15165413
(cherry picked from commit 538998f204d1e542e235de9e7ce18ef4dc68c9cc)
Change-Id: Idae36efa1cb3fb99b51fa0a79b6bb037981d1c71
|
|
|
|
|
|
|
|
|
|
|
|
| |
[frameworks/native]
This will allow us to conditionally change the compiler-filter based on other properties.
Bug: 15165413
(cherry picked from commit cf51ba1360ee13459830a0502b0d454d0145544f)
Change-Id: I6613c9710878d56ed8c121e0caded76a64430f76
|
|
|
|
|
|
|
|
|
|
| |
Make installd understand a patchoat directive and carry it out.
Bug: 15358152
(cherry picked from commit 7365a10689df23334d245b211ce272502ad20669)
Change-Id: Id84a15e626ddde63876914068d3d9aa037abc65b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Explicitly dump IP addresses.
Currently, some IP addresses are dumped using netcfg, but that
only dumps the first IPv4 address on each interface. Instead,
call ip -4 addr and ip -6 addr explicitly to dump all IPv4 and
IPv6 addresses on the system.
2. Disable dumping /proc/net/{ipv6,}route, because:
- We already dump all IPv4 and IPv6 routes in the tables that
we use.
- /proc/net/route is confusing because it only includes routes
in the main table, which are all but unused. It's also in
unreadable host-byte-order hex.
- /proc/net/ipv6_route is confusing because it includes routes
from all tables but does not say what table they are in.
3. Instead of dumping the contents of /proc/net/arp , use
"ip -4 neigh show" and "ip -6 neigh show" to dump the
neighbour caches for both IPv4 and IPv6.
Bug: 16663736
Change-Id: Id3e509b877ab7b00eb2399b6a9868b12245da2f0
|
|
|
|
|
|
| |
Dump only those tombstones modified within the last half an hour.
Change-Id: I8ce836b2e19eba7a9c0c31a4f312f9a382526da7
|
|
|
|
|
|
| |
(cherry picked from commit 1e4ee9afd2de12af98dbf476b73e2d43f605384c)
Change-Id: Ie005774484f98bb33c8f867cddb778ac04a1d4ea
|
|
|
|
|
|
| |
(cherry picked from commit ec535c5ba515f58791aa5044ba116d35a10a188e)
Change-Id: I3da977d85ce544b23ff00934fdbd201d683e9210
|
|
|
|
|
|
|
|
|
|
|
|
| |
dumpstate was not dumping any stack traces for vm processes because
it was failing the string compare for /system/bin/app_process.
64-bit devices use app_process32 and app_process64 instead of
app_process, and zygote64 alongside zygote. Change the string
matching to be prefix matching.
(cherry picked from commit 8eb25d552b07ffa799b7b61ad46d0109e7512741)
Change-Id: I6b1568161fae278f0e6107990e5b750cf0ca902b
|
|
|
|
|
| |
Bug: 16187224
Change-Id: Ia860b051a34ffdfb4f6e0ea19f90cb73509c4eee
|
|
|
|
|
|
|
|
|
|
|
| |
Add SELinux MAC for the list and find functionality
to service_manager. By default the list action uses
the service_manager_type attribute as its target
object.
(cherry picked from commit c67e6307cadb1f2cd876907c42d39b8374b93acd)
Change-Id: Iaf14b21346822a6b544091a0f4a9949117934b9a
|
|
|
|
|
| |
Change-Id: I4617f770088f86ceda2caf58bd1fdae81b3e31df
(cherry picked from commit ed3b9a09771a79b62fd4a5943d3845e7ceee6a34)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Pass length through to str8 function.
2) Fix implicit function definition warning.
3) Check for NULL from bio_get_string16 functions.
Bug: 15886919
Bug: 15888753
(cherry picked from commit 7d42a3c31ba78a418f9bdde0e0ab951469f321b5)
Change-Id: I1f826b88826561ea126d811c087ba30623141511
|