History log of /frameworks/base/core/java/android/net/MobileDataStateTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
da6da0907b28d4704aabbdb1bbeb4300954670d1 16-Aug-2012 Irfan Sheriff <isheriff@google.com> Captive portal handling

We now notify the user of a captive portal before switching to the network as default.
This allows background applications to continue to work until the user confirms he
wants to sign in to the captive portal.

Also, moved out captive portal handling out of wifi as a seperate component.

Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
d14e17627266ff8cf804d1f8241a0a4bde7a0ab4 20-Aug-2012 Robert Greenwalt <rgreenwalt@google.com> Update TCP buffer size when switching network type

Import of non-merging change 41612 from AOSP

When PDP connects in GSM network, the TCP buffer window size is
set to max 8760. If the phone swicthes to UMTS, the TCP buffer
size is not updated to UMTS, i.e. GPRS buffer size is still
used with limited data transfer spead as a result.
This fix makes sure the TCP buffer size is updated when
switching network type.

Change-Id: Ic44a557677ffe629e83ce1f522a9f058bee6e7b2
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
6b6ce6bfce56c2f3ce007b33d3f834f8dd62b626 01-Aug-2012 Robert Greenwalt <rgreenwalt@google.com> am a5637bac: Merge "Telephony: Add HSPAP to getTcpBufferSizesPropName"

* commit 'a5637bac23611a985696c92b49f93964f435ecb5':
Telephony: Add HSPAP to getTcpBufferSizesPropName
897b311ccbcc3e6a21a03f36101e1fd804810ef8 31-Mar-2012 Naveen Kalla <nkalla@codeaurora.org> Telephony: Add HSPAP to getTcpBufferSizesPropName

When device is camped on HSPAP TCP Buffer sizes need to be configured
properly to support higher data rates. Without this change, default TCP
buffer sizes will be used and throughput will be low.

Change-Id: Ica5884b35851a32e57c82c63b148df5be580ae83
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
71930dd77e4dc6f6be5c648019d2ab0da5f0584c 25-Jul-2012 Jeff Smith <whydoubt@yahoo.com> am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214

* commit 'a45746efadd11bb7dfab026fb3c81a25fae74ca4':
Fix several cases of broken droiddoc syntax external issue 35214
a45746efadd11bb7dfab026fb3c81a25fae74ca4 19-Jul-2012 Jeff Smith <whydoubt@yahoo.com> Fix several cases of broken droiddoc syntax
external issue 35214

patch contributed by Jeff Smith <whydoubt@yahoo.com>

Change-Id: I70dcee88a140699bf3e1ab369bed6dcd2fdd3d83
/frameworks/base/core/java/android/net/MobileDataStateTracker.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/core/java/android/net/MobileDataStateTracker.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/core/java/android/net/MobileDataStateTracker.java
12e24ae7600f8297abcde0d7c29d6cfb64f59dfb 18-Oct-2011 Robert Greenwalt <rgreenwalt@google.com> Send availability info more reliably

We don't have a monolithic availability state, so the mAvailable variable
must go.

bug:5453318
Change-Id: I82af90907cc7a0173b74d661912f9c28ddc7dcb0
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
c9acde9aa6cf21598640aeebb7d908f1926a48dd 21-Sep-2011 Wink Saville <wink@google.com> Reduce connectivity logging

Change-Id: I5d45b8fbcd01e42df7f2b1cf02fb5b226128abb8
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
2367e75beebd44338d67c20270cecedd5ca3cb5c 13-Sep-2011 Robert Greenwalt <rgreenwalt@google.com> am 61db35da: am 2f835a61: Merge "Make copies of NetworkInfo to give out." into honeycomb-LTE

* commit '61db35da2b4501dde5646f86f21cf5054c41ea26':
Make copies of NetworkInfo to give out.
6aecb98a627daa3f66c060ca5177a075e4e9bcca 09-Sep-2011 Robert Greenwalt <rgreenwalt@google.com> Make copies of NetworkInfo to give out.

Otherwise we'll change it out from under those we've given it too.
bug:5233462

Change-Id: Iffc886849edfa6ced3da1133f9d363e11b2733f8
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
a6d4248e21bd62a51ac4aaadaa67fdb55b666d98 03-Sep-2011 Robert Greenwalt <rgreenwalt@google.com> Pass roaming info to ConnectivityService.

bug:5215657
Change-Id: I77024141a7bbaa47eae021009e16b283699be53e
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
47eb102b40cd1324d89816a7fb0fecd14fd7a408 26-Aug-2011 Jeff Sharkey <jsharkey@android.com> Always splice historical data stats, debug info.

When reading network counters, always splice in xt_qtaguid values
to avoid counting backwards. Test to verify.

Remove verbose logging around global alerts, and add dumpsys debug
info for NMS and MDST. Also fix subtle bug around stats persisting
and dumping.

Bug: 5212893, 5211028
Change-Id: I783e5286637a67ee2dd2b09878198711a926d0cb
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
8e28b7d78232f6cf08739ca0d129cc7f9e650801 19-Aug-2011 Jeff Sharkey <jsharkey@android.com> Proactively disable data when over policy limit.

Add policy controls to NetworkStateTracker which are combined with
other user preference and internal flags to decide if data connection
should be established. Better locking around enabled flags.

When data network would be over limit, proactively disable data on
that network. Enable when policy is snoozed or when cycle resets.

Track and dismiss notifications from now-stale policies.

Bug: 4587023, 5178147
Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
58d4c595818de0d1b7edf382fee6ed1a4bd70e7f 03-Aug-2011 Robert Greenwalt <rgreenwalt@google.com> Reduce ConnectivityService logging

bug:5106520
Change-Id: I4a7a5cac51c09e9e2275b30b7b2c053f94b9088d
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
5a8921fddac150601f4719d714e919e3a600f295 30-Jul-2011 Robert Greenwalt <rgreenwalt@google.com> Stop creating threads for each MDST.

Response to email from the framework team.

Change-Id: I8fec9cfbc3364c2c2a16156afc2414d06c675de7
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
ec896c6a863b3cc0a55538a19879e2112b5b8658 15-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> Reset connections AFTER we take down the network.

If you do it before you have a race condition and some apps will
manage to reconnect on the dieing network before it goes and then
get no notification when it goes.

bug: 3408025
Change-Id: I5386ff313c759b3f687bc38731454ab43dbe76b8
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
01758e81b3ad89934581885bb2fc7006510ec639 01-May-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> Linkproperties update via unsol data call state change.

Handles the scenario of radio technology handover with IP continuity.
Once RIL/Modem finished a handover operation, an unsol data call state
change will be send up to FW notifying all link propertes changes.
FW will then re-configure the device with new link properties
including iptable used by Tethering.

Change-Id: I05e29f66ac3db8ba4274d3662642607742ba1d12
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
d55a6b498d66d8fc415908ecf63e50f46cce67e8 25-Mar-2011 Robert Greenwalt <rgreenwalt@google.com> Add external dependency API.

An APN will not be connected to if some external dependency is not met.

bug:3486704
Change-Id: I7d94df343b260013efd11faa978deb13f07f1389
/frameworks/base/core/java/android/net/MobileDataStateTracker.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/core/java/android/net/MobileDataStateTracker.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/core/java/android/net/MobileDataStateTracker.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/core/java/android/net/MobileDataStateTracker.java
645b83f3ec2ead154c2062fd6d4498713d11de7e 21-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Remove some unused code.

Change-Id: Id29bf7d2118065e2e772b22d910bda1c6de2a475
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
17415b9292d3da64d6776906954bcf31421d00f2 14-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Update network subtypes info so it is current.

bug:3327895
Change-Id: Ic1e2a5527c651333af50cc5cfa6c44a15b991fb0
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
e798268f16ec6d0542616ea45ca0bb18ae2645ee 07-Dec-2010 Wink Saville <wink@google.com> Have MobileDataStateTracker & DataConnectionTracker communicate directly.

Added CMD_SET_DATA_ENABLE which is sent when data is enabled/disabled
via the ConnectivityService. It is anticipated that the communication
channel will be used for additional commands and to receive unsoliciated
commands from DataConnectionTracker back to MobileDataStateTracker.

Change-Id: I3863e7385155d503f069b1dcb7e4f766ec78b5f8
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
ed9c02b56c6f56a583aa272f82818ef039face75 03-Dec-2010 Wink Saville <wink@google.com> Cleanup logging.

Change-Id: Ie73c6d97ec19b0d27e58c085b60e885d90066056
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
26f5a384d81487cc6bb80a78fb40d5e7e7ffc81e 25-Nov-2010 Wink Saville <wink@google.com> Use apn types instead of host when sending notifications.

Previously we were passing the apn host not the type and this
caused us to sometimes not send out network change notifications.

Also rename of getActivceApn to getActiveApnHost to make
the method clearer on what is being returned and add some debug.

A future change will rename ApnSetting.apn to ApnSetting.host
and getActiveApnString.

bug: 2995554
Change-Id: I0c405b0f823f62c9596968c8516b820d9f8a94f2
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
962a990a45a2a9f9c3002064e71f9c2fed86acf1 02-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Add some network/phone type constants.

Support for LTE (and SIP-based voice) and the stepping-stone eHPRD.

bug:3125398
Change-Id: Ied3d96fa09d9c758a82a2fd1817f55db711d1a4f
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
ba175a5e1331883ef4ecfc2b751789a3492efca1 06-Oct-2010 Robert Greenwalt <rgreenwalt@google.com> Turn on some debugging info

bug:3060742
Change-Id: I86f4e0b3f678c80e1bee11abd32ab0b9e0563b09
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
dc71b9e4d67327065a992924a021cad4bc100fa2 01-Oct-2010 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 6a3eddb4 to master

Change-Id: I1ca1d100274d4a733ef2bf58b0d5d7217b4f858e
6a3eddb469b282f7d904e5dbcb375ad44ada3ee3 01-Oct-2010 Dianne Hackborn <hackbod@google.com> am 0a69f597: Merge "Rub in a little \'ol log-b-gone." into gingerbread

Merge commit '0a69f597604254bc37721b135ab612eaacdd0cbd' into gingerbread-plus-aosp

* commit '0a69f597604254bc37721b135ab612eaacdd0cbd':
Rub in a little 'ol log-b-gone.
cef65eeb0315c3118bf8860d6f723cb49ff6bc52 01-Oct-2010 Dianne Hackborn <hackbod@google.com> Rub in a little 'ol log-b-gone.

Mmmmmm... great fresh scent!

Change-Id: I050e70b31b5d4a9c6731f15a4b51a3620a33a78d
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
f61101f6266be243c481d163b95e65d67b8d1669 17-Sep-2010 Wink Saville <wink@google.com> Add LinkCapabilities

Change-Id: Ia1599ade936b79f12526252c0a2e6b453abb136e
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
30bf654574981c39e9090fdd6ddbf515a4180bae 03-Sep-2010 Wink Saville <wink@google.com> Remove unused intent from filter and unused method.

Change-Id: I8c503903fceb508658cce14918f2c77c04289873
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
cff25ffb0aeddecc2621e59b47322e524aa66046 31-Aug-2010 Robert Greenwalt <rgreenwalt@google.com> Remember mobile nets availability

Change-Id: I402ac64bf477b0b600b17f0267c2ff5c19ab9cf3
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
37e65ebb7eb932e1a144b1cab262e11ca5fd109b 30-Aug-2010 Robert Greenwalt <robdroid@android.com> Rename NetworkProperties to LinkProperties

Also add copy constructors and use them when giving out data.

Change-Id: Id320eb8fb91d0bd250305ce7bb4f628570215615
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
585ac0fc8dde3fe35ec4c71c8f215f2c84139b8b 27-Aug-2010 Robert Greenwalt <robdroid@android.com> resolved conflicts for merge of 4ea54f44 to master

Change-Id: Ia77bb59a6e1950648c8ebf7db307e204f93a9f56
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
b21b62327c10e92baf1a88e77f1c6d5576a17d62 26-Aug-2010 Robert Greenwalt <robdroid@android.com> resolved conflicts for merge of b998f311 to gingerbread-plus-aosp

Change-Id: I7ceb0b624e78d85542d1c36bfabeb5dc31961505
8afddad7e7ce7275e26dc1ebfb359fbdd1d5920b 20-Aug-2010 Robert Greenwalt <robdroid@android.com> DO NOT MERGE Fixing Connectivity

Passing Gateway addr info from telephony into ConnectivityService so it can
add/remove the default route as needed. Fixed differently on master.

bug:2927822
Change-Id: I9a3ee7cd23c4717e7c60098f0595aa3f77c44b15
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
9bc709d46e1165ca0c9a02bd970767c401b990e5 10-Aug-2010 Banavathu, Srinivas Naik <snb@codeaurora.org> Add an API to request route to an IPv6 host.

Add API to create a route to an IPv6 host through a particular
interface.

Change-Id: I7649051e94832576e02b5f5ad17abe093d21d48e
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
a22ae073cc727eb4cf2c6734d6ba7336d6d9e2b4 14-Aug-2010 Robert Greenwalt <robdroid@android.com> DO NOT MERGE Do not kill sockets going default->hipri

A usecase is to use hipri to keep alive 3g connections when wifi
is about to be brought up. They are the same network, so don't
reset unless both are down.

Change-Id: I8dabc42f315943b28ea34721793b0ee330c07bf6
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
c7a98341b053bd8090accca151e8f3522f2dd126 14-Aug-2010 Wink Saville <wink@google.com> Add documentation to NetworkStateTracker and a small change to the API.

Also, removed some unused NetworkStateTracker event codes.

The API change was to add context and target to startMonitor, this makes
it easier to document what the actual interface contract is.

Change-Id: If9b52486c3c281fe4794bc78417c8b03888414b1
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
0d25534fed91f636def5776ddc4605005bd7471c 28-Jul-2010 Irfan Sheriff <isheriff@google.com> Split WifiStateMachine from WifiStateTracker

Notifications handled in WifiService. WifiStateTracker tracks
state for connectivity service

Change-Id: Idb0cf494898d28712af0f95f9e60c5417cd4a053
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
153b4374d067ee92a0b9c712e54300cc49db017c 23-Jul-2010 Robert Greenwalt <robdroid@android.com> Don't reset connections switching default->hipri

A usecase is to use hipri to keep alive 3g connections when wifi
is about to be brought up. They are the same network, so don't
do the reset unless both are down.

This will go away when we get the deferred network downing.

bug:2865630
Change-Id: I07729b7776fe5ea129120c688cf7839a55a7ed95
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
0a0ba099ed89270a9346748ccfe2265def595e9e 16-Jul-2010 Robert Greenwalt <robdroid@android.com> Fix Emulator boot.

Catch a NPE that doesn't seem to happen on devices.

Change-Id: I47d599afbed76798d8d312a59e30b89664363e93
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
47f69fe2999e46004f2f2463b70d38de9ff7079a 16-Jun-2010 Robert Greenwalt <robdroid@android.com> Pass network properties to ConnectivityService.

Used as a bag to hold ipaddr, gateway, dns, proxy info.
addr's are InetAddresses for v4/v6 use. Cleaning up some old v4-only code

bug:2655015
Change-Id: I7ac886fe5c519e8bab42f49cd82a5189d9c9ab59
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
d649c12815bcf944b2c97371f3f60716a42a1557 10-Jun-2010 Irfan Sheriff <isheriff@google.com> Make NetworkStateTracker an interface

As part of the WifiStateTracker cleanup, need
to have NetworkStateTracker as an interface.

Change-Id: I2ac48d7e4c7274ac4df40bc3b8591b182956a936
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
02648a4b8422733ed401f07edf8e426318bb2f8d 18-May-2010 Robert Greenwalt <robdroid@android.com> Clean up APN notifications.

Add APNType info to notifications so you can tell what's happening. Now, even if a new APN
shares a connection with an already-connected-to- apn type, the new type will get all
the connecting and connected messages on connect and disconnecting/disconnected on disconnect
even though the shared connection remains connected.

Cleaning out the hacks MobileDataStateTracker needed to deal with the old situation.
bug:2226092

Change-Id: Iddd7421d6b91cda7c8405f9c3d5404ac04ef8e42
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
4adacd23d4c91569b16fe50419f1a91f68d805bd 12-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: If6730b50627b2231bd345e594d8d30a37557849e
0a5174a6e947d5cbeb8846a1273a90b6de065cbf 21-Apr-2010 Naveen Kalla <nkalla@codeaurora.org> Add support for EVDO Rev B

Change-Id: I8588e8b342c51f4b79bced8ef8fe60d57f07aefa
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
61f1ce0ec0692f4184edef3334a26973ba65edd7 18-Mar-2010 Robert Greenwalt <robdroid@android.com> Fix bug in airplane mode.

If the phone comes up in airplane mode you and you turn it off,
you can currently end with both mobile and wifi turned on.

bug:2524413
Change-Id: I7a841c955be9038109d0b220070406a3fbd3e8e9
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
50f1c4b7093dd0e319ed16917446ed9f39f2d809 04-Mar-2010 Robert Greenwalt <robdroid@android.com> Resync with Telephony after losing Phone service.

Bug shows we lost contact with the phone service. We used to leave the notion of enabled alone
in this case, but that can lead to being out of sync (the mobile data connection may be
alive or come alive but if we think it is dead we ignore it). Changing our
notion of its enabled-ness to 'enabled' means we'll pay attention to its messages going forward,
and since after a reboot it starts enabled we'll actually be in sync.

bug:2323057
Change-Id: Ie080b50d764e6879e712507aceb68f585f12f94e
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
78a640af951377d9749d0dbfd027687cbb92dc72 11-Mar-2010 Robert Greenwalt <robdroid@android.com> Make HiPri work when already connected.

A recent change made the HiPri MobileDataStateTracker listen for notifications
about the default connection (which HiPri shadows). Local code was sending
itself a notification using the old HiPri badging instead of the new Default
badging and those notifications where therefore ignored.

Manifested itself on HiPri connections when we were already on 3g.

See change 42422 on master platform/frameworks/base for the change this is completing.

Change-Id: I375026048724d0035297287c61c6c2f58d4e0294
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
0e350f020a5858dcf2b507a19b26c0ef69b1ec89 26-Feb-2010 Robert Greenwalt <robdroid@android.com> Fix hipri status notifications

MobileDataStateTracker was looking for "hipri" notifications, but it is really
just using the default apn.
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
5154ae7665743b114c71f90dcc577dc50c63b398 30-Oct-2009 Robert Greenwalt <robdroid@android.com> Cleanup ConnectivityServices network configuration

Don't instantiate objects not needed for the device.

bug: 2226064
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
03d246779ea65fc2bd10d0b4f32620f45211133a 08-Oct-2009 Mike Lockwood <lockwood@android.com> GPS: Fix problem with SUPL when SUPL APN is already active.

Use ConnectivityManager.CONNECTIVITY_ACTION broadcast in LocationManagerService
to notify GPS when SUPL connection is ready instead of TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED,
which is not sent in all cases.
Expand LocationProvider.updateNetworkState() to include NetworkInfo object.

Fixes bug b/2155661

Change-Id: Iee227ace7d536b36cf7973e3e6a8b7a621ce6565
Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
d8df149cfb82cf02cef7e04c05f229d7caf7fe90 06-Oct-2009 Robert Greenwalt <robdroid@android.com> Turn some logging back on in ConnectionManager

Trimmed a bunch of logging out, but turned it on so we get the critical stuff.

bug: 2168291
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
bd0a81ff1c0e92e80e05e2f12bb1805c7d081e94 04-Oct-2009 Dianne Hackborn <hackbod@google.com> Work on issue #2163789: Way too much logging

Dr.No from mcleron.

Change-Id: Iaca2268684f83fe8757e64db0b0e047a19755311
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
d1aca6aa73b0f1e22229829db89b1f3513a16aa8 25-Sep-2009 Robert Greenwalt <robdroid@android.com> Fix ConnectivityManager's handling of apn switch.

It was clearing the interfacename when it was needed later in the process - the prevented us
from clearing the route to private dns servers and clearing the flag that this was set.
Consequently future uses would not set the private dns servers (since it thought they were already
set) and our lookups would fail.

bug: 2146929
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
8206ff30c23c76851bebc8d72a65e65b0f7f9a29 11-Sep-2009 Robert Greenwalt <robdroid@android.com> Fix for multi-apn MMS access.

Mark cellular variants with the same availability, regardless of which are currently in use.
Availability just means the radio is enabled and sees the network, but has no guarantees that
we could connect to an APN if requested.

Fix the requestRouteToHost logic to support apn switches without WIFI.

bug:2093841
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
0badd0b700ed618dac421cb6cde4654b51acb3a4 25-Aug-2009 Robert Greenwalt <robdroid@android.com> Note net availability even when apn not enabled

Fixes a problem where mms apn was on when we lost the network (airplane mode) but mms was
off when airplane mode was turned off so it kept thinking we didn't have access and
future mms always failed.

bug: 2075145
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
ec9fe4672a46eb928ab710d8e3caf2ce046100d4 21-Aug-2009 Robert Greenwalt <robdroid@android.com> Fix a race condition for data change notification

We could sometimes not be told about network state changes breaking subsequent mms access.
Turning on more logging too.

bug: 2069106
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
ebe66345e7099ca6fc95e8aa4d31a5b5cbbd6224 14-Aug-2009 Li Zhe <jqc837@motorola.com> Framework changes to support HSDPA/HSUPA/HSPA
HSDPA: High-Speed Downlink Packet Access
HSUPA: High-Speend Uplink Packet Access
HSPA: High-Speed Packet Access

Add support for HSDPA/HSUPA/HSPA:
1) extend TelephonyManager.NETWORK_TYPE for HSDPA/HSUPA/HSPA
2) extend ServiceState.RADIO_TECHNOLOGY for HSDPA/HSUPA/HSPA
3) set radioTechnology into ServiceState in GsmServiceStateTracker
4) change the implementation of TelephonyManager.getNetworkType to
solve the competition timing issue between the time of setting
system property and the time of receiving notification through
PhoneStateListener
4.1) add a getNetworkType interface in ITelephony.aidl
5) add icons resources for HSDPA/HSUPA/HSPA
6) make use of HSDPA/HSUPA/HSPA icons in StatusBarPolicy
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
a64bf834ffa677405af1c87c9f53eed0cd3853ce 20-Aug-2009 Robert Greenwalt <robdroid@android.com> Fix various issues found when testing Mms.

Fix some race conditions (check isTeardownRequested).
Fix the passing of mInterfaceName to subtypes (mms, etc).
Fix the generation of CONNECTED message to already active subtypes.
Fix the enabling of Data in DataConnectionTracker.

bug: 2065037
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
60a45aff31541f65d39e4c4e7824cd1ea5a1e84c 19-Aug-2009 Robert Greenwalt <robdroid@android.com> Fix Wifi+Cell on boot after wifi in use.

The gist of it is: Ignore reconnect fail of default APN during boot.

A long path:
1 If wifi is started at boot it starts fast - before the PhoneService is available.
2 Wifi starts by failing - you get DISCONNECTED/Scanning events so CM starts the other default network (mobile).
3 Trying to restart mobile fails because the phone service isn't up yet.
4 The failure is noted and the net is marked as not-enabled.
5 The phone trys to auto-start the mobile network and succeeds, sending state-changed events
6 The CM ignores the state-changed events because the net isn't enabled (see 4).

The long term fix is to remove two-way state tracking from the MobileDataStateTracker and instead just consume the state fed to us in state-change events.
Near term fix is to not mark the default net disabled when we have failure (step 4) if the phone service isn't available.
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
c85675d0ef75ad968935ff8af9a3ed8bee29c511 18-Aug-2009 Robert Greenwalt <robdroid@android.com> Fix for Mms without wifi.

Need to change MOBILE_MMS network into connnected state if the current
apn can already support the traffic.

Bug:2058212
Bug:2055065
Bug:2046882
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
25a5d3db3ff06b9952395832308bc3b48913c4ee 14-Aug-2009 Robert Greenwalt <robdroid@android.com> Fix CDMA to startup/shutdown based on apn en/disab

Fixes MMS during wifi.
Also fixes CDMA for ConnectivityManager change.
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
42acef37339afe6ac608c842f1637870ee9c4f6c 13-Aug-2009 Robert Greenwalt <robdroid@android.com> Add net type to mobile for mobile-required traffic

This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc.
Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
cd15475bc3c096a0d17e76c6917ea253e54f7641 30-Jun-2009 Mike Lockwood <lockwood@android.com> Revert "ConnectivityManager: Add support for bringing up the default APN."

This reverts commit a84b6faffbe7ef5981f3202be0f68a8b44d61a76.

I will work on a better mechanism for bringing up the default APN
when Wifi is enabled.
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
a84b6faffbe7ef5981f3202be0f68a8b44d61a76 24-Jun-2009 Mike Lockwood <lockwood@android.com> ConnectivityManager: Add support for bringing up the default APN.

The default APN can now be requested by calling
ConnectivityManager.startUsingNetworkFeature(Phone.FEATURE_ENABLE_DEFAULT).

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
42ad56ead40f6c5986bd2d298b1d36f42da489a1 14-Apr-2009 Mike Lockwood <lockwood@android.com> telephony: Add support for bringing up GSM data connections for GPS SUPL.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/net/MobileDataStateTracker.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/net/MobileDataStateTracker.java