ef03a7f441cf0cbef5a5f7fafb58a7d5aea7ef52 |
|
30-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #7343200: Fails to show wallpaper in the background... ...for lockscreen sometimes and remains black / blank Add some debug output to try to track down what is going on. Change-Id: I98a96c5da9c04b988e948f6fc2766d927db49ebf
/frameworks/base/core/java/android/os/Debug.java
|
b049e212ab7fe8967893c202efcb30fecfdb82fb |
|
08-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Include user identifier in external storage paths. When building external storage paths, always include user in path to enable cross-user paths and aid debugging. Each Zygote process continues to only have access to the appropriate user-specific emulated storage through bind mounts. A second set of mounts continue supporting legacy /sdcard-style paths. For example, a process running as owner has these mount points: /storage/emulated_legacy /storage/emulated_legacy/Android/obb /storage/emulated/0 /storage/emulated/obb Since Environment is created before Zygote forks, we need to update its internal paths after each process launches. Bug: 7131382 Change-Id: I6f8c6971f2a8edfb415c14cb4ed05ff97e587a21
/frameworks/base/core/java/android/os/Debug.java
|
f72467ad9843bf5d4b75fb308386e77ebb5c3447 |
|
09-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Include important native processes in watchdog stacks. Helps us track down deadlocks involving native service processes. Bug: 6615693 Change-Id: I580047550772e29586195a8cf440141574e3f40c
/frameworks/base/core/java/android/os/Debug.java
|
a51a9564fd53b661446cd63eea23208656acc678 |
|
18-Apr-2012 |
Craig Mautner <cmautner@google.com> |
Add call-stack reporting methods into Debug Added two public methods to Debug. These methods return a String indicating the caller (getCaller()) or callers (getCallers(int depth)) of the calling method. The String indicates the class, method and line number of the caller(s). Similar to using Throwable.fillInStackTrace() but much more concise. Change-Id: I53d0085aa50e4501d28e8eb3ad5b91ef700ac218
/frameworks/base/core/java/android/os/Debug.java
|
b437e090ec03a2bab10bdfcb9484577a7f34e157 |
|
06-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Improved memory use reporting. Change-Id: I38e53e6228bba92a142bafeedb5af8df4e4e5724
/frameworks/base/core/java/android/os/Debug.java
|
0e3328fbdd3845b0e2bec364e951498eaee6b079 |
|
17-Jul-2011 |
Dianne Hackborn <hackbod@google.com> |
Rework and fix "adb shell dumpsys meminfo" We now collect more detailed information splitting the maps into additional useful categories. Fixed some bugs in account, such as not correctly handling all of the current dalvik allocations. The activity manager now prints a final summary of all pss organized by the apps and the categories. Change-Id: Iafc5f27c998095812b1483c6803b8e0f0587aeae
/frameworks/base/core/java/android/os/Debug.java
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
|
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/core/java/android/os/Debug.java
|
7e942848ace2e1f81345d4397679d65a048fe828 |
|
13-Jan-2011 |
Carl Shapiro <cshapiro@google.com> |
Note the release in which functionality was deprecated. Change-Id: Ia0f361986e4232869f7d4123f75081100241638e
/frameworks/base/core/java/android/os/Debug.java
|
1107383e029e30bb18c77ca887db2af067a79154 |
|
13-Jan-2011 |
Carl Shapiro <cshapiro@google.com> |
Deprecate the allocation limit interfaces. Allocation limits relied on conditionally compiled code in the virtual machine that was disabled in released versions of Android. As such, these setter methods were glorified no-ops. Now that the feature has been removed from the allocator this interface is thoroughly obsolete. Change-Id: Id7f9de37ecfece4b909e35f110e118e131457133
/frameworks/base/core/java/android/os/Debug.java
|
b596198d8d588a113e7e1b204ab09f46a02822c6 |
|
23-Dec-2010 |
Carl Shapiro <cshapiro@google.com> |
Remove functionality related to external allocation tracking. The android.os.Debug class exposed two interfaces related to external allocation. The first interface provided a counter of global external allocation events. This change makes the global counter getters constantly return 0 and stubs out the counter setters. The second interface attempted to provide a counter of per-thread external allocation events. That interface was never implemented. This change makes the per-thread counter getters constantly return -1 and stubs out the setters. Change-Id: I240fe9bf05297a83607a4350d40d20581e2a9e2f
/frameworks/base/core/java/android/os/Debug.java
|
b96f58911e412fdb0ebdd2bda7dbe89a0829b5db |
|
03-Dec-2010 |
Dan Bornstein <danfuzz@android.com> |
Propagate the concept of "packed opcode" values. Dalvik now exposes a distinction between "packed" and regular opcode values. The packed values are more densely defined in the range 0-0x1ff, whereas the regular values are sparsely defined across the range 0-0xffff. The only current use for packed values at this level is in opcode usage reporting, but their use may expand over time. Change-Id: Ie783b90cb2dcb9df8f3eb19a7c708a53906fdbe4
/frameworks/base/core/java/android/os/Debug.java
|
1d99b06ccf48891fbb47947d31f6fbb29c815713 |
|
30-Nov-2010 |
Dan Bornstein <danfuzz@android.com> |
Get rid of vm-internal constants. This change makes Debug use less vm-implementation-specific code to ask which opcodes represent method invocations.
/frameworks/base/core/java/android/os/Debug.java
|
9f3155418d0a504e45bc8c0ce47e11c8689ab36c |
|
20-Nov-2010 |
Dan Bornstein <danfuzz@android.com> |
Dalvik opcode-related fixes. This makes Debug not hard code the number of opcodes and includes an api-update of other opcode-related changes done in dalvik.system. Change-Id: I70d22e1c710f224d75a22e319916724aea53f78d
/frameworks/base/core/java/android/os/Debug.java
|
7495cfadd2d4680b60575fd962b075c0703b9cc8 |
|
01-Dec-2010 |
Brian Carlstrom <bdc@google.com> |
Tracking merge of dalvik-dev to master Change-Id: I2f847003761d1300aca65c9471ed168bad82ffe0
/frameworks/base/core/java/android/os/Debug.java
|
2970c499388b4dcd1232cd622a9b80b395eeb2b4 |
|
09-Nov-2010 |
Chet Haase <chet@google.com> |
various fixes for animations and javadocs Issues around threading of animations and AnimatorSet bugs are fixed in this change. Unrelated fixes to javadocs in other framework classes are also part of the change. Change-Id: I35f7e03ffdec9143bc2eb155e8f9384798ad35b3
/frameworks/base/core/java/android/os/Debug.java
|
c21550a8d1dfc9e5359fe994cb48049a0bd4c82c |
|
06-Oct-2010 |
Brian Carlstrom <bdc@google.com> |
Adding android.os.Debug.countInstancesOfClass - Debug.countInstancesOfClass is just a wrapper on dalvik.system.VMDebug.countInstancesOfClass to avoid code from depending on the dalvik classes directly - Existing usages of VMDebug.countInstancesOfClass in ActivityThread and ViewDebug are converted to the new Debug.countInstancesOfClass - Existing use of OpenSSLSocketImpl.instanceCount, which is being removed, is converted to Debug.countInstancesOfClass(OpenSSLSocketImpl.class) Bug: 3015791 Change-Id: Iefa781292d5b82a63bad7254c913a09deb3b7888
/frameworks/base/core/java/android/os/Debug.java
|
99a518ffabacb10171621d0293bf982b85505e66 |
|
20-Jul-2010 |
Jean-Baptiste Queru <jbq@google.com> |
resolved conflicts for merge of ca48433a to master Change-Id: I0dd2dee65ff72b7eae20019c6232b66388fe7990
|
798e2d3d0c80e269ead1489dbc3f2f762f1e52b5 |
|
17-Jun-2010 |
Christian Mehlmauer <FireFart@gmail.com> |
Replaced /sdcard with Environment.getExternalStorageDirectory() Change-Id: Id789f44a8569e307b1b7ab15eb266c9ce7ef2029
/frameworks/base/core/java/android/os/Debug.java
|
06a6b558bd03d8f0fed8f94f1dcfc03c5a51bd1c |
|
14-Jul-2010 |
Andy McFadden <fadden@android.com> |
Implement native dump for "am dumpheap -n". This adds the ability to generate a trivial heap dump on demand. If the appropriate system properties aren't set, the output file will instead contain instructions for enabling them. The data returned by get_malloc_leak_info() is processed and written to the specified file. The output looks something like: Android Native Heap Dump v1.0 Total memory: 2981301 Allocation records: 2152 z 1 sz 65557 num 1 bt 8010dd78 afd12618 ... z 1 sz 52008 num 3 bt 8010dd78 afd12618 ... z 1 sz 24428 num 1 bt 8010dd78 8010de84 ... ...2149 more... END (the "..." is actually the remaining entries in the stack backtrace; I truncated it here) "z" indicates whether the allocation was made pre- or post-zygote, "sz" is the size allocated, and "num" is the number of allocations made of that size with the specified backtrace. Change-Id: I2d60f07444fce5f7178b3f51c928c8faa0b051bd
/frameworks/base/core/java/android/os/Debug.java
|
824c510752fd6a30cdba5ed7324cb80a5043ce26 |
|
10-Jul-2010 |
Andy McFadden <fadden@android.com> |
Allow "am" to initiate heap dumps. This was mostly cloned from the "am profile" implementation. It's intended to replace the old "kill -10" approach used by "runhat". We could really use a native heap dump, so I pass a "managed" flag through that indicates whether we want to dump the native or managed heap. We don't currently have a native heap dump-to-file function, so it currently just logs a warning. (android.ddm.DdmHandleNativeHeap.getLeakInfo is a good start -- it copies /proc/maps and then calls get_malloc_leak_info to get some goodies. Needs some formatting to make it human-readable. I didn't want to cram all that into this change.) It would be useful if "am" didn't exit until the heap dump operation completed, but I'm not sure how to do that. Bug 2759474. Change-Id: I46bc98067738d8c72ac0fc10002ca67bb4929271
/frameworks/base/core/java/android/os/Debug.java
|
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
|