History log of /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
24370bfd3072a556d5ff4fb8014c306fa47a55e9 27-Apr-2017 Jason Monk <jmonk@google.com> Merge "Revert "Status bar updates" DO NOT MERGE" into oc-dev
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/NetworkControllerWifiTest.java
f06a317039a6502252c2b4b1a878520d166a38c6 25-Apr-2017 Jason Monk <jmonk@google.com> Guard against incorrect context use.

Instead of just having random tests fail, fail all the tests with a
slightly more useful message.

Also remove all the code around acquiring and contention, now that
we have a test rule in place for TestableContext, we can just use
that for cleanup and have a simple copy-on-write provider.

Test: runtest -x frameworks/base/tests/testables && runtest systemui
Change-Id: I907da23730a4a96cfa2bb112100a06980f01b078
Fixes: 37302051
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.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/NetworkControllerWifiTest.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/NetworkControllerWifiTest.java
110e5f6c169bed3d0312ed5003833bd12d562455 31-Mar-2017 Jason Monk <jmonk@google.com> QS: Add transient animations for bluetooth and wifi

Test: runtest systemui
Change-Id: I04a81e1b36a6595bfb102603ad07b079c8b0ee77
Fixes: 26781226
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java
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/statusbar/policy/NetworkControllerWifiTest.java
699deaf6103d182dbd291ca2b420f30b439753d4 14-Feb-2017 Sundeep Ghuman <sghuman@google.com> Move Badging from ScoredNetwork to NetworkingBadging.

This is a non-functional refactor. The old enums will be removed once
ag/35323372 is addressed.

Bug: 35114358
Test: Ran existing tests (see files touched).
Change-Id: I08fd8c7964463b5908ce361e61f8fe811d0ff6f3
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java
5c7700f8b73e7076de738605621359bfd577a9b0 26-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Create Settings Flags to Disable Scoring UI changes."
e869d83ea8558e70682c4c42674097040c7eb966 26-Jan-2017 Sundeep Ghuman <sghuman@google.com> Create Settings Flags to Disable Scoring UI changes.

When disabled, this will prevent badges from being shown in the status
bar or wifi picker as well as prevent access points in the picker from
being rearranged based on ranking scores.

Fix missing permission dropped from previous CL to run
NetworkControllerWifiTest and refactored tests to enable new setting.

Bug: 34712533
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
and runtest --path
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java

Change-Id: I79c97f2205ebb70c0f7f5b1f66f7207055e5769b
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.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/NetworkControllerWifiTest.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/NetworkControllerWifiTest.java
26ad85a646a2480336c4947ff143f0c5d2fbf63d 08-Dec-2016 Jason Monk <jmonk@google.com> Switch sysui to updated mockito target

Some updates required for tests to pass. Also did a little cleanup
of bad verify matching.

Test: runtest systemui
Change-Id: I75b9f34ab7e9af111dafd5a648840893e1cee434
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.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/NetworkControllerWifiTest.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/NetworkControllerWifiTest.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/NetworkControllerWifiTest.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/NetworkControllerWifiTest.java
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/NetworkControllerWifiTest.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/NetworkControllerWifiTest.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/NetworkControllerWifiTest.java