History log of /frameworks/base/core/java/android/os/Debug.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3eda9799a162765dd49f481cc303fc5702a9c5fe 05-Mar-2010 Dan Egnor <egnor@google.com> Add Debug.dumpService(), a public method for "dumpsys" functionality
/frameworks/base/core/java/android/os/Debug.java
c4e1bf7282d454ba3e9ba16cde5b660d79dd5345 23-Feb-2010 Andy McFadden <fadden@android.com> Add class init stats to alloc counters (API change).

Add calls to retrieve class initialization stats via the allocation
count mechanism.

For bug 2461549.
/frameworks/base/core/java/android/os/Debug.java
07a9661f31797a68b8ecd3f135fe1417f214663b 29-Jan-2010 Andy McFadden <fadden@android.com> Added dumpHprofDataDdms() call.

This adds a hidden dumpHprofDataDdms() method, which initiates an hprof
dump that sends its data directly to DDMS.
/frameworks/base/core/java/android/os/Debug.java
72a20db0c71c6bddaa9fd2e4046242fc9d540e1c 22-Jan-2010 Andy McFadden <fadden@android.com> Add streaming method profiling support.

This adds a new (hidden) startMethodTracingDdms call. It's like the
normal method tracing calls, but you don't specify an output file.
Instead, when tracing stops, the data is sent directly to DDMS.

This also adds handlers for the MPSS/MPSE requests that DDMS sends.
/frameworks/base/core/java/android/os/Debug.java
e577232406649450a513140bf09cb3fc8c3fe046 22-Jan-2010 Andy McFadden <fadden@android.com> Move VM feature strings (used by DDMS) into VM.

Until now, we used a place-holder in frameworks/base.

Disable a test that shouldn't have been on.
/frameworks/base/core/java/android/os/Debug.java
bfd6d481fa6a7217cafa6d7760674ec927500b5a 23-Oct-2009 Andy McFadden <fadden@android.com> Add a reference table dump call.

This is just an android.os.Debug method that calls into the VM.

Bug 2075355
/frameworks/base/core/java/android/os/Debug.java
4f21c4cf077cfee5b35a56703618115614bc40f2 17-Sep-2009 Dianne Hackborn <hackbod@google.com> Add API to retrieve memory used by running processes.

Change-Id: I9c1935c2ef3c78bd67ec4dfd811a1caaab4514c3
/frameworks/base/core/java/android/os/Debug.java
3025ef332c29e255388f74b2afefe05f64bce07c 01-Sep-2009 Dianne Hackborn <hackbod@google.com> Various infrastructure to support a running services UI.

Some of this is temporary (in particular the two approaches for getting
process memory, one working but horrible, the other not working but
preferred) until I figure out the best way to do it.

Change-Id: I8c8f25062d481fcea22a47d459b083d2fd8a5040
/frameworks/base/core/java/android/os/Debug.java
afed82bca9e173cabe2c2f25314b202e5c1ccbca 25-Jun-2009 Dianne Hackborn <hackbod@google.com> am 9c8dd55a: Fix bug 1829561 ("am profile" with bad filename kills process).

Merge commit '9c8dd55a9d829c29a3feee9469d8c2f27a9f5516'

* commit '9c8dd55a9d829c29a3feee9469d8c2f27a9f5516':
Fix bug 1829561 ("am profile" with bad filename kills process).
9c8dd55a9d829c29a3feee9469d8c2f27a9f5516 24-Jun-2009 Dianne Hackborn <hackbod@google.com> Fix bug 1829561 ("am profile" with bad filename kills process).

The am command is now the one that takes care of opening the target file,
handling the opened file descriptor to the process that will be profiled.
This allows you to send profile data to anywhere the shell can access, and
avoids any problems coming up from the target process trying to open the
file.
/frameworks/base/core/java/android/os/Debug.java
a9e0bdbbd06c90c8f79ef6d59afedc1401c4926f 14-May-2009 Romain Guy <romainguy@android.com> am d4103d0d: Fix the build

Merge commit 'd4103d0d143f3774a2fc9e35afb0fffc2160d7fc'

* commit 'd4103d0d143f3774a2fc9e35afb0fffc2160d7fc':
Fix the build
a64b860749ad7e5f9e887013d87b56b928c5d405 14-May-2009 Android (Google) Code Review <android-gerrit@google.com> am aa642c0c: Merge changes 1591,1596 into donut

Merge commit 'aa642c0cc20293137376d44f8221876c121e5be9'

* commit 'aa642c0cc20293137376d44f8221876c121e5be9':
Get the backup calling through to the file backup helper.
Fix typos.
Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn().
Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build.
Add Intent.ACTION_APP_ERROR
d4103d0d143f3774a2fc9e35afb0fffc2160d7fc 14-May-2009 Romain Guy <romainguy@android.com> Fix the build
/frameworks/base/core/java/android/os/Debug.java
c4b11a79fb164310af03c1190622fe52e3695d2b 14-May-2009 Romain Guy <romainguy@android.com> Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn().
/frameworks/base/core/java/android/os/Debug.java
d52d8dee7768e04b936b8df86028823bdc5b1dc6 05-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2c9eec6: Merge change 952 into donut

Merge commit '2c9eec6b1d072a665b17dd4285260aa4d4fadcf4'

* commit '2c9eec6b1d072a665b17dd4285260aa4d4fadcf4':
Debug: Minor cleanup
e9bfd9b873fcce4fad31c99f51a14449ee074c6b 04-May-2009 Dave Bort <dbort@android.com> Debug: Minor cleanup

Address crazybob's comments.

Avoid referring to a static in one of the helper methods.
/frameworks/base/core/java/android/os/Debug.java
c34c8c6fa1164576cfbe5db5fce9fda458aae18e 04-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 7ff9436: Merge change 911 into donut

Merge commit '7ff943673e48a912eb7cc5add08e206c2c25d68e'

* commit '7ff943673e48a912eb7cc5add08e206c2c25d68e':
Debug: Add setPropertiesOn(), and @hide it for now
1ce5bd34632e91a928aa12a30b1c160a35db033b 23-Apr-2009 Dave Bort <dbort@android.com> Debug: Add setPropertiesOn(), and @hide it for now

This lets a caller reflectively set the static fields of a class
based on debug build properties.

Signed-off-by: Dave Bort <dbort@android.com>
/frameworks/base/core/java/android/os/Debug.java
599c918d9794b51992de85b42befa0c71d9ec07f 08-Apr-2009 Andy McFadden <> AI 144931: Added a (hidden) way to "pre-cache" register maps.
The 50 methods that appeared on the GC stacks of the most applications
require 13KB of native heap for their uncompressed register maps, and
the full set took 5ms to uncompress. Pre-computation doesn't represent
a significant improvement in space or time, at the cost of a big pile
of strings in ZygoteInit.
I'm leaving the method in ZygoteInit, but it's not called, and the
static final String[] of method descriptors is empty. We may want to
revisit this later.
BUG=1729570

Automated import of CL 144931
/frameworks/base/core/java/android/os/Debug.java
07970839eb39a1a18013c8bd15052b761736208e 25-Mar-2009 Andy McFadden <> Automated import from //branches/donutburger/...@140700,140700
/frameworks/base/core/java/android/os/Debug.java
7b0b1ed979aa665175bf3952c8902ce13c763ab8 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import //branches/master/...@140412
/frameworks/base/core/java/android/os/Debug.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/os/Debug.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/os/Debug.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/os/Debug.java
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/frameworks/base/core/java/android/os/Debug.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/os/Debug.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/os/Debug.java