History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
678722f9d0b73c3a080d21daa33b87de2534bd05 11-May-2018 Anarghya Mitra <anarghyamitra@google.com> Change status bar icons upon capability changes in the default network.

SysUI status bar updates currently happen upon receiving either the
CONNECTIVITY_ACTION broadcast (which is deprecated) and
INET_CONDITION_ACTION broadcast (which is sent upon validation state
change of networks only).

This leads to status bar showing stale connectivity state. The correct
fix for this is to listen to changes in network state by registering
NetworkCallbacks (see more details in http://b/79286300#comment9).

In the P timeframe, not listening to the broadcasts completely is out of
scope. So this CL just listens for changing network capabilities of the
default data network, which should fix all the cases where the
broadcasts are not getting sent.

Later, when we stop relying on the broadcasts, we will also have to
override onAvailable and onLost (and perhaps the other callbacks too).

Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
Bug: 71904788
Change-Id: I2e58b9cfceb9937a0b54874dee116ead5339b37b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
e1d13c9884e6f4579b1265400b61a36207748dc3 20-Mar-2018 Evan Laird <evanlaird@google.com> Remove SignalClusterView in favor of IconManager

Refactors SignalClusterView into StatusBarSignalPolicy so that it can be
used in a StatusBarIconContainer and solve all of our status bar
problems.

- Remove all uses of SignalClusterView and references to
R.id.signal_cluster. The class still exists it's just unused now

- Add StatusBarIconHolder, which can point to StatusBarIcon,
WifiIconState, or PhoneIconState

- StatusBarIconList.Slot. Allows for easier indexing of icons now that
there can be multiple icons per slot

- Add StatusBarWifiView to be inflated inside of the
StatusBarIconController when needed

- StatusBarMobile view. similar to above

- Upgrade StatusBarIconControllerImpl and StatusBarIconList to
understand the holders and added 2 new methods to specifically handle
wifi / phone state changes

- Create IStatusBarIconView (todo: rename). Abstracts the properties we
want away from StatusBarIconView so that we can use an arbitrary view
type

- NeutralGoodDrawable. Draws a light and a dark icon when needed.

- Fixes a few demo mode bugs: multi sim was broken and also turning off
demo mode was a little broken

TODO: More tests are needed for StatusBarSignalPolicy and maybe the
IconManagers

Test: runtest systemui; visual
Bug: 63772836
Bug: 73778753
Bug: 74985733
Fixes: 74427768
Fixes: 74338687
Fixes: 74388467

Change-Id: I5621b3013cdc9638b61552bd4d7211f211eddf1b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
c7593b1e1a46bc78a1404b91eabdf5bd5c58b55d 09-Mar-2018 Amin Shaikh <ashaikh@google.com> Do not display <unknown ssid>.

Fixes: 73853121
Test: runtest systemui
Change-Id: Ib16a63cb9edfbd287724500adf515287f12c0d07
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
329c828f182abd10b7b651d86a6d14cd3b16e7f6 09-Mar-2018 Amin Shaikh <ashaikh@google.com> Update mobile data off dialog.

Show the mobile data turn off dialog until the user taps the turn off
button. All subsequent toggles will immediately toggle data on/off. Also
update the message copy.

Fixes: 74072757
Test: runtest systemui && manual
Change-Id: I489d5c3c19d52a6f531b1b925b3210019412243b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
f5830cade5cf607989cf629a7855e384cdeef783 09-Mar-2018 Amin Shaikh <ashaikh@google.com> Show the H+ icon in HSPA+ network

Adds the H+ icon. If status bar should distinguish HSPA data icon from
UMTS data icon, this icon is shown as default while connected to HSPA+
network.

Fixes: 69505790
Test: runtest systemui and visually check in demo mode
Change-Id: Ia911fcdb98d2c118e2ef71d7a062efbf72a0809c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
5e0f0d27ca44b4faecb657cf11898a55163cb793 26-Feb-2018 Lucas Dupin <dupin@google.com> Ignore rebroadcasts of ACTION_SIM_STATE_CHANGED

Telephony will rebroadcast ACTION_SIM_STATE_CHANGED with
EXTRA_REBROADCAST_ON_UNLOCK set to true to indicated
that an old message is being reposted for backwards
compatibility purposes.

System UI is direct-boot-aware and can should these
broadcasts.

Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardUpdateMonitorTest.java
Change-Id: Ie1c092f06f32f124cca68d2561b50038af6dc38f
Fixes: 68546898
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
c52f0b61b411974597a87f06b4f2d46caf916cd6 04-Dec-2017 Evan Laird <evanlaird@google.com> Resolve merge conflicts of 710b3946e535 to master

Test: runtest -x
packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerDataTest.java

Change-Id: I95ed65102c3d61a0afa0744663d6966c10f876e5
1fed5376747121d249f1d4fa88d281b8df13c6d4 04-Dec-2017 Evan Laird <evanlaird@google.com> Merge "SystemUI: Display RAT icon when data is off"
am: e441298a11

Change-Id: I483d17ac1ef79b9b6f31bbefaf03f7833e13020b
63364fe24a487f2632c2b57e4a443ca171da25dd 07-Feb-2017 Wenting Xiong <wenting.xa.xiong@sonymobile.com> SystemUI: Display RAT icon when data is off

Introduce customization and implementation to display RAT icon in status
bar even when data is off. Since some carriers require, this feature is
necessary.

Test: Test with simulated RIL
Bug: 28805511
Change-Id: I0428ba1749bdb884d210f1ff02cdf86b376a0ca8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
51c53a9428883bbbd9530bb8aa4c07a0787544bb 29-Sep-2017 Rebecca Silberstein <silberst@google.com> WifiManager: delete the setWifiApEnabled method

Delete the @removed setWifiApEnabled call along with any remaining
callers.

Bug: 66917593
Bug: 26753849
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: Ieefc59e01d801d9f5a943830c66c86e9e624158c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
bed34700b9f891232dcf48cea7a377393870d9ea 03-Oct-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Make WifiTracker lifecycle aware"
0edf09bd36d218b596189006bad9246142151950 29-Sep-2017 Tony Mantler <nicoya@google.com> Make WifiTracker lifecycle aware

Bug: 66953027
Test: m -j checkbuild
Change-Id: I0609a16a3b2afd2af689ff44896a9a82138fa370
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
b3d059764b8266c6570f596036a9ae82cf946e95 29-Sep-2017 Jason Monk <jmonk@google.com> Merge "Don't show no sim when a sim has been detected." into oc-mr1-dev am: dddbb2261c
am: 5eea2700b5

Change-Id: I0a3b744623f5c372ae3be24064c63d455bd1a2c1
1ff77669e1059439e143d8544db340f14a02f1ca 29-Sep-2017 Jason Monk <jmonk@google.com> Don't show no sim when a sim has been detected.

Instead indicate a lack of signal until we have a subscription to
tell us what to show.

Test: updated existing tests
Change-Id: I170f3782597584e5e761b5c9f9fce3cdbdc26a4f
Fixes: 65744290
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
27a9957ae73b666a20a736b39aceda8c785d6053 27-Sep-2017 Evan Laird <evanlaird@google.com> Add "ssid" command to demo mode for easy testing of AP names

Test: turn on SystemUI demo mode;
adb shell am broadcast -a "com.android.systemui.demo" -e command
network -e wifi show -e ssid DemoWifiName
Bug: (inspired by) 65765440

Change-Id: Ibd13478e44d013ca43e604812fece15f78390932
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
43c14d19847993aa603b781f6bc55efb273fa3fd 22-Jun-2017 Jason Monk <jmonk@google.com> Add config to artificially inflate number of bars

Test: manual
Bug: 62664881
Change-Id: Id8797f4f6178af16051147d3021bb34074afbca9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
9d10a3cf306d34f598216c6354c87c45a059b5b3 16-Jun-2017 Sundeep Ghuman <sghuman@google.com> Revert "Update Status Bar with Badged Wifi Icons."

This reverts commit d57f3247766d7e5f2a5c2cbe7be6d241526a9eba.

Reason for revert: Kill badging in ODR

Bug: b/35628911
Test: runtest --path
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java
Change-Id: I153863dfc02aaa211e1d76f0d85a2779894f72ee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
ab9ab96d0d2a78a8e7a80fb7917ed95527d2ba49 24-Feb-2017 Jason Monk <jmonk@google.com> resolve merge conflicts of 1723bc14ebfd to stage-aosp-master am: 4f458421b1
am: eac19cd55d

Change-Id: Iec06900eba071a56696a1c240b79f0dd7ab05d70
4f458421b1ba3ae9527564dea85caf25b24c2c9a 24-Feb-2017 Jason Monk <jmonk@google.com> resolve merge conflicts of 1723bc14ebfd to stage-aosp-master

Change-Id: I11054806dbd263b2adaedb21458c33b7407bb7d6
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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
5c88ffb5072b96662b34cb8139151707f424318a 28-Nov-2013 Kenneth Westin <kenneth.westin@sonymobile.com> Data activity icon in statusbar

Display data activity icon for Wi-Fi and mobile data
respectively in statusbar

Bug: 30849089
Test: manual - go to Settings > Developer options > Demo mode and then
enable both "Enable demo mode" and "Show demo mode"

Change-Id: I16e880ffb97666a6c6507b9cc8c99bf580972207
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
f62e88939446827617c07ea669723a8a2fc05506 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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
1909ec1cd524bbe8528485d5ec1bcd2a79e763e6 25-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update Status Bar with Badged Wifi Icons."
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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
b59509818552cd3ee461e935eb34c485444a3670 24-Jan-2017 Jason Monk <jmonk@google.com> Fixes for new QS

A bunch of small cleanup for the new QS.

Change-Id: If0a5efe67366a4288f72cb91d32f5e20a4d4d6ca
Test: visual
Fixes: 34665057
Fixes: 34658107
Fixes: 34644473
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
8852905b0b3837e326127c6dfef6f699124ce715 04-Nov-2016 Jason Monk <jmonk@google.com> Unit testing for fragments.

Set up a base class for testing fragments that will generate the host
and run the fragment through some lifecycle checks to make sure it
does ok with standard lifecycle.

Fragment tests will also automatically check for any sort of leaks
related to bindings, receivers, or other callbacks in sysui. This
requires changing the statusbar.policy classes with callbacks to
have a common interface.

Lastly also fixes a few lifecycle bugs in QS found from the above
tests.

Bug: 32609190
Test: runtest systemui
Change-Id: I52007c696c2fd41914bba4ba9d8055f2b564a7d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
316bf544843ae581336fa157355c76774e0e0cbc 23-Aug-2016 Adrian Roos <roosa@google.com> Show PLMN on CryptKeeper

Also shows the state only once radio is enabled.

Fixes: 30301831
Change-Id: Iaf3b96c3622e20d8ada6e1f6391d6065101fb281
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
37d34ba893001d59d0c0a70beea87e00b25e22df 27-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Add support to hide LTE+ in UI.

Some carriers may not want LTE_CA to show in status bar/QS
so added a config overlay setting for this.

bug:30394970
Change-Id: I6e318aa9bd5921f76ded477415269f2996e5534c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
aa730be72d6e5d229b043d84905f02a9f92bafdf 13-Jul-2016 Jason Monk <jmonk@google.com> Add LTE+ and update 4G+ icons

Change-Id: Ic91450207921afbfab24cc02d00639d532495c58
Fixes: 30006697
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
7965fa41c32493f723a883ca71e7c246b940331c 15-May-2015 Ajay Nambi <anambi@codeaurora.org> Add support for LTE CarrierAgregation

Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.

bug:27360321
Change-Id: If6ffbd02e3a7f170cc041747e32bb624234c3e09
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
1bf6ec2f868041ba4c3d4c88d3ac482bfd4c52b9 24-May-2016 fionaxu <fionaxu@google.com> cold sim clean up

- add a new field: provisioningNotificationEnabled from NetworkMisc. set
to false if we want to hide "sign in" notification and placed
carrier-specific notification instead. it is set on connect, once set,
it is carrier-app's responsibility to post new UI to users
- rework on the interaction between carrier app and framework
- code cleanup
- unit test support

Bug: 28567303
Change-Id: Ic84db7ffbb920d15344717f104496d3cb82e1a85
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
fd57ea730e65afd6dcb848664dde0cdb64624659 29-Apr-2016 Jason Monk <jmonk@google.com> Don't show data disabled icon when user isn't setup

Change-Id: I2d540b8c0cb613cbf120ffadc404ee03d0447a8b
Fixes: 28246388
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
b5592dc9f4c2b97b00c24d801b90339d1d622ec3 08-Apr-2016 fionaxu <fionaxu@google.com> Cold Sim issue fix

Bug: 25203607
Change-Id: Ibde6a483477cb7c94f75b656d5e41748b13b23b2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
e06b065f6e0d0f939b8519ccd3699b90aef818e9 02-Mar-2016 Jason Monk <jmonk@google.com> Fix QS edit state being out of sync

Do this by making SignalCallbacks send out initial state immediately
rather than posting this state. This requires a little refactoring
to how SignalControllers work.

Bug: 27061469
Change-Id: Iba6b91a4a5d1d13cce0f0d308b6f85f0340bff39
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
46dbfb475fe0d1644f27f78e35735ba32c92225b 25-Feb-2016 Jason Monk <jmonk@google.com> Handle density changes in QS

Bug: 26845796
Change-Id: Icc783c9d706382e553df49f699aaf44aac943d18
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
7ea3e8bf8954343d7b243b6a23bcb8339921f3c8 25-Jan-2016 Shishir Agrawal <shishir@google.com> Unhiding MSIM APIs.

1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
9a4ce137eb5b73f9d7b097a26ae1c523c5b070e9 21-Jan-2016 Jason Monk <jmonk@google.com> Add data saver tile

Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
f668d7cceb3c6cc9143fcf92230681bddd7ccf21 14-Jan-2016 Jason Monk <jmonk@google.com> Support data usage changes in Settings

Change-Id: I78c6a3956e7136c3ed64d9323d3fe74df2898c5d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
66845a36c9eeca5296a2bf86793a5d6bedac1b36 03-Aug-2015 Jason Monk <jmonk@google.com> Add more dump info about emergency calls state

Bug: 21549528
Change-Id: Idbd70e2f4b1b3285af283a28dc1933c02ad8d04c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
1c040dbee62676226349b67d528b3d384c5ecfad 20-Jul-2015 Jason Monk <jmonk@google.com> Fix crash in NetworkControllerImpl

Happened due to multiple entry points of configuration changes
running on different threads.

- Remove the unneeded listening for configuration broadcasts
- Make the handling for configuration changes happen on the right
thread
- Happen to fix the tests :)

Bug: 22560859
Change-Id: I194b4fa233f0a8a33c4ac3252ddec70a93822337
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
33b60bb45ff45540c4bd4f5d74f3ca5489f02088 13-Jul-2015 Jason Monk <jmonk@google.com> Fix demo mode issues

Bug: 22387423
Change-Id: I7b0b4ca75bae12a9fb3a90ab804b263e8d982b46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
6be4f6b18dc6e26065874d8de048e3dad1a21b0d 07-Jul-2015 Sungmin Choi <sungmin.choi@lge.com> Fix to work statusbar configs as mcc/mnc

Call handleConfigurationChanged() at the end of
PhoneStatusBar#onConfigurationChanged to update statusbar configs.

BUG: 22215928
Change-Id: I7329d4949a8a47717ea037cf007ef0baa63507bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
8fcab35828144e27a32a95ed9bd83e4f6d83ac21 29-Jun-2015 Jason Monk <jmonk@google.com> Fix weird case of multi cell icons

- Don't auto-inflate cell icons
- Move callback to better time (shouldn't get callbacks before
setSubs)
- Fix accidental callback in MobileSignalController constructor
- Fix subscription listener to run on the right thread to avoid
the thread issue allowing this bug

Bug: 21504138
Change-Id: Ie1adf8eb05e1042245eead5354b29b314a2e0aae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
259e06f58225e70716d3370d123e8dca830206a7 18-Jun-2015 Jason Monk <jmonk@google.com> Fix some demo mode issues

Bug: 21919885
Change-Id: If79d76a2954b62e290691b1c2338d175fdbbffc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
cf053c13b832bcbadb337c19e18929d389875434 14-May-2015 John Spurlock <jspurlock@google.com> SysUI Demo Mode: Ensure we have plenty of sims.

And update some docs.

Bug: 21157785
Change-Id: I8e44e160377e66f15c6348a87326998c98cea787
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
30d8004dbf1941d9ac8c5c7839c135a1b87a87fc 08-May-2015 Jason Monk <jmonk@google.com> SettingsLib: Do wifi processing in background

Bug: 19520495
Change-Id: Iefad932bd523b26a19e5f902133563341aea7426
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
5504d39b7f880fa8b8660e5d4b014ec559124cf9 27-Mar-2015 Pavel Zhamaitsiak <pavelz@google.com> WiFi Calling: Show different operator name string in Data usage dialog.

Bug: 19950657
Change-Id: I9999d58e78154ed2d6d824973c40011875de15ef
(cherry picked from lmp-mr1-wfc-dev)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
d46bb58fa635110bf8c911107819e8bd8e8b06e2 27-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Add a status bar icon for Ethernet.

Bug: 20613953
Change-Id: I52970b4f5fb6429876d1a2eb195a834c9e020021
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
32830cc8204fe20cd3103e0ef45800ecb8f8ea9d 21-Apr-2015 Erik Kline <ek@google.com> Listen for CONNECTIVITY_ACTION instead of _IMMEDIATE

I missed this in yesterday's reaping of CONNECTIVITY_ACTION_IMMEDIATE.

Bug: 20013379
Change-Id: I6a7a0b76c1e2d183d9357ecf912ebb6dc0a5c08f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
a478d70a68696380acbd4a9739dfaaebff61c728 15-Apr-2015 Andrew Flynn <flynn@google.com> SysUI: Carrier Network Change icon

- Listen for new PhoneStateListener.CARRIER_NETWORK_CHANGE events.
- Show/hide a new unique animated icon in status bar and quick settings during
Carrier Network Change events if we are instructed by PhoneStateListener
and it's during a period without connectivity.
- ObjectAnimator doesn't let you animate colors between themed colors, so
there's quite a bit of boilerplate duplication in the animation xml.
- Add a new demo mode command to toggle it on/off.

Change-Id: Ic5bb2aa7444303c6b7f2456526a9c25325c6e1f4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
c366060792ff965ffcaa24d13134c6460172b843 06-Feb-2015 Jason Monk <jmonk@google.com> Remove dead/obsolete carrier label code

Change-Id: I97563150fb4284f8e6b2b1e2aaf5fcd392b4c6cf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
d52356aa5e82c7c5db61672bbe8d0f44861f3e59 28-Jan-2015 Jason Monk <jmonk@google.com> Move Settings wifi tracking to SettingsLib

Make SettingsLib capable of tracking which wifi networks are
available/saved and their state.

Also modify Quick Settings to use this code rather than having
its own logic.

Bug: 19180466
Change-Id: Iff9f9aed240d79323dba41496496e8076b9fa6f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
494601e39aa242d122406277a96fd71a5f8b46c0 13-Jan-2015 Wink Saville <wink@google.com> am 6a903c31: am 84c5e8eb: Merge "Rename reg/unreg OnSubscriptionsChangedListener." into lmp-mr1-dev
automerge: 9482799

* commit '948279954ac88ecfd0678713158175702d981c73':
Rename reg/unreg OnSubscriptionsChangedListener.
071743f0cbbfab36150db6ec945452579d02e8dd 13-Jan-2015 Wink Saville <wink@google.com> Rename reg/unreg OnSubscriptionsChangedListener.

To addOnSubscriptionsChangedListener and
removeOnSubscriptionsChangedListener.

Bug: 18984103
Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
d74a331ae16b17cf1967186b5392676d2e3c427c 12-Jan-2015 Jason Monk <jmonk@google.com> Merge "Avoid showing emergency calls when not possible" into lmp-mr1-dev
b36becff0831e48e208495a2c4ccf1a7330aeb58 08-Jan-2015 Jason Monk <jmonk@google.com> Avoid showing emergency calls when not possible

Tablets aren't phones, so we shouldn't be showing an emergency calls
only message when in airplane mode or no sims are in them.

Bug: 18897573
Change-Id: I8cf31fe73dfd6dfd672a5ee58524815475a76c9c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
e387af1cd0342bca41072f3c3f3dcd5d712566b3 19-Dec-2014 Jason Monk <jmonk@google.com> am 87343eff: am 28fbe040: Merge "Fix missing subscription list changes" into lmp-mr1-dev
automerge: bce7231

* commit 'bce72316c5ef39dc4669a8e0a023d43c78535bb4':
Fix missing subscription list changes
c9f0571302a59b171ff16fa049e9727503ca2986 15-Dec-2014 Jason Monk <jmonk@google.com> Fix missing subscription list changes

A missing @Override let the wrong function try to catch changes
to the subscription list.

The SubscriptionManager returns null when no SIMs are in the device,
so handle null as an empty list of subscriptions.

Bug: 18752587
Change-Id: I20ee1bde3f23828860f57b512662ad54ee51baf0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
0adc69032db5ccb62bd731ed526272fc6ded3b90 12-Dec-2014 Jason Monk <jmonk@google.com> am f8dd5f6a: am a47f968d: Merge "Handle config changes in NetworkController" into lmp-mr1-dev
automerge: 89b75bd

* commit '89b75bdbf64416cfea39641a85bf6458212a32bf':
Handle config changes in NetworkController
a47f968d7e27560984d846bb62c7b40297c1579c 12-Dec-2014 Jason Monk <jmonk@google.com> Merge "Handle config changes in NetworkController" into lmp-mr1-dev
3aaabd71242bf8aedb8edb87565943460a79226d 12-Dec-2014 Jason Monk <jmonk@google.com> Handle config changes in NetworkController

We need to remap or recalculate icons after a config change, so
configs based on mccmnc can update properly.

Bug: 18654943
Change-Id: I6a4c1debf9b266d486143b9869abb569bbc31aef
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
6cc211669c64878942ee93f592d9c2780f9607a0 12-Dec-2014 Wink Saville <wink@google.com> am 6e04a7b6: Merge "Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId." into lmp-mr1-dev automerge: 6cc44cc
automerge: 05e2ada

* commit '05e2ada58a79994170e8e98ff9a619715cdddc28':
Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.
a54bf6583380cf328b9858d942b4c387c6163f0f 11-Dec-2014 Wink Saville <wink@google.com> Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.

Rename isValidSubId to isValidSubscriptionId.

Bug: 18668873
Change-Id: Ie709a62bbb74e0a767daeb9e3fb3aecd4c45df44
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
dc6b35f54e60582e6d11ee69c7bc7695cbae6269 10-Dec-2014 Jason Monk <jmonk@google.com> am 3c8e51ab: am 7940f55c: am 6f6bc554: Merge "Push inet condition to new MobileSignalControllers" into lmp-mr1-dev

* commit '3c8e51ab8dd0b9fb58c3c64768576841dbce4c3e':
Push inet condition to new MobileSignalControllers
5e3c3e77eb3e9de36c290017917d737a17fa9241 10-Dec-2014 Dan Sandler <dsandler@android.com> am 4ced1d95: am 7971db8c: am c8466327: Squelch chatty log messages.

* commit '4ced1d959024e2d74f92d9fbdd21b787fd1ba53c':
Squelch chatty log messages.
6f6bc554fad7cc2166ea561a1171bd1ffc961498 09-Dec-2014 Jason Monk <jmonk@google.com> Merge "Push inet condition to new MobileSignalControllers" into lmp-mr1-dev
25d8a48e7348c939a3f829fe87e47857307bdbf9 09-Dec-2014 Jason Monk <jmonk@google.com> Push inet condition to new MobileSignalControllers

When new MobileSignalControllers were created after we already
received the inet condition broadcast, they would never receive
the current state of inet condition. This pushes it to all
controllers whenever they are created.

Bug: 18666876
Change-Id: Ie9997f94f3fbe206ed222a62e2a902fd43f4d67c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
c846632762f0579d504d90e5b986183779fcf034 08-Dec-2014 Dan Sandler <dsandler@android.com> Squelch chatty log messages.

Bug: 18666850
Change-Id: I0f9fe4fd0143b5668f66bd0a9c407a5018876b44
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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
41762ecac08592a1721f056d46fb68a9ccb4bdd2 03-Dec-2014 Lorenzo Colitti <lorenzo@google.com> am 45cd4df6: am d99cd44f: am dc99c504: Merge "Make StatusBar display all default networks." into lmp-mr1-dev

* commit '45cd4df6a0915558efa6bf4ec9c61fadff70572f':
Make StatusBar display all default networks.
8d72046b9ba06feadbcf71815a1c6e1017c8da37 03-Dec-2014 Jason Monk <jmonk@google.com> Merge "Don't show no sim icon on wifi devices" into lmp-mr1-dev
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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
403aa2684e0e93b4792aabc0bbe1f32ac5e417af 28-Nov-2014 Lorenzo Colitti <lorenzo@google.com> Make StatusBar display all default networks.

The basic principle is: if an app's traffic could possibly go
over a network without the app using the multinetwork APIs (hence
"by default"), then the status bar should show that network's
connectivity.

In the normal case, app traffic only goes over the system's default
network connection, so that's the only network returned.

With a VPN in force, some app traffic may go into the VPN, and thus over
whatever underlying networks the VPN specifies, while other app traffic
may go over the system default network (e.g.: a split-tunnel VPN, or an
app disallowed by the VPN), so the set of networks returned includes the
VPN's underlying networks and the system default.

Specifically:

1. Add a NETWORK_CAPABILITY_VALIDATED bit to NetworkCapabilities.
2. Add a hidden API to retrieve the NetworkCapabilities of
all default networks for a given macro-user.
3. Modify the status bar code that used getActiveNetworkInfo to
determine which network was active, and make it consider all
validated networks instead.
4. Because the set of active networks depends on which VPN app
the user is running, make the status bar re-evaluate the
networking situation when the active user changes.

Bug: 17460017
Change-Id: Ie4965f35fb5936b088e6060ee06e362c22297ab2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
0e2400fb16f5a52f755d8a2dc2a4688cf0c9a247 21-Nov-2014 Jason Monk <jmonk@google.com> SysUI: QS Wifi get connected wifi rssi from NC

Get the connected rssi for WiFi QS panel from NetworkController to
ensure it matches the status bar/QS.

Bug: 18479823
Change-Id: I82ca0cc9169a91b4e0ae6f07008d48fdb7b820f0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.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/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
5d325074b14e102a90c211a8d7b65316158ac0e4 27-Oct-2014 Jason Monk <jmonk@google.com> QS: Bring back BT/Wi-Fi sub-panels

Bluetooth has stayed pretty much the same, just came back.

Wi-Fi now shows the currently available networks like settings does.
Networks that require extra steps are taken to Settings to complete
the process.

Bug: 17722817
Change-Id: Idfcfd92f557b20168693ced26d4001f3708f08a4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
ee2c2066d11cc2dc7326503311cebe35021dca65 17-Oct-2014 Jorim Jaggi <jjaggi@google.com> Add padding when both data icon and wifi icon is visible

Bug: 18026628
Change-Id: I9fe56b53d5d2fbd5e8ea8812b56a1ce5a8c7a5d3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
1cd44e3ab4c413df05a0281fc80dc35fdc932746 30-Sep-2014 Jason Monk <jmonk@google.com> Pull roaming from mServiceState for consistency

Also consolidate roaming logic while here, to make it easier to
maintain.

Bug: 17514906
Bug: 17619763
Change-Id: I8efabdecc26722ff6ac70d715f3befaae989abdc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
23dd176915fc118563e510647f048589c12e78e5 10-Sep-2014 Lorenzo Colitti <lorenzo@google.com> Make status bar indicators reflect the network actually in use.

Currently, when we are connected to a wifi network without
Internet connectivity (e.g., a captive portal, or an access
point that's not connected to the Internet), we display the wifi
icon and hide the mobile network type icon. This is incorrect,
because all traffic is in fact going over mobile data. This
could cause nasty surprises if mobile data is metered.

Instead, make the icons reflect the true state of affairs:

- A wifi icon means device traffic goes through wifi.
- A wifi icon with ! means wifi is connected but has no
Internet and traffic is not going through wifi.
- Mobile bars with a network type (e.g., "LTE" means device
traffic goes through mobile data.
- Mobile bars without a network type mean that mobile data is
connected but device traffic is not going through mobile data.
- Mobile bars with ! mean that cell is not connected.

Bug: 17237507
Change-Id: I923edbeab3013f10314633c01922c8684591b15c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
f7f00ea9d3b648bd3491091188bc7a3615ae4aff 10-Sep-2014 John Spurlock <jspurlock@google.com> QS: Fix NPE path inside cell tile.

Bug:17456632
Change-Id: Ifc859cf8c1620152fd333d3a92bcd1a47ac1d7e7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
f832638b5720b6cbd0ce6c776782719972fd326a 09-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix padding between R and wifi icon" into lmp-dev
c737b9bd5a0bc60fd92150d55f8ddb530697b987 08-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix padding between R and wifi icon

Also adds some padding for the type and the signal strength icon in
LTE, 3G, 4G and 1x case.

Bug: 17421452

Change-Id: Ib3e6d2983397833958bca1fd33eb8b8c69e7c7fd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
448e208b0a1b2a4cec22b636afd28d58f8785c2e 05-Sep-2014 vandwalle <vandwalle@google.com> add more info to WifiConfiguration.toString:
- add the noInternetAccess field
- add stats about user triggered wifi state disabling requests
- Wifi SSID can change even though we don't loose connection, hence it must be looked at with each Network State Change

Bug:17348200

Change-Id: Ic956e11e7d61faf472a7332f84a46a746922455a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
5172dc2f36f9c417befd0957ce2ae20f9d083a88 02-Sep-2014 Jorim Jaggi <jjaggi@google.com> Status bar iconography updates

- Use new assets for location, flightmode and "more" notifications
icon.
- Update icon size and clock to spec.
- Change from fixed width of the icons to WRAP_CONTENT, so they look
more evenly distributed.
- Adjust subpixel rendering of battery icon to match other vector
icons.

Bug: 16161255
Change-Id: I0a80f223b7d532bc53a201cff37b8f1cb09f08c2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
14339c9edc2675d4757d572006625c2641db5653 28-Aug-2014 John Spurlock <jspurlock@google.com> StatusBar: Allow roaming indicator even when also on wifi.

Bug:14610152
Change-Id: Ia83abe0ae862ed747ee280c61c2fff3b62345b41
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
e5557a972ca190cb82026a5dd0c53f4d119fa05a 15-Aug-2014 Selim Cinek <cinek@google.com> Fixed accessibility issues with quick settings

The dual mode tiles now have better accessibility descriptions,
where the label is now seperate from the clickable button.
Also fixed an anouncment problem with the battery indicators.
Finally fixed an issue where GPRS null was anounced when no signal
was available.

Bug: 15682124
Bug: 15696954
Change-Id: Ica2b70173e64d51747b100d0b686875fc8076e6f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
6d13bc8e3b1cf0dac56590a0a76e9da4a1ecab75 01-Aug-2014 Wink Saville <wink@google.com> Turn off extra debugging

Change-Id: I3d7c68d3d7bcef5be084398807389f4a485bedb0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
41fef15495bb0718150b2aba34feebfb131d192d 01-Aug-2014 John Spurlock <jspurlock@google.com> QS: Fix datatype overlays.

- And simplify demo mode wiring.

Bug:15988601
Change-Id: I6827b87700cd88394b115e5e1609520b3afa8660
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
b3eb89190c4bb4ebbe676328cd37830d50e6ed3e 30-Jul-2014 John Spurlock <jspurlock@google.com> New wifi + radio icons.

- Replace old pngs with new vectors.
- New problem indication, remove provisional color filters.
- Remove spacing hacks in SignalClusterView.
- Wire up QS tile icons to demo mode.

Bug:15988601
Change-Id: Ib785288eebfb09896a499d562eb56debbd89a456
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
d5cd2fd15b8f2c9df9a3659cc294bf475e5aab13 27-Jul-2014 John Spurlock <jspurlock@google.com> QS: Cellular tile icon state tweaks.

Bug:16371677
Bug:15586604
Change-Id: Id66fc8fc0353221aa3ed4f6ebd09b499ccba6b98
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
d32e1b42c44820c732a4a724702c532e9f275438 27-Jul-2014 Wink Saville <wink@google.com> Fix hasService and use it in updateTelephonySignalStrength.

I introduced the bug in hasService in
change Ia463997eac7b062653b3cef00570d3fffc115ad3 which added
debug and a quick and dirty hack for 16148026.

Change-Id: I9d5fa36a8cdab2ca28487a94a9f2ecd0d0af6a4b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
47d8d1b0a8641a1c346da39f5052ae5aa845d117 10-Jul-2014 Wink Saville <wink@google.com> Ignore hasService in updateTelephonySignalStrength

A possible reason for empty triangle is there is no service, I'm
temporarily ignoring hasService in updateTelphonySignalStrength and
adding more debug.

Add logSSC to see history of Service State Changes.

Bug: 16148026
Change-Id: Ia463997eac7b062653b3cef00570d3fffc115ad3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
b98f747c714ff8252471ca0a3295c2cb9ccb4f3a 08-Jul-2014 John Spurlock <jspurlock@google.com> QS: Basic cellular data detail panel.

Change-Id: I1f19a8bf3e01d7f1d49e82d7096a215c863eab61
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
7f8f22a53005f776c8ee4d299e748e74b077ffd9 03-Jul-2014 John Spurlock <jspurlock@google.com> QS: Wifi control panel.

Create first example of an inline detail view with line
items, bind to new access-point controller.

Move the common bits of all control panels into a
common abstraction. Share common parts of layout
(More settings / done button).

Change-Id: I14a1bf548f3291dc628f97bf09dd4e38ac2fb2dc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
615166639b916b5e1a45cb27866429963e1c9582 12-Jun-2014 John Spurlock <jspurlock@google.com> am a6522c40: Merge "SystemUI asset update." into lmp-preview-dev

* commit 'a6522c40e44c9b8c6dc551ab05c7b0ddfbfdac75':
SystemUI asset update.
899f439a29ab1e609e7ba2aea3e9de3afef35c50 11-Jun-2014 John Spurlock <jspurlock@google.com> SystemUI asset update.

- Updated location icons.
- Updated no-sim, plumb up to QS.
- Updated zen mode synthetic notification icon.
- Updated color inversion icons.

Change-Id: I4849fbe11683feab37160c3d23502b01035de66a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
59a6127551650e7307fd6e6e1b72c1c2377fac80 06-Jun-2014 Adrian Roos <roosa@google.com> Add Emergency Calls Only and Charging State to Status Bar Header

Bug: 15393101
Change-Id: If1dc300d843fb5f694ef57714225f43924dbb2b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
3d09bbd04fc5ee028316f6cd38178c8095faa653 22-May-2014 John Spurlock <jspurlock@google.com> Better wifi-enabled signal from network controller.

The old "is wifi enabled" signal was geared toward the cluster
view. Since the clients of the callbacks are now only QS tiles,
make sure to plumb through the actual enabled value all the way
up to the tile.

Bug:15161053
Change-Id: I8b69c599f06d5b36e3f44dc666e1621840ffd927
(cherry picked from commit fd0ea545d47b19c2ebff203a6e768a60698f3609)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
a9cc0c035dcf6e7954faee18699e50e2d9d7578d 22-May-2014 John Spurlock <jspurlock@google.com> Better wifi-enabled signal from network controller.

The old "is wifi enabled" signal was geared toward the cluster
view. Since the clients of the callbacks are now only QS tiles,
make sure to plumb through the actual enabled value all the way
up to the tile.

Bug:15161053
Change-Id: I8b69c599f06d5b36e3f44dc666e1621840ffd927
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
af8d6c44f06d2f8baac2c5774a9efdae3fc36797 07-May-2014 John Spurlock <jspurlock@google.com> New quick settings implementation.

Bug:14133785
Change-Id: I7f57f8e7ebcc3e1a06fa5204f477470f14299e1f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java