History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c06462c1adbe24a6b7e16d094eb338b040b89f40 21-Jun-2013 Wink Saville <wink@google.com> The config_show4GForLTe is dynamic use latest value.

Previously this was updated only at construction time,
but the value isn't even set at that time and can change
at anytime. So instead read the current value when needed.

Bug: 9513380
Change-Id: I50c676beadf5df8190897a9f6ab94c098e8d7e71
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
2fe71d013f373e8eca740781214c505792a9feb0 06-Jun-2013 Daniel Sandler <dsandler@android.com> Add LTE overlays for signal strength indicators.

Note that operators that wish to show "4G" instead of "LTE"
on these networks can set config_show4GForLTE to true.

Bug: 9265513
Bug: 9265217
Change-Id: If7f3580da7266b0d0c62639e30684393d4e03392
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
8b268d461b7001da212589b371dd3f9a79a79b3e 28-May-2013 Daniel Sandler <dsandler@android.com> Don't show emergency calls label unless it's a phone.

Bug: 9042105
Change-Id: I8ffb6a66851878cdf22be9a20dbf57f5b6b48002
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
8afcd149970c79054a3a16377834aa0aec35eee0 28-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make SystemUI RTL aware

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ica88ed68f893d5272691a9207788b65623849dee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
bac221ff0b9e1406f95f23c9a5c3b580ece10eab 04-Oct-2012 Casey Burkhardt <caseyburkhardt@google.com> Accessibility enhancements within quick settings and notification shade.

Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
ced8d21f5abf46d128264a3039f7a84155d2b9dc 13-Sep-2012 Daniel Sandler <dsandler@android.com> Add string for 'Ethernet'.

Bug: 6676469
Change-Id: Icbeb3e96b8580850a8392f443dc277488631bcab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
5f623011db42fc7bd6fb8e57becd7a8eeb23a915 14-Sep-2012 Winson Chung <winsonc@google.com> Making QS scrollable and making numerous tweaks.

- Updating new assets (all line up)
- Updating brightness tile to reflect auto state
- Fixing network tile asset colors
- Adding press feedback

Change-Id: I857f141258eefec65243454cb69905cbd2a10bf6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
4f49d9450fe919868f9a9a9a44db59ca2497150c 14-Sep-2012 Winson Chung <winsonc@google.com> Adding data type overlay to network tile.

Change-Id: Iae3c188e2f7f03bd1ebaddc756021be312ddb0aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
ed1395f3981193c762e436cd1db725ce70022e43 14-Sep-2012 Winson Chung <winsonc@google.com> Updating Wifi/Mobile tiles to reflect actual connection state with new assets.

Change-Id: Ic1cd78c77f94f1c9cf9bbc1bcea3082ca536d94c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
c09cdce1b05075da808ae080b9905a14a3e1e627 11-Sep-2012 Christopher Tate <ctate@google.com> Update airplane-mode manipulation for the new Settings namespace

Quick Settings and global actions (aka longpress-Power) toggles are
included in this CL. The Settings app manipulations are updated in
a different CL because that's a different git package.

Bug 7132230

Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
d63c59786509aadd6a8d0c5cb45ed696339f16b7 06-Sep-2012 Winson Chung <winsonc@google.com> Initial changes to add QuickSettings.

Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
393e3170b3f52a3e191554ffd8c8f81821ba2074 28-Aug-2012 Daniel Sandler <dsandler@android.com> am ad955fe8: Merge "SystemUI: Fix data activity overlay not being removed when data is disabled"

* commit 'ad955fe87f44b43dbb2842fdcbe4e62900b5a07f':
SystemUI: Fix data activity overlay not being removed when data is disabled
ad955fe87f44b43dbb2842fdcbe4e62900b5a07f 28-Aug-2012 Daniel Sandler <dsandler@android.com> Merge "SystemUI: Fix data activity overlay not being removed when data is disabled"
1971df5d4296f077cccff704201057a32b733235 04-Aug-2012 Wink Saville <wink@google.com> am e20a19cb: Merge "show 3G icon for CDMA/1xRTT"

* commit 'e20a19cb541f8621f04be0f3d3501f2fc51a0e82':
show 3G icon for CDMA/1xRTT
68cad3a0faf0cad9cba81a13e2cde75ca6ae528e 03-Aug-2012 Madan Ankapura <mankapur@sta.samsung.com> show 3G icon for CDMA/1xRTT

when config_showMin3G is enabled to true in a CDMA device

Change-Id: I79a4fa200dc406fc7f9f4527165046541961ef69
Signed-off-by: Madan Ankapura <mankapur@sta.samsung.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
3d30590bc4874de32f7b04fa3e5db1f95f71de1d 03-Apr-2012 Pawit Pornkitprasan <p.pawit@gmail.com> SystemUI: Fix data activity overlay not being removed when data is disabled

If mobile data connection is disabled while there is active data
activity, the data activity overlay will not be removed and will
be stuck there. This patch fixes that.

Change-Id: I4cc1a14bb2e2d85687752657608e5989adfe9af1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
5cb62df6bdac4aaab7a1c1b1ef849ec213ff028b 28-Jul-2012 Daniel Sandler <dsandler@android.com> am dd4ef49f: Persistent \'emergency calls\' banner in the notification panel.

* commit 'dd4ef49f4545dad2a6503d29e129472aba5392fc':
Persistent 'emergency calls' banner in the notification panel.
dd4ef49f4545dad2a6503d29e129472aba5392fc 27-Jul-2012 Daniel Sandler <dsandler@android.com> Persistent 'emergency calls' banner in the notification panel.

While carrier info (or SSID for devices without mobile data)
will still be shown in a floating text view at the bottom of
the notification shade, emergency-calls-only mode will now
be shown in the notification panel header so that it cannot
be obscured by notifications.

Change-Id: I714b6801be2b9b631b86b51d229440445eff5e76
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
7da1ad699989db8417ce54eb26697eae4a30f634 25-Jul-2012 Daniel Sandler <dsandler@android.com> am c524ca27: Merge "Fix NPE on some phones at startup." into jb-dev

* commit 'c524ca275add1c84ef4e1e5c105058f44cac5efb':
Fix NPE on some phones at startup.
9af376e57ad83d43cd1d326c295ea90b225f2983 25-Jul-2012 Daniel Sandler <dsandler@android.com> Fix NPE on some phones at startup.

Bug: 6877589
Change-Id: I65ff37b4cf6b59a72a7aa665f252f5fb34f3b183
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
7d1ef0cee7c61dea18216a80a00d437109b698d5 25-Jul-2012 Daniel Sandler <dsandler@android.com> am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev

* commit '3ee47ae7ee0d0afc0a2bbe71636c31483b5502cd':
Fix 6804479: "Emergency calls only" in notification shade
0ae29275b863b865c7734f14a4427906134b95b1 24-Jul-2012 Daniel Sandler <dsandler@android.com> Fix 6804479: "Emergency calls only" in notification shade

Add an additional codepath to the "no connectivity" logic in
NetworkController to allow the PLMN bubble up from the
GsmServiceStateTracker, where R.string.emergency_calls_only
is returned if we're in emergency call mode.

Bug: 6804479
Change-Id: I0a77261e4393cc0dc32bae3e631ef196b2342f06
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
33034b13cae1429d526722374bd39be3f9605ae4 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common - DO NOT MERGE

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
67234c4b87f767a8d5ebbd1ab6bc803f7fe8504c 15-Jun-2012 Daniel Sandler <dsandler@android.com> Hide "no internet connection" when connected some other way.

We now track whether the device is connected at all, and use
this to suppress the disconnected message in the mobile
status string (we previously just looked at wifi
connectivity).

So, if a device is attached via ethernet:

- On wifi-only devices, the combined label is shown in the
notification panel, so you'll see "ETHERNET" (this comes
straight from EthernetDataTracker; at some point we need
localized strings and icons).

- On mobile-data devices (phones), the notification panel
only shows the mobile data label, which will be
suppressed, so you'll see nothing at all.

Bug: 6648292
Change-Id: I9841eaeffe50a4f046afbdc09d80c5bd4d78a839
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
3d32a24adf02cecca86ec16ac8827ce195daeaec 05-Jun-2012 Daniel Sandler <dsandler@android.com> Back from the dead: Carrier name, background dimming.

Unlike previous versions of Android, we now show the current
wifi SSID in the carrier label if connected to wifi.

Bug: 6612419
Bug: 6620626
Change-Id: Ifb5ba8efe6dd387e960efc6a9b1da69a08e97d96
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
0fa9d2d03f2825e22408cda65a9bbb88a43d9a31 01-Jun-2012 Andrew Flynn <flynn@google.com> Refresh signal cluster for airplane switch.

This fixes a bug where if Airplane mode on/off is the only icon
that is changing in the signal cluster (for example, someone on
a wifi-only device has wifi turned on in airplane mode, so wifi
icon is not changing), this will refresh the signal cluster.

Bug: 6531918
Change-Id: I7a440b84c9dfa0b300b81d14426b99fd48fad06c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
c325cba2e84f6fdd5d936baca534449e9ba5e937 24-May-2012 Andrew Flynn <flynn@google.com> Set phone/data signal icon ids to 0 in airplane mode

Sets the views to be GONE and also triggers a view refresh for airplane mode
switching

Bug: 6531918
Change-Id: I3b544df3665c16ff11cb79c6fa882fa4314db680
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
d4b7e92744bfca1432b9ade74b718936757fcade 17-May-2012 Daniel Sandler <dsandler@android.com> New null (disconnected) RSSI for wifi and mobile.

On wifi-only devices we now show the null wifi RSSI if wifi
is enabled but not connected.

Bug: 6449811
Change-Id: Ib0cb11bcbef86d44ec633690806cff38796ffc3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
061d43c2386dd8222448bb1bec017bf9a2367a4e 04-May-2012 Andrew Flynn <flynn@google.com> Move airplane icon to its own view

Change-Id: I59b9895fe8092d122fd22aa6171ac41ddbf667eb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
07573b32494acbabd21979d8b9584c1ed3f7a6ad 28-Jan-2012 Irfan Sheriff <isheriff@google.com> Improve Wi-Fi hand-off

When Wi-fi connects at L2 layer, the beacons reach and the device
can maintain a connection to the access point, but the application
connectivity can be flaky (due to bigger packet size exchange).

We now use Watchdog to monitor the quality of the last hop on
Wi-Fi using signal strength and ARP connectivity as indicators
to decide if the link is good enough to switch to Wi-Fi as the uplink.

ARP pings are useful for link validation but can still get through
when the application traffic fails to go through and thus not best indicator
real packet loss since they are tiny packets (28 bytes) and have
much low chance of packet corruption than the regular data
packets.

Signal strength and ARP used together ends up working well in tests.
The goal is to switch to Wi-Fi after validating ARP transfer
and RSSI and then switching out of Wi-Fi when we hit a low
signal strength threshold and waiting until the signal strength
improves and validating ARP transfer.

Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
286b364c7b2438148fc71f3e99f2495f19f1577f 14-Feb-2012 John Wang <johnwang@google.com> am 0b17fc36: am 252c64f9: am 63b59666: Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1

* commit '0b17fc360185ca7b9d05a096b0033ddd8d883940':
Only use CDMA rssi for config_alwaysUseCdmaRssi.
d55cde1384598b31d900f804a197fa3b1467202d 14-Feb-2012 John Wang <johnwang@google.com> Only use CDMA rssi for config_alwaysUseCdmaRssi.

If config_alwaysUseCdmaRssi is true, the RSSI signal bar only
shows the CDMA value, no matter it connects to EVDO or WiMax .

bug:5941743
Change-Id: I4187571898a9fb47162e1ccf0cc4c59c3136ae0b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
bc92613cf79a28d46e47386a202f9f851c237263 27-Jan-2012 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Display roaming indicator icon only based on ERI in CDMA case.

Fixing CV failure. In some scenario where ERI table expects
"Roaming Indicator OFF", R icon was still displayed on
the status bar. This patch is to update the logic so that
only ERI table is used to display R icon in case of CDMA.

Bug:5932154
Change-Id: I125087cc8d700b102e05c3050d88a70485c9a86e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
5e61331da59921413a8e2a144146a8451a054020 30-Jan-2012 Jeff Sharkey <jsharkey@android.com> Move away from deprecated NetworkInfo extra.

Because the NetworkInfo included in CONNECTIVITY_ACTION broadcast
extra does not reflect the state applicable to the calling UID, and
the last sticky broadcast may have stale state, transition to calling
ConnectivityManager.getActiveNetworkInfo() directly.

Change-Id: I86b316fbedd0273585ad5f1248b091bc3a3a5520
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
62a1eb8972f6eb1133060ae96142abcd57d347dd 26-Jan-2012 Daniel Sandler <dsandler@android.com> Suppress mobile-out-of-service label if wifi connected.

Carrier name is shown if
- in service and connected to mobile data
- in service and connected to wifi

Carrier name is blanked if out of service and connected to
wifi.

"No internet connection" is shown if out of service without
any other route.

Bug: 5903914
Change-Id: I59d4d0c90e4153d73c38f7f0e150becf7e021a5b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
2e481b9146fe194fb1344ff8c1d1e0d499bdf06b 24-Jan-2012 Daniel Sandler <dsandler@android.com> Stop showing "No internet connection" when there is one.

In particular, even though the mobile data network isn't
routing packets (and therefore is not an internet
connection), we want to show the PLMN anyway:

[MOBILE RSSI] Carrier [WIFI RSSI] WiFi SSID

This change also improves the following cases:

- Combines "No internet connection" from wifi and mobile
into one single string in airplane mode:

[AIRPLANE] No internet connection.

- Removes "No internet connection" from the mobile string
when wifi is on in airplane mode, making a nice compact
display in this case:

[AIRPLANE] [WIFI RSSI] WiFi SSID

Bug: 5903914
Change-Id: I477821d2c5e9922252dd6bcb3ed494c8c57d99b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
639ed754bba866d2a47ef7ca58e56806b546b149 20-Jan-2012 Daniel Sandler <dsandler@android.com> Hide mobile RSSI on devices without mobile data.

Also fixes some minor layout glitches along that row of
icons (Bluetooth vertical alignment & spacing, battery text
width, inter-icon padding).

Bug: 5895226
Change-Id: I303c2899bf21ddb7e28914d8fb36efd7090ac5e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
70e21c927afeff05d8f26e9df2f36785ca19fdfd 20-Jan-2012 Justin Ho <justinho@google.com> Merge "New out-of-service RSSI." into ics-mr1
e3b86f2137f7e98fe2ec5adf09404d0fe0d6fecc 18-Jan-2012 Daniel Sandler <dsandler@android.com> New out-of-service RSSI.

This creates (well, restores, since we had this until
Honeycomb) a user-visible state for "no service" that is
distinguishable from "very very weak service" (less than one
bar).

Bug: 5775939
Change-Id: Idd08b1a9411d5d94e4d7a97fa7f3ffd92b8113a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
32f470017246e397e2c21556b9dc04bb99e52862 19-Jan-2012 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Always show appropriate mobile service label.

Fix for Carrier Verification case failure for not showing
"no internet connection" text on expanded status bar while
mobile data connection is not CONNECTED state.

Bug:5884774
Change-Id: I433d5de626b9b0cff20d192cb6aae214f3e014b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
5962fd5ec95249ba8354d3a533c27a012bcf22e2 11-Jan-2012 Daniel Sandler <dsandler@android.com> Clean up wifi/mobile indicators in the expanded panel.

We now have two separate RSSI icons, one for wifi and one
for mobile data, as originally proposed in bug 5544770.
Each has an accompanying label showing the appropriate
network description string (PLMN or SSID or "No internet
connection"); these will be truncated as necessary to avoid
clobbering other UI elements in the panel.

Bug: 5543495
Bug: 5621224
Change-Id: I8fc322f8471fc94000e7230de359d3f1fe561b1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
ec9cc1bcc85a06f3f767de831bb5ca50983964cc 30-Nov-2011 Jeff Sharkey <jsharkey@android.com> Avoid airplane mode labels when Wi-Fi enabled.

When refreshing network views, avoid setting airplane mode icon and
labels when connected to Wi-Fi network.

Bug: 5262367
Change-Id: Ib831ce06bab67fffcc14a8c3b1ba9e437a74761d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
0fee21703b6ae3fc0b5007210e203444359559bc 10-Nov-2011 Daniel Sandler <dsandler@android.com> Fold WiMAX state into the mobile RSSI.

WiMAX will now be shown like any other 4G network.

Bug: 5584528
Change-Id: I33ef7b34b88ca006ce77a7ff1e55b7b38648d7d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
148c7d0de720a92632aa6ed10a39bfc38b427239 13-Oct-2011 tk.mun <tk.mun@samsung.com> Wimax : wimax framework related open source.

Integrate wimax network related changes into Android Framework.
- In Connectivity service, start wimax service.
- 4G icon display in StatusBarPolicy.
- DHCP renew add.
- Add radio for wiamx

Change-Id: I2d9012247edfdf49d71ca7e1414afd0006f330ca
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5237167
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
9b5ae0ce51a1835ea3881fb51eae4897210430ed 26-Aug-2011 Daniel Sandler <dsandler@android.com> Tuning parameters for mobile RSSI.

* Allow phone RSSI to be shown instead of data
* Allow "3G" to be shown for all sub-4G networks

Change-Id: I0dc61ee039d1065ad6ccd63a2b2420edc62cb62e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
0d6ff01050af1bc37ee383c9c7ed1b3a3aa775bf 20-Oct-2011 Daniel Sandler <dsandler@android.com> Tune wifi RSSI code (see bug 5241139).

Bug: 5241139
Change-Id: I3fef432c39f1b33532e48b643bd9268d3df0f864
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
7c35174a6f0fd6a01b6d63418bf4355f16b8ae64 17-Oct-2011 Daniel Sandler <dsandler@android.com> Turn off chatty logging.

Bug: 5120636 // connection state
Bug: 5125930 // status bar
Change-Id: I5713a4d63df7c51f9e2f53ea21aa66973f74d4c6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
58d807f66a98d61c4e0e5c16d56212279e8b3c68 03-Oct-2011 Daniel Sandler <dsandler@android.com> Merge "Fix contentDescriptions in status bar."
bcf6ef0b82c1daea43e03b8ad5af319ed324242a 30-Sep-2011 Daniel Sandler <dsandler@android.com> Fix contentDescriptions in status bar.

- Strings for signal strength
- Strings for the clear-all-notifications button
- Adjust phrasing for the clear-one-notification button
- Adjust phrasing for the settings button

Bug: 5285136
Bug: 5325056
Change-Id: I489e49f3b3d88a6b599ababe68d0535302eb0ae2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
ecc430e9f5783649d75704aa7ae90a542ee85862 30-Sep-2011 repo sync <isheriff@google.com> Fix wifi data activity icons

Bug: 5393252
Change-Id: I6ca650b4f722b2c8cc4d17b1bc6ec2f2c0b7e10d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
71bfec448847d8585c8a789596525dc729350877 26-Sep-2011 Daniel Sandler <dsandler@android.com> am 61b645ab: Merge "Update all RSSIs whenever the connectivity changes." into ics-factoryrom

* commit '61b645ab86ace1511593f1f1f46dfb62bf0ae8b9':
Update all RSSIs whenever the connectivity changes.
7c12eee6439435d7f29d49cab76edaedbd809460 25-Sep-2011 Daniel Sandler <dsandler@android.com> Update all RSSIs whenever the connectivity changes.

The connectivity includes the network condition, which is a
magic number that indicates how useful the connection is
(driven by ability to connect to GTalk, and manifested with
a differently-colored signal icon).

Previously we were only updating the icons of the network
type currently in use. Now we tickle all the icons any time
the connectivity changes, to avoid the two icons getting out
of sync (example: on mobile, connection is bad, connect to
wifi, conncetion is good; wifi icon appears and turns blue
but mobile RSSI remains gray).

Bug: 5369405
Change-Id: I78b62084b819c83f83aacc146feeb323c1199dc0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
9200109c9de1b1f99d5b3c6e9c635c618c0a8b7e 20-Sep-2011 John Huang <jsh@google.com> am edc8029b: Merge "Retain signal level even when data is offline." into ics-factoryrom

* commit 'edc8029b8b9ac9233e4dc73f05415265bac712de':
Retain signal level even when data is offline.
f37c2e0afb95877445cedc3523be35b46362d71d 20-Sep-2011 Daniel Sandler <dsandler@android.com> am d1d07432: Merge "More debug logs for RSSI updates." into ics-factoryrom

* commit 'd1d074326d81b6a92cff5a5fc279b8c9177cc7aa':
More debug logs for RSSI updates.
da49dac48dd154b2f86bc38d07046149022e1425 20-Sep-2011 Daniel Sandler <dsandler@android.com> Retain signal level even when data is offline.

Also disable extremely verbose RSSI logging.

Bug: 5340142
Change-Id: I051a4cec5651a0734db2666526b16037d7053a1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
c49e195da49ec5d7f0450f9968f1acd127b1d7f1 20-Sep-2011 Daniel Sandler <dsandler@android.com> More debug logs for RSSI updates.

Bug: 5340142
Change-Id: I1f7f106301d3942cc88d21d97a6c732c712e4516
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
5ccff81a642844138b144ad2cc339eba188812a0 13-Sep-2011 Daniel Sandler <dsandler@android.com> Fix overlapping wifi and airplane icons.

Bug: 5254547
Change-Id: If293be36c4e06a8fac6f728b1f96e5759fe20f6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
e16c279d4f39231b25948cdd19a642ca676d82c7 09-Sep-2011 John Huang <jsh@google.com> Handle HSPAP.

We were missing a case statement for HSPAP when picking icons.
Treat it the same as the other HSPA types.

bug: 5286238
Change-Id: Ia222cc600a5920e057698ba8b0d2cc8e4836b500
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
89d97131bd7fd7494c3469dfdf6351a84bae62bf 08-Sep-2011 Daniel Sandler <dsandler@android.com> Show roaming icon in status bar.

This also refreshes the data type icon when the data
connection state changes, so it'll pick up network speed
changes (3G->4G, e.g.) that aren't accompanied by some other
radio state change.

Bug: 5278165
Bug: 5274807
Change-Id: Ic97252a9fb29bd3f2a927f6a57666809297ad60e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
9b2886e24301e5d4e7052ec4a6eaff273d3f516c 31-Aug-2011 Robert Greenwalt <rgreenwalt@google.com> Create new isNetworkSupported API

Useful for checking if on a wifi-only device.
Similar to asking for NetworkInfo for a network type and checking for
null, though here the intent is explicit.

bug:5087537
Change-Id: Ia3ddd09b6b735b8b3ceb7a347891e015fd96b218
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
7b2013d94c29da01dba298c6ab97b7b2b37fad34 24-Aug-2011 Daniel Sandler <dsandler@android.com> Only show wifi indicator when wifi is connected.

Bug: 5182789
Change-Id: I06e9592f9c51affd3b05b163f7a4f7b0c144403f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
28f89d40ee7bab93cf7b783f92dbb18bdc43e473 15-Aug-2011 Daniel Sandler <dsandler@google.com> Fix the crazy RSSI icons.

Codepaths for wifi and mobile were contaminating one
another's data, which is fine when you're only showing one
at a time, but not so good in the general case.

Bug: 3481508
Bug: 5159559
Bug: 5161130
Bug: 5163206
Change-Id: I64e6f5ebd07a5b0777e7296b1c210195431e4ce6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
2e347429dfcd03b0827c7506ba6305ab0d1f4951 11-Aug-2011 Christian Robertson <robertsonc@google.com> New RSSI cluster in status bar.

Bug: 5147463
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
1f1304a84e35a866b1ece7aa852815987af660fd 07-Aug-2011 Daniel Sandler <dsandler@android.com> Don't show network type if no SIM.

Bug: 5127932
Change-Id: Ib29bfe3372b2c40618480691d65cc4c74d02f8fd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
60b3e9c15779583269150dd0811fd610f65d662c 04-Aug-2011 Daniel Sandler <dsandler@android.com> Log some signal condition diagnostics for now.

Bug: 5103241
Change-Id: Id780a3e535270c53e5f1b531c761ca5010291040
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
2b69735e014872ca2183b4a39a8381daa337e146 22-Jul-2011 Daniel Sandler <dsandler@google.com> New stacked RSSI icons.

The signal strength, network type & flow indicator, and
battery have all been moved out of the policy and into the
status bar implementation itself, mirroring the change on
tablets. This means that they no longer use status bar icon
slots but instead are bespoke layouts and views.

GPS has also been removed and will return as a notification
(again, as was done in the Honeycomb tablet UI).

Bug: 4691638
Change-Id: I60df4871209b64209bfc5b3bf398651cc2e77b24
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
6179ea3196e9306d3f14361fe9ef14191b1edba6 28-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the Status Bar.

1. Added content description to pretty much all animals
in the zoo including buttons in the navigation bar,
notifications and status icons for battery, signal,
data, etc.

2. Rectored to avoid ovelaying views since they block
touch exploratino. In general overlaying views
cause trouble for touch exploration and accessibility
in general.

3. Avoid sending accessibility events in case the user is
touching outside of the StatauBAr panels to avoid
confusion.

4. Added records to accessibility events in the places where
this would help the presentation. So the event comes from
a given "leaf" view and its predecessor is adding a record
to the event for itself to provide more cotext. It is up
to the accessiiblity service to choose how to present that.

bug:4686943

Change-Id: I1c1bd123d828fb10911bca92130e9a05c1f020b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
acab04dfc16f0ad08ecd167ae759c158cea2e19f 07-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> Fix NPE in the statusbar.

Happens for some reason when switching between LTE and CDMA. Filing separate
bug about why we see the null ServiceState in that case, but it revealed
this one use which wasn't checked for null.

bug:4518551
Change-Id: If8f9a89658a7165d79f96cad7d99cbf670e96ae7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
4502636629ebb3f2ebb8521241c364666d1d7345 17-Mar-2011 Daniel Sandler <dsandler@android.com> am 8f5cab8b: Merge "Remove logspew." into honeycomb-mr1

* commit '8f5cab8b31014a261f4e6e12e6d751de51de37c3':
Remove logspew.
8d5d19c99084bc6720172e221fd7bec7656004fd 16-Mar-2011 Daniel Sandler <dsandler@android.com> Remove logspew.

Bug: 4114202
Change-Id: I88de0f98bb33f0d1258b702169d754e98648e403
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
9d7d62801ddb206d2ea96d74864a9edfe54d2eee 12-Mar-2011 Wink Saville <wink@google.com> Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7
and is the first of the LTE commits in master being back ported
to the LTE branch.

Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
f32621aded6858b8712511ee30313c94934e009d 11-Mar-2011 Joe Onorato <joeo@google.com> Wire up the data activity reporting on wifi icon in status bar.

Bug: 3412258 and #6699FF
Change-Id: I11142f1cd5a2a60045b2a1fea371b2ead2aa81b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 03-Mar-2011 Wink Saville <wink@google.com> DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
123d9cf7a94f5f59b5ecd84c9c2357b4ade69388 02-Mar-2011 Daniel Sandler <dsandler@google.com> resolved conflicts for merge of 49853dc1 to master

Change-Id: I0d56965740d1273841e33cfc5db57b4df05915d1
bd15112a29eefb93e62235574b694746044c9261 24-Feb-2011 Mike Corrigan <michael.corrigan@motorola.com> Fix the display priority of the airplane mode icon.

The airplane icon is used as a fallback when no
other radios are available *and* the AIRPLANE_MODE_ON system
setting is set to 1. (NetworkController now tracks changes to
the setting via ACTION_AIRPLANE_MODE_CHANGED broadcasts.)

This fixes wifi-only devices, for which the previous logic
did not correctly and consistently detect airplane mode.

Bug: 3489820
Change-Id: I226bb0e977f6a5fd3f2d829ba51ca54c5c910ef3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
fab337648df339b1a1fea4fa97d8217760435d56 01-Mar-2011 Daniel Sandler <dsandler@google.com> resolved conflicts for merge of cfeaa492 to master

Change-Id: I6ee4e3f822cb91008b1ca64ab9a6673278e501e0
9a7c7129760ac89ffebf3dd3b508ff755ecff844 25-Feb-2011 Daniel Sandler <dsandler@google.com> When out of range, show device-appropriate no-signal bars.

Also, start using the 0-bars WiFi icon when necessary;
previously, one bar was the lowest the WiFi icon could show.

Bug: 3488403
Change-Id: I3018685db3cf302d10c5e525a7d2c90f3c664f10
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82 25-Feb-2011 Wink Saville <wink@google.com> LTE Changes for Telephony including Multiple PDN support and IPV6 support

Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
5284090631e638b916d9a453212e9dc802656a67 18-Feb-2011 Wink Saville <wink@google.com> Changes for ril.h version 6.

Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
227bec49157bc496f7c9e8e8f63c12728a448922 16-Feb-2011 Irfan Sheriff <isheriff@google.com> data activity reporting on wifi

Initial checkin, need icons to complete the feature

Bug: 3412258

Change-Id: I9a3ecc8159cc314d84707065dafe23d402409a84
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
fce2bf3735177828ccf823b49d3396dfaccc8fd4 02-Feb-2011 Joe Onorato <joeo@google.com> Add a bluetooth icon and data direction to the status bar.

Bug: 3354414
Change-Id: I21cc9a2597e3b22bc5860a042d8a8cc4e93ca5b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
c198bb1db8c16789a815b5fa2b393e113047bd47 01-Feb-2011 Joe Onorato <joeo@google.com> When the data flows, the icon glows.

Bug: 3354414
Change-Id: I1734c8f63d02731d7194364ce7cb692d6de820ac
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
99641836d88044cafd3cac78f1c055beef3161b0 30-Jan-2011 Joe Onorato <joeo@google.com> Update the network info when the configuration changes.

Bug: 3405559
Change-Id: I91a0e05f2e6d1c7766b89ba4f96d87ce07783318
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
40cdd9b65091f402ae229a15cf001826b317d1c9 29-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Don't use mobile networktype icon if not connected

bug:3398345
Change-Id: I0e8beb54e909e02bc551c54d65c5fed8e4e8cb10
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
fde7f0ede4248c7fe4c066bfc449381fde530430 10-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Update status bar icons for BT reverse tethering.

This updates the icon when its connected and the IP address
has been obtained.
Change-Id: I1b0ad5572a1899b118d1b6b6f49e41b7242b689a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
933464dd02e9aeaff7944a2c8e3e44942971e1e8 06-Jan-2011 Joe Onorato <joeo@google.com> Fix the 3G icon shows as G.

The connectivity services does not seem to return meaningful network types. That's ok because we
get good ones from the telephony service anyway.

Also adds a ton of stuff for adb shell dumpsys activity service SystemUI TabletStatusBar

Bug: 3255953
Change-Id: If4bf413a628a8ffc338c83a9c33bfd367d6d2796
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
355ebc09d2354795ff674d65eb09d4fee0ddb402 02-Dec-2010 Joe Onorato <joeo@google.com> Show the operator or wifi ssid in the status bar panel.

Change-Id: Ia2983bce35c5f2ab706995777c80e96cc9a4c2ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
dff2e9a4582e400e4935608ef5c744680990c335 28-Nov-2010 Joe Onorato <joeo@google.com> Rename strings.

Change-Id: I0a9d016aa5864e5d64e9cab6b0e720daaa816537
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
ddbba42b812ab397a75db78aba6b48fecf0e31f6 24-Nov-2010 Joe Onorato <joeo@google.com> new signal strength assets

Change-Id: I6387d68659ff7ccf5024f186eeb75ab33c477a1f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
b8297cfc76248f2863c985eb05d5a32fe3f6c279 18-Nov-2010 Irfan Sheriff <isheriff@google.com> Stop listening to supplicant state change events

wifi connected status should be based only on
network state change events or it can lead to a
race condition.

Change-Id: Ib2343f0d192ef99959f908a370d55aae7ba86a5a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
09f686ec7ea3ea103736b7173e55b0b214bfb819 16-Nov-2010 Joe Onorato <joeo@google.com> use the proper number of wifi icon levels.

Change-Id: Ib8d4bccff7240d0086729093d79f564aa97001ff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
801ade0f08364042a530c9f0530094c2bcc020f8 16-Nov-2010 Joe Onorato <joeo@google.com> Don't crash if we haven't gotten a signal strength yet.

Bug: 3198447
Change-Id: I645b484eadfff6ed34517571b0c6fea3057ec563
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
fd52b18d9bf3cd62c7a07058536e9f97db65beea 11-Nov-2010 Joe Onorato <joeo@google.com> The beginnings of the new status bar.

There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java