4d90d1ede7f6ce4b541b4632112b033869ffccce |
23-Mar-2018 |
Dan Sandler <dsandler@android.com> |
SystemUI heap monitor & hprof dump tile. Adding the tile to your active set will start a continuous memory tracker, updating the tile every minute with the latest pss value. Tapping the tile will pull a full heap dump, zip it, and share it via ACTION_SEND. Additionally, @integer/watch_heap_limit can be set to the heap size (in KB) at which ActivityManager will automatically generate a heap dump and notify the user when it's ready. Available only on IS_DEBUGGABLE builds. Supplies limited. Order now! Bug: 76208386 Test: atest com.android.systemui.util.leak.GarbageMonitorTest Test: runtest systemui Change-Id: I0434dd7dc330784c750469b013e40b31ef92638d
arbageMonitorTest.java
|
66745e929c652146cb24e0704c4e77c34a398bc8 |
18-Mar-2018 |
Andreas Gampe <agampe@google.com> |
SystemUI: Temporarily disable test Bug: 75329085 Test: none Exempt-From-Owner-Approval: Let TH pass while investigating Change-Id: I4c007e5162502f0064b65a89408882e4c348e0db
eakDetectorTest.java
|
0fded55c45c400354a71fac453af7511703868ef |
21-Dec-2017 |
Søren Gjesse <sgjesse@google.com> |
Refactor leak tests Change the code to not rely on debug mode compilation for D8/R8. For R8 -dontoptimize is still required (default for tests) to avoid inlining that could "revert" this change at compile time. Test: m -j USE_R8=true SystemUITests Test: Run tests and see failures from b/70879514 are gone Bug: 70879514 Change-Id: Ic8bb2bd3a91da0ecb2ec4e40183f47e4daf6323c
eakDetectorTest.java
eakIdentityHashMapTest.java
|
fba8faf5c5f58f115fa3c099da9ef0953b484147 |
23-May-2017 |
Jason Monk <jmonk@google.com> |
Add test to verify all sysui tests extend the right stuff And then make it pass. Test: runtest systemui Bug: 38500852 Change-Id: I377164219e4a4f4d1a99f11ef06da03c2b527eb0
arbageMonitorTest.java
eakDetectorTest.java
eakReporterTest.java
eferenceTestUtilsTest.java
eakIdentityHashMapTest.java
|
09ed8f6cfc3662d62d84fc65288408917906fa11 |
16-Feb-2017 |
Adrian Roos <roosa@google.com> |
SystemUI: Disable LeakReporterTest Those tests are slow because they dump the heap multiple times. Disable until the code is refactored such that it does not actually dump and write to disk when under test. Test: runtest systemui Bug: 35398375 Change-Id: I7cf945687900424dc1460367fbef5f36ed75da82
eakReporterTest.java
|
9125068a991b24d27810b6392a562b32457b3f5d |
06-Feb-2017 |
Adrian Roos <roosa@google.com> |
SysUiLeaks: Add GarbageMonitor Adds a service for monitoring the amount of tracked garbage. If it exceeds reasonable levels, a notification with a leak report is posted. Test: runtest systemui Change-Id: Ib55281f2aac557743b97c46bc616688261c72e9c
arbageMonitorTest.java
eakReporterTest.java
|
e1e0b483be87d23383832aa6b558364a730c690f |
03-Feb-2017 |
Adrian Roos <roosa@google.com> |
SysUiLeaks: Add LeakDetector Bug: 34932615 Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ Change-Id: Id4a9cbdaddc83ca3e25923eec33d53b6761c54cb
eakDetectorTest.java
eferenceTestUtils.java
eferenceTestUtilsTest.java
eakIdentityHashMapTest.java
|