Jeff Sharkey
abe4fe5b46
Change legacy "persona" references to userid_t.
...
Offers stronger typing with no functional change.
Change-Id: I09f0262470feec5cfdf26658f998c20550af84d4
2013-07-15 15:16:10 -07:00
Dianne Hackborn
1bd5068a51
Fix cmd line arguments for usagestats.
...
Change-Id: I9a1436aa1d1665924ba62a568bb4b66d67ae2814
2013-07-12 12:19:44 -07:00
Brian Carlstrom
e7a8b17e37
Renaming dalvik.vm.lib to persist.sys.dalvik.vm.lib
...
Change-Id: If31695e04bb813eb75b2fdd00e5d70ced4fbb0e9
2013-07-10 09:51:20 -07:00
Dianne Hackborn
5cd46aa339
Update to follow procstats options changes.
...
Change-Id: I6f016c944cfcd01bbbcf3cf37bc7ff05482f0012
2013-07-09 15:01:40 -07:00
Dianne Hackborn
3e5fa73722
Update to use --include-committed for procstats.
...
Change-Id: I5ce737b624c5617c94054d6bedebca754fbf16a9
2013-07-03 16:51:15 -07:00
Ken Sumrall
d3fa561616
Add support for mmc trace events
...
Change-Id: I1d9f2a85e50f8e30d418fb97c01ce7b0fbb680bd
2013-07-03 12:32:50 -07:00
Dianne Hackborn
02bea9786d
Add checkin dumps to bug reports.
...
This is a duplicate of the associated human-readable dumps
of these services, but much better for automated parsing.
Change-Id: I902b768b03aeac1472f03f96913f9b8ada5dba9c
2013-06-26 18:59:09 -07:00
Brian Carlstrom
1705fc44fb
Moving dex2oat installd patches from frameworks/base
...
(cherry picked from commit 3fa3a652ba9a7c5b23b6f2bc7c1851d4e23e430f)
Change-Id: I2f9bb66e1b0463bef41805f2d220160880121813
2013-06-19 23:20:49 -07:00
Amith Yamasani
12861530ef
Merge "Add a note about emulated sdcard in rawbu usage dump"
2013-06-14 18:00:01 +00:00
Amith Yamasani
b82bf9dfc9
Add a note about emulated sdcard in rawbu usage dump
...
Change-Id: I95af9175235a18716d63a863b482a323392e4fa2
2013-06-14 10:43:39 -07:00
keunyoung
caad555f3e
add dumpsys -l to list available services
...
- for people with poor memory like me :)
Change-Id: I60160ca333ac4864bb8328f164cc2e9eba3660fc
2013-06-13 16:32:26 -07:00
jp abgrall
c40f4e64f2
am 4b2b0a74
: am 74bd799e
: Merge "Exit dumpstate on SIGPIPE to avoid cascading child crashes"
...
* commit '4b2b0a7494c872b7d545a9abe2d08ca0d0325073':
Exit dumpstate on SIGPIPE to avoid cascading child crashes
2013-05-28 15:52:27 -07:00
jp abgrall
4b2b0a7494
am 74bd799e
: Merge "Exit dumpstate on SIGPIPE to avoid cascading child crashes"
...
* commit '74bd799ec20d2420459fa382533b1cc39ca9a54c':
Exit dumpstate on SIGPIPE to avoid cascading child crashes
2013-05-28 15:46:14 -07:00
John Michelau
885f888c55
Exit dumpstate on SIGPIPE to avoid cascading child crashes
...
When dumpstate ignores SIGPIPE it can lead to a cascade of tombstones /
coredumps since many of its children don't handle or ignore it. It's
best to just exit dumpstate once the pipe is broken.
Change-Id: Ic0c57ecf4171f0c0a07837e51c41cb1876e1350c
2013-05-28 14:20:59 -05:00
Tim Murray
f0f2841d95
Add RenderScript category for atrace.
...
Change-Id: I069a301329f4a579c7b2716fa52c3f4a0ae0062b
2013-05-23 14:39:42 -07:00
Jamie Gennis
7f9efade0d
am d2a92b5b
: am db733579
: Merge "atrace: add the \'dalvik\' trace category" into jb-mr2-dev
...
* commit 'd2a92b5b97b5a107d327744f216abdea8e0cda89':
atrace: add the 'dalvik' trace category
2013-05-08 15:03:56 -07:00
Mathias Agopian
002e1e58df
libutils clean-up
...
Change-Id: I6ff4cfc736751de2912c697f954e45e275f2d386
2013-05-07 18:28:11 -07:00
Jamie Gennis
d2a92b5b97
am db733579
: Merge "atrace: add the \'dalvik\' trace category" into jb-mr2-dev
...
* commit 'db733579a4c64eddd7dadb4ac15f54658ccfc0fb':
atrace: add the 'dalvik' trace category
2013-05-07 18:23:18 -07:00
Jamie Gennis
db733579a4
Merge "atrace: add the 'dalvik' trace category" into jb-mr2-dev
2013-05-08 01:21:17 +00:00
Jamie Gennis
eff2e8d237
atrace: add the 'dalvik' trace category
...
Bug: 8856374
Change-Id: Ie7759328333d21d8123ce9d4f1a177cae5ede51e
2013-05-07 15:20:57 -07:00
Erik Gilling
63d076e339
flatland: add 1920x1200 to 16:10 resolutions
...
Change-Id: Ie7540c1ca4ec2c7ea8a307ce118d35479cdf499c
2013-05-07 12:32:59 -07:00
Erik Gilling
7bfdf27539
flatland: add 3:2 tests
...
Change-Id: I90496207fbf972c9a8e6baa2188a7732a282f879
2013-05-07 12:32:59 -07:00
Dianne Hackborn
ba018b3fa5
am 4fc27d79
: Merge "Fix issue #8768456 : Settings > App Info under reports..." into jb-mr2-dev
...
* commit '4fc27d79c29646b08ff059abc19cc4a7bccaa316':
Fix issue #8768456 : Settings > App Info under reports...
2013-05-02 15:15:17 -07:00
Dianne Hackborn
8b41780d73
Fix issue #8768456 : Settings > App Info under reports...
...
...app storage size for apps w/ .so files
The lib directories are tagged with the apk install number,
so must be explicitly passed down to installd.
Change-Id: Iae8815afd6ba964f5b2ed86a0d04a91827391ed6
2013-05-01 18:55:10 -07:00
Dianne Hackborn
0c71bb90f9
am 9380d78c
: Add new resources trace.
...
* commit '9380d78c98d8b8fbce9ade5881fab7134fadc015':
Add new resources trace.
2013-04-12 17:06:29 -07:00
Dianne Hackborn
9380d78c98
Add new resources trace.
...
Change-Id: Iab8c1ef51f491e818fb4bab0ba7a042f0d9bec9a
2013-04-12 16:58:24 -07:00
Ying Wang
46f19772ae
resolved conflicts for merge of c76e8a20
to jb-mr2-dev-plus-aosp
...
Change-Id: I895a8ad8c936a80c70aaac739c6441d3c7c55834
2013-04-09 22:27:50 -07:00
Ying Wang
8a0cb4ee0b
Add liblog
...
Bug: 8580410
Change-Id: I2ca4fa00dde0b574df3619134836bcb9315bd506
2013-04-09 21:55:39 -07:00
Geremy Condra
e167d889e4
am a3d3e137
: Merge "dumpstate: Add SELinux restorecon call."
...
* commit 'a3d3e137f473a965fefced9670e3b0c6b5f7f791':
dumpstate: Add SELinux restorecon call.
2013-04-04 23:42:15 -07:00
Robert Craig
957983787d
dumpstate: Add SELinux restorecon call.
...
Set the security context on the directory used
to dump Dalvik and native stack traces.
Change-Id: Iba13783f10e850485ce1a8d4aa5792d55085eb22
Signed-off-by: Robert Craig <rpcraig@tycho.ncsc.mil>
2013-04-04 06:33:10 -04:00
Jamie Gennis
f7f29c8f9d
atrace: add support for app tracing
...
This change adds support for the -a command line argument to atrace. This
argument sets the comma separated list of application names (i.e.
/proc/self/cmdline values) for which to enable application-level tracing.
Change-Id: I812d57c4cdc581943247229413f09b7e1adc10d0
2013-03-28 13:53:45 -07:00
Jamie Gennis
9794f90368
Merge "atrace: fix tracing on user builds" into jb-mr2-dev
2013-03-28 18:14:14 +00:00
Jamie Gennis
6f6f3f710b
atrace: fix tracing on user builds
...
Change-Id: Idef15d514f0bd1e117362c6a06a2ea24314feb7f
2013-03-27 15:50:30 -07:00
Geremy Condra
437bdbbaec
Merge "Add seinfo parsing to PackageManagerService." into jb-mr2-dev
2013-03-26 01:39:22 +00:00
Robert Craig
4d3fd4e998
Add seinfo parsing to PackageManagerService.
...
This patch set allows the PMS to parse the
mac_permissions.xml file which contains the
seinfo values. Each package that is installed
on the device will be assigned an seinfo value
based on policy. This seinfo value will help label
the app process and data directory. Modifications
include adjustments to ApplicationInfo.java
to store the seinfo tag per package as well as
adjustments to installd to communicate the seinfo
tag to libselinux.
Change-Id: I61ad1ea12fb6a9a6d0b108ec163bc4bf4c954b58
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
2013-03-25 17:37:51 -07:00
Jeff Sharkey
aaaa57bf89
Bugreport broadcasts are only useful to owners.
...
Bug: 8415156
Change-Id: Ia73969262abe9f715f038dad934651d7e5d65c87
2013-03-25 17:15:57 -07:00
Jamie Gennis
43122e7e67
atrace: use creat instead of truncate
...
Change-Id: Ie25c704f33c419c0c542249ae2841393862df0ab
2013-03-21 14:06:57 -07:00
Jeff Sharkey
a6c1ab52e3
Merge "Move screenshots near beginning of dumpstate." into jb-mr2-dev
2013-03-20 19:09:45 +00:00
Jeff Sharkey
5a93003d3f
Move screenshots near beginning of dumpstate.
...
Bug: 8420215
Change-Id: I6adffd1182ed8f99b8d11d43785a4eb4a388ceb5
2013-03-19 15:19:48 -07:00
Jamie Gennis
79fb99d0de
Merge "atrace: add support for tracing kernel functions" into jb-mr2-dev
2013-03-18 21:54:44 +00:00
Jamie Gennis
e9b8cfb632
atrace: add support for tracing kernel functions
...
This change adds support for tracing specific kernel function calls using the
function_graph tracer. It adds a '-k' option to atrace that accepts a comma
separated list of kernel function names for which tracing will be enabled.
Change-Id: I872b2f1d474b8ebb904053853fc8cf8c0a98089c
2013-03-18 13:56:18 -07:00
Jeff Sharkey
7560443061
Increase screenshot timeout.
...
Devices with large displays take longer than 5 seconds to write.
Change-Id: If74bc4a3cec366ae28eca549bce28ef212e47d8f
2013-03-14 10:20:31 -07:00
Jeff Sharkey
d77d4e0edc
Merge "Support broadcast when dumpstate finishes." into jb-mr2-dev
2013-03-14 15:44:15 +00:00
Jeff Sharkey
27f9e6d849
Support broadcast when dumpstate finishes.
...
Add flag that sends BUGREPORT_FINISHED broadcast when dumpstate
is finished, including the resulting filesystem paths. Also reduces
directory creation to 0770.
Bug: 7005318
Change-Id: Id4c6b699a56f8acd859b7ab73368500e1a8f3c67
2013-03-13 16:59:27 -07:00
Jamie Gennis
b2a89e3155
atrace: add the webview category
...
Change-Id: Iefb552cd275bb5784903e8bf328890ecd233e45b
2013-03-11 19:41:28 -07:00
jp abgrall
574d6902b7
am ba8abb51
: Merge "Ensure dumpstate children die"
...
* commit 'ba8abb517d1eddebeda62bf907fa446e3c3b81f6':
Ensure dumpstate children die
2013-03-11 12:28:06 -07:00
John Michelau
e7b6cf13f9
Ensure dumpstate children die
...
Use prctl(PR_SET_PDEATHSIG, SIGKILL) in each forked child to ensure
it dies when dumpstate dies.
This is important for two cases:
- dumpstate runs a timer for each child process. On expiration, it
sends SIGTERM to kill the process. Sometimes SIGTERM isn't enough
to kill a hung process, so the child lives on.
- When dumpstate is killed by the user before completing, outstanding
children continue to run and generate output.
Change-Id: I96e0dc918c26d56c9fee53611980ba2edd238712
2013-03-11 11:44:15 -05:00
Mathias Agopian
649b976a00
limit number of extra binder threads in SF to 4
...
it should be enough and it makes debugging easier.
Bug: 6609290
Change-Id: I2341e20cfcfde184fe1ed9b925215f8fa3481ced
2013-03-07 15:32:47 -08:00
Nick Kralevich
98ca63e6d1
am 22641851
: Merge "dumpstate: use correct header file."
...
* commit '22641851c48fee6e79d01adcfab01c0b625cfb3c':
dumpstate: use correct header file.
2013-03-01 18:05:56 +00:00
Nick Kralevich
d747129e1e
installd: use correct header file.
...
This is a port of https://android-review.googlesource.com/52540 ,
which doesn't apply cleanly to master.
Change-Id: I2824bb7afd4e343b5dc8bed9f24002ec1dcbf07f
2013-02-28 16:59:13 -08:00