summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/MemoryDumpActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Further MemoryTracker robustness:Daniel Sandler2013-07-071-1/+4
| | | | | | | | | | - grab a copy of the tracked processes list in the dumper - scan running processes when memorytracker starts to catch pids that may have survived a crash of the tracker's process - use RunningServiceInfo to figure out roughly how long a service scanned in this way has been alive Change-Id: I861642f07183e3945f7a7a41e1e5144567e17e13
* Don't dump hprof for other processes.Daniel Sandler2013-07-021-16/+21
| | | | | | dumpHprofData() only works for the current process anyway. Change-Id: Ic01133880e5149cc6a5ba0a23a1a08e980620f77
* Start the memory dumper directly.Daniel Sandler2013-06-261-5/+18
| | | | | | | | Launching it as an activity from within Launcher is problematic, so we'll just treat it as a special shortcut and run the dump when the user clicks that shortcut icon. Change-Id: Ibe9f4adcaff674f5bafa9b0fc58b5a86cf5ceb00
* Include all processes in hprof dumps.Daniel Sandler2013-06-261-35/+105
| | | | | | | The emailed file is now a zipfile containing one .ahprof file for each process known to MemoryTracker. Change-Id: If4a73df9afd38756cc01ff37b2d249346e5f7e9f
* Memory tracking is now handled by a service.Daniel Sandler2013-06-211-0/+16
| | | | | | | | | | Multiple processes may be tracked and viewed simultaneously. Also, some changes to the graph: * show uss and pss together * adjust opacity controls Change-Id: I20eebaa8cc8faf78b46af2a35d71ee538207f02b
* New icon to dump heap information and share it.Daniel Sandler2013-06-171-0/+66
Alternatively, $ adb shell am start -n <pkg>/com.android.launcher3.MemoryDumpActivity Change-Id: I8c615ec3abffaf6ad693c93bdf569550d8f97298