5e592b4a365feba1b196ae11ce2a581c6da66a29 |
|
26-Jun-2017 |
Shishir Agrawal <shishir@google.com> |
Supress roaming indications during a carrier network change. Change-Id: Ib39d229b67374c4ca30c3a2c8c3b0050106733cd Fixes: 62795179 Test: NetworkControllerSignalTest (cherry picked from commit ecbb1f60f0558e894a82c59d3f94370370f991b3)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
01df36f37fc470d3fd8c120b09cc4e7943cfacfb |
|
07-Jun-2017 |
Jason Monk <jmonk@google.com> |
Move QS cell indicator back into mobile data tile Remove it from the header and drop it back in its old location. This reverts commit 10b4c8a4ab3fc1fd55e5a636066e210ad17cf92b. Test: runtest systemui Fixes: 62331189 Change-Id: I087589c256894e0972656619e665b6a16536ce6c
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
10b4c8a4ab3fc1fd55e5a636066e210ad17cf92b |
|
26-May-2017 |
Jason Monk <jmonk@google.com> |
Make QS signal indicator act like a QS signal indicator It had the behavior of the status bar before, so switch it over to QS behavior but keep status bar icons for the appearance. Ditch the old QS data icons because we no longer need them. Test: runtest systemui Change-Id: I1356bbc19c4874ae467e192b9129136ebd0a37c8 Fixes: 62128809
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
7e6c83c752e0825320e44bd87661b6422d3a3db6 |
|
26-Apr-2017 |
Jason Monk <jmonk@google.com> |
Revert "Status bar updates" DO NOT MERGE Test: runtest systemui Fixes: 37626598 This reverts commit d1ba5fbb54a02fad0c68f71183078527bfa9bd49. Change-Id: I12c70b67fafd46ec98b1c1ee28b911e19afbf6e5
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
d1ba5fbb54a02fad0c68f71183078527bfa9bd49 |
|
13-Apr-2017 |
Jason Monk <jmonk@google.com> |
Status bar updates - Wifi moves to right of cell - Cell data and roaming indicator swap places - Data disabled and no internet on cell look the same - Don't show wifi in QS signal cluster, it has its status right below. Test: visual && runtest systemui Fixes: 36717491 Change-Id: I16ebe6fb6dd519526a1e174753c8ce08c713d405
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
48edc0c62805450fcecd11622dbcc91a433dcd0c |
|
10-Apr-2017 |
Jason Monk <jmonk@google.com> |
Convert signal icon to be custom drawable This will make it really easy to change the number of bars it displays. Test: runtest systemui Change-Id: If0b8a606f56430ea08fa0887af85aa0e90de1d40 Fixes: 35902355
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
8996b94e575b6561fb5be507aecfadf2492bd321 |
|
02-Mar-2017 |
Jason Monk <jmonk@google.com> |
Fix emergency only edge case When the default sub id doesn't exist and there is only one other sub id currently, assume that is meant to be the default and use that to pull emergency state. Also switch to SparseArray for performance and betterness. Change-Id: I976de6abb58c46bce0c56793442c0377a39a7071 Fixes: 34119642 Test: runtest systemui
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
0f0de13c37082f9443e3f0c8cc413188ec66d3fe |
|
19-Dec-2016 |
Jason Monk <jmonk@google.com> |
Add separate roaming icon for status bar + QS Now data + roaming will be shown at the same time. Test: runtest systemui Bug: 31205845 Change-Id: I8fe167a0909c952ad0824e24e178857df2541554
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
d57f3247766d7e5f2a5c2cbe7be6d241526a9eba |
|
14-Jan-2017 |
Sundeep Ghuman <sghuman@google.com> |
Update Status Bar with Badged Wifi Icons. This change inserts badged wifi icons into the status bar to indicate historical network strength. The existing callback handler was modified to explicitly pass the drawable as currently the icon is a rendered from two separate resources, composited together in a LayeredDrawable. Badging is controlled by Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED and can be enabled from the Wifi Settings page. Bug: 34056846 Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java Change-Id: I33b736d4543e380887513cbb5937f49945794c09
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.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/statusbar/policy/NetworkControllerSignalTest.java
|
2c403db659db615831d8bd02661f8769c7762241 |
|
26-Aug-2016 |
Geoffrey Pitsch <gpitsch@google.com> |
Convert SysUI tests to use JUnit4 Run tests with android.support.test.runner.AndroidJUnitRunner, modification to runtest target in separate CL. No longer inherit from TestCase, stripped unneeded code from SysuiTestCase, which now assigns mContext via InstrumentationRegistry.getTargetContext(). Can no longer create Handlers with default constructor, Looper.myLooper() was never able to receive messages in tests and it is now enforced that you pass the Looper.getMainLooper(). Change-Id: I13f499175a459cef1a554431911f4b21126e126e
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
f668d7cceb3c6cc9143fcf92230681bddd7ccf21 |
|
14-Jan-2016 |
Jason Monk <jmonk@google.com> |
Support data usage changes in Settings Change-Id: I78c6a3956e7136c3ed64d9323d3fe74df2898c5d
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
46c4a32ed9668294dc87c11e466f4e4b27bf48e1 |
|
18-Nov-2015 |
Jason Monk <jmonk@google.com> |
Fix build Change-Id: Ib784f3b8e1f8e5166128a86d07b43859ee803765
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
4cf95aef839701a43c9bde292f5e2d8ca3213509 |
|
16-Nov-2015 |
Jason Monk <jmonk@google.com> |
Move some stuff to SettingsLib to use for Settings Home Change-Id: Id903747069fe83a896132714e580b1a1d7ee895c
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
e427cb80762c5cd067f3c419eb0a427d077b3d95 |
|
28-Jul-2015 |
Jason Monk <jmonk@google.com> |
Add sizes to SysUI tests Change-Id: I27e4a60e2658d3a5db32cdeb73bd0a031865ce86
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
b0808aab0caec42a068b927be974076783a87692 |
|
22-Jul-2015 |
Jason Monk <jmonk@google.com> |
Fix emergency only when no sims Need to look at a ServiceState to determine if we are actually in a emergency only state. Bug: 22619451 Change-Id: I06a2a6fab85ed2ce41d8f7cbb98a1f169ec61b33
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
61633f18611731d7011facbfe3d14f3ec83d86a3 |
|
08-Jul-2015 |
Jason Monk <jmonk@google.com> |
Fix roaming icon when not default signal Bug: 22183802 Change-Id: I0d38f23d81b79e53e3d92db8c6f6a1455a94da4c
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
c6cc6266c9325f180b1a073f733fdf0a64e9286f |
|
11-Jun-2015 |
Jason Monk <jmonk@google.com> |
Fix EmergencyCallback in NetworkController - Do some cleanup so that things are more testable - Test emergency callback since its possible - Fix emergency callback in no sims case Bug: 16218652 Change-Id: Ic859eff732cc11c5ae8aa6ced3584905bbe215c7
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
55fc8004ad1896da615fd08caca87d1b393d085c |
|
29-May-2015 |
Andrew Flynn <flynn@google.com> |
Show Carrier Network Change icon SysUI even while connected Taking connect/disconnect events into accounts results in frequent jank while trying to show the icon. Bug: 21504588 Change-Id: If271980cc46cfc20f80083de17a4b57c42439069
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
2fdbe128209f02725c645f29bff941efe865da56 |
|
01-Jun-2015 |
Andrew Flynn <flynn@google.com> |
Remove separate light/dark animated vector drawables Now that AnimatedVectorDrawables can use themed animations, SysUI no longer needs to track separate AVDs for the carrier network change icons. Bug: 21118142 Change-Id: Ifb6d7b5e7e3de85c10bc13183b4142fd2e6714b6
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
33f8ae7543fbf7d94266f0f1621ec873aa2542f1 |
|
08-May-2015 |
Jason Monk <jmonk@google.com> |
Show data icon when appropriate. Show it in the status bar when its a default network, but always show it in QS when its connected, so that users can know its connected. Also fix the tests. Bug: 18776546 Change-Id: I553588fc6850b0c2ef6e6015b313222bf4c786e7
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
07b75fe65dcb5b8add8246654c65f95f1191933e |
|
14-May-2015 |
Jason Monk <jmonk@google.com> |
Move NetworkController broadcasts/listeners to BG Also do some refactoring to avoid having to sets of callback interfaces with 75% of the same data. Bug: 19520495 Change-Id: Ife1c71174c0d6a21f924f7de3cb2f97a04c3d5a1
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
5e751478065835cf86f661cf34fa4f52f851cef5 |
|
01-May-2015 |
Andrew Flynn <flynn@google.com> |
SystemUI Carrier Network Change unit tests - Includes unit tests for verifying mobile data indicators. - Found one bug where dark mode icon wasn't showing properly when different from light mode icon. - Comment out failing test NetworkControllerSignalTest#testSetCurrentSubscriptions Bug: 20288155 Change-Id: Ib3c9ba224c4187cab35d6bfa68f6bd4c489cf98e
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
7f9623f3dc6ec5f548bbade0b497d1f5e7f6db06 |
|
11-Feb-2015 |
Jason Monk <jmonk@google.com> |
Up the history on SignalControllers Also add a test for it, because despite the comment next to it, I try to set it to an invalid value... Bug: 19201696 Change-Id: I3c12c871c73ad5ab15f39a6b91b29c71101adad6
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
18985e08ebd1c04e3160262925be995cf7c82001 |
|
07-Jan-2015 |
Jason Monk <jmonk@google.com> |
Fix SysUI tests to pass. Most were fixed by including the correct subscription id in the broadcast. The last was testing based on SIM card state which is not something the MobileSignalControllers track anymore so I just pulled it out completely. Change-Id: Ie52068a3c8f8652f1b0641e6376696aeddda26a2
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
da68f596282e60bee832dff07cc96bf64bd15939 |
|
07-Jan-2015 |
Jason Monk <jmonk@google.com> |
SysUI: Separate SignalControllers into separate files and remove the TODO that says to do it. Change-Id: I54ac3f27f9246aea87d21f2a1da6608ae675aae6
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
afeb044afc0d62f67bba7c4f2fd959627fef9f06 |
|
05-Jan-2015 |
Jason Monk <jmonk@google.com> |
resolved conflicts for merge of 336c4666 to master Change-Id: I350b3ecadce490b62c92c0e7b1d555825d035f87
|
c014decc74edc3a415efb78893f597f3b800a212 |
|
12-Dec-2014 |
Jason Monk <jmonk@google.com> |
Don't unregister MobileSignalControllers still used Also add some more testing for this section of code that manages when MobileSignalControllers are added/removed to make sure we are all good. Bug: 18728593 Change-Id: I9902854c54d2e1deb58b38b7bd97dac1617831c0
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
7f8fab6fc3c5e8f5d7b0a7813a6db5ca682e8a7a |
|
12-Dec-2014 |
Jason Monk <jmonk@google.com> |
am 10680627: am a6869700: Merge "Fix tests after inet changes in NetworkController" into lmp-mr1-dev automerge: 19b6ae0 * commit '19b6ae0fe82913a9838a43f60ae330197d4ef978': Fix tests after inet changes in NetworkController
|
d8e4bf4e43d4e8c82f0379e84886534469b38124 |
|
12-Dec-2014 |
Jason Monk <jmonk@google.com> |
Fix tests after inet changes in NetworkController Bug: 17460017 Change-Id: Iee9c4399f5ca4413f1449cfcf05d72a67b0adadc
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
22c65502069f3fc2f17690f74d0c847222c5e0f5 |
|
03-Dec-2014 |
Jason Monk <jmonk@google.com> |
am 5a938481: am d6b001f1: am 8d72046b: Merge "Don\'t show no sim icon on wifi devices" into lmp-mr1-dev * commit '5a938481f3fc8c3e84d3ce07234363f4d6c26f40': Don't show no sim icon on wifi devices
|
21d05a08d8ab632608980371d78990890029f4e4 |
|
02-Dec-2014 |
Jason Monk <jmonk@google.com> |
Don't show no sim icon on wifi devices Bug: 18222975 Change-Id: I82143ad23fa6c4dc5ed57d682186e1bb977a6fe1
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
d0a6279af69184621bf6384c5435d3eb6f62ac03 |
|
13-Nov-2014 |
Leigh Anne <lwarner@google.com> |
SysUI Tests: Added some tests for mobile icon. Testing to verify correct mobile icon in edge cases such as no sim, or no mobile data feature. Tests for updating the network name. Change-Id: I0e4114d0c1e4109d4b2aae761181bedb841fe8b6
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
b574627ebc383d35cf8212ee241b191b26518a0d |
|
12-Nov-2014 |
Jason Monk <jmonk@google.com> |
SysUI: Actual MSIM status bar support Expand SignalClusterView and NetworkController to handle multiple SIMs. It does this by creating multiple MobileSignalControllers for each of the active subscriptions on the device. Also some minor changes for followup on the NetworkController refactor that went in before this. Bug: 18222975 Change-Id: Ic7a857cfc5cadb46d51bb9ded0df8187eea799f7
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
d2263cd9db36d5f74a124c5ffaf8594ef702408f |
|
10-Nov-2014 |
Jason Monk <jmonk@google.com> |
SysUI: Refactor the NetworkControllerImpl Minimal changes to interface/callbacks, all of the changes are internal and prepare for MSIM. Separate out AccessPoint and MobileData from the NetworkController interface to give some space. A SignalController class has been created as a base for both WifiSignalController and MobileSignalController, both of which internally handle the state of their respective connectivity and only reach up into the NetworkControllerImpl when completely necessary (such as for combined carrier label). Bug: 18222975 Change-Id: I75b954bbece187371cdb8571dd8420e7d2cad978
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
29f7a7b0ae2264651c176ef50cc21cf9131247e3 |
|
17-Nov-2014 |
Jason Monk <jmonk@google.com> |
SysUI Tests: Make tests not break SysUI Now you can run the tests without getting the blank broken sysui. The tests instrument themselves so they include all of the source they need to run rather than piggybacking on the sysui process. A couple of changes were needed for this. The xml files cannot reference com.android.systemui, instead they must use res-auto. The tests can no longer make privileged calls, so some restructuring to avoid those calls was needed. Bug: 18222975 Change-Id: I67b794af854f1420583d48960bd6e52ca753b56d
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
f13b4b39f266e43239e40e3bf7d6997600555068 |
|
07-Nov-2014 |
Jason Monk <jmonk@google.com> |
SysUI: Add basic test coverage for signal levels Add some tests that verify for varios wifi, and mobile signal strengths and types that the correct icons are sent out in the callbacks. Still in prep for MSIM refactoring. Bug: 18222975 Change-Id: I477bf9a90e5c32fb1cba9c150ec6314f4b707108
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|
e0cdb6079e9e9e8b87a71d67ef5aa1dc0e3e6840 |
|
05-Nov-2014 |
Jason Monk <jmonk@google.com> |
Prepare for testing the NetworkControllerImpl This will allow us to add some test cases to verify that under certain phone/signal conditions we get out the icons we expect. This will let us break less things when refactoring for MSIM. Bug: 18222975 Change-Id: I7bd3e66e7de6b30fede72e40fb6aa37dd523336c
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerSignalTest.java
|