340b0e5216b4fcc435e0459b1ca46155a572100d |
|
08-Mar-2017 |
Jason Monk <jmonk@google.com> |
Move out test utilities to a Testables library Test: runtest --path frameworks/base/tests/testablets/tests && runtest systemui Change-Id: Ideef4aef5f26136b1741c556b9be5884f38842a0
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/FakeNetworkController.java
|
0288de0e5635b714273ff8185b4bdbfb9ece447c |
|
23-Feb-2017 |
Jason Monk <jmonk@google.com> |
Fix data disabled icon from not showing in status bar The NetworkController seemed to think the user wasn't set up since the DeviceProvisionedController didn't send an initial callback on add. Also add some extra listening to data disabled state to avoid race conditions there. Change-Id: I17f759894a283da08eb0da7ceb5181355c8f4d55 Fixes: 35708363 Fixes: 35632846 Test: runtest systemui
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/FakeNetworkController.java
|
9c7844cb91b43929d0a86b1c90aa1efb37f5463a |
|
18-Jan-2017 |
Jason Monk <jmonk@google.com> |
Work on sysui dependencies One of the many problems with PhoneStatusBar is that it holds dependencies for many other parts of SysUI. Fix this by creating a static method of grabbing dependencies that are global to sysui this cleans up a lot of chains of interdependence. Also add easy way to inject mocks of these dependencies for the purpose of testing. Test: runtest systemui Change-Id: Ia0e947faea62d15b665facada47ac9916c99f895
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/FakeNetworkController.java
|
9abca5e9f88c47579f8334c6c48741a259185b9b |
|
11-Nov-2016 |
Jason Monk <jmonk@google.com> |
Cleanup and refactoring of test utilities - Make leak checking faster by converting to fakes - Requires making clean interfaces for all CallbackControllers - Integrate leak checking into the TestableContext Test: runtest systemui Change-Id: Ic57a06360d01a0323ef26735a543e9d1805459e2
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/FakeNetworkController.java
|