History log of /frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
2b4abcd0c7c4361af8ab6d5d7b073fb75ac6d219 08-Apr-2010 Dan Egnor <egnor@google.com> Change TrafficStats to a new JNI implementation.

Also change phone's ConnectionStateTrackers to use it directly,
rather than through the INetStat binder interface.

Bug: 2578938
Change-Id: I8858e2609cbec3be845a0ce5178cb03f67e01b41
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
16dc6dbf30d3682491f65ca702023a92481d32c4 03-Mar-2010 Wink Saville <wink@google.com> Fix a loss of data.

Fix a bug in DataConnection state machine where the notification
of disconnection completion was sent before we actually transitioned
to the in active state. Also, change conn.reset to send a response
so the user can know when the transition to the in active state
completes for that also.

bug: 2471897
Change-Id: I5776324ac89a607925d07f4a600bc5b34c3f3ed6
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
65ae29bd852ff468ad003af241d5177fe016c74a 18-Feb-2010 Robert Greenwalt <robdroid@android.com> Add USB RNDIS enable/disable control

Also adding interface configuration to the tethering machine.
Also fixing netd bug that didn't send up/down portion of iface config command.
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
984d22b180e68d6b9f8e2c81c4eb271deccfc94a 01-Oct-2009 Robert Greenwalt <robdroid@android.com> Revert setDataEnabled to setting a master switch.

This is independent of whether or not the ConnectivityManager wanted any particular APN on
and allows us to track the two seperately - so when data is re-enabled we don't turn
things on that CM wants off.

bug: 2158290
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.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/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
aad261730c566332e7b4ab29e800cca3cee9a15c 18-Sep-2009 Robert Greenwalt <robdroid@android.com> Fix typo in SECONDARY_DATA_RETRY_CONFIG

The parser doesn't like ';'.

bug: 2130639
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
89bd269975cae2d44c871c997b4eb0d42ba1f43c 11-Sep-2009 Robert Greenwalt <robdroid@android.com> Handle secondary APN connect failures.

Without this we'd only try a secondary APN once and the stop silently, leaving
no APN connected.

Adds a second retry manager with configuration strings to do a more approriate
retry. Don't retry secondary apn forever.

On permanent failure or retry count hit, we send a Phone.REASON_APN_FAILED
disconnect status.

bug: 2112114
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
6ce96faa0c8dc74ea6d1391aa54d9c6909810dc1 28-Aug-2009 Robert Greenwalt <robdroid@android.com> Don't mark an APN disabled if setup fails

We need to leave the phone in a connectable state so that it connects whenever it's able
(reception or just timing). If we mark it disabled on failure it wont try again. The retry
comes from the phone layer, not from ConnectivityService.

Also Fix the Phone layer so it retries even if it disconnected by request (DATA_DISABLED).
This was a bug from long ago that didn't become visible until recently with fast wifi and slow
mobile teardown.

Change-Id: I04bf39fba0cb578c87d5fc6ea5d220820ff9f364
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
868b34bd740a279fa243dce6803af40f8cc42db7 24-Aug-2009 Robert Greenwalt <robdroid@android.com> Track apn Enable synchronously and notice failures

Another way to fix this problem. Notice the failures of dataSetup and mark the requesting
apn as unenabled so future attempts can be made.

bug: 2069221
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.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/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
25254db31a7c4190cc453d38cd50d65a17885305 17-Aug-2009 Yong Zhang <yzhang@motorola.com> Delay radio reset to wait for data cleanup in CdmaDataConnectionTracker

Issue to be addressed:
In radioRestart() method in CdmaDataConnectionTracker, if the radio is
restarted right after cleaning up connection, it is possible that the
connection setup request triggered by radio-on may happen before the
connection cleanup has been completed so that the connection may not
be set up correctly after the radio is restarted. The end result could
be that the phone lost the data capability.

The patch includes the following changes:
1) Add EVENT_RESTART_RADIO in DataConnectionTracker.
2) In CdmaDataConnectionTracker, method restartRadio(), send a message
delayed by 20s, the purpose of which is to wait for connection cleanup
to be completed, then to restart radio.
3) In CdmaDataConnectionTracker, method trySetupData(), don't try to setup
data if there is pending message to restart radio.

Addtional notes:
A system property is not used to config the delayed timer because we
think this fix is to address the unusual error case and waiting for
long time should not impact user experience much. 12s is the longest
time to complete the data cleanup as we have seen so far, so we are
using a 20s timer.
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.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/telephony/java/com/android/internal/telephony/DataConnectionTracker.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/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
ad4d9e5bebb5a9ba01c1459d941019887f4a7d6d 15-Aug-2009 Wink Saville <wink@google.com> Allow CdmaDataConnectionTracker to handle RIL_UNSOL_OTA_PROVISION_STATUS
and when data roaming is enabled reset the retry manager.

This change also refactors mRetryMgr to DataConnectionTracker
removing it from Cdma and Gsm data connection trackers child classes.
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
3918e13b24d4e7ad410089eb615721ca026bec01 09-Aug-2009 Wink Saville <wink@google.com> Add configurable data-retry.

Add RetryManager and change GsmDataConnectionTracker and
CdmaDataConnectionTracker to use it.

Add TelephonyUtilsTest which tests RetryManager.
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
e7e12b44bc37ba971507dde265bb999b63a580e8 22-Jun-2009 Jaikumar Ganesh <jaikumar@google.com> Tune the Reconnect back off timer.

Cap the max limit to 30 mins.
Re-register to the network once, when we reach the 30 min max.
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
9c2a3be8bad8867cc524d8813dc6468a7ffb3f09 04-Jun-2009 Jaikumar Ganesh <jaikumar@google.com> Fix thread safety in DataConnectionTracker.

All the methods in DataConnectionTracker should be called only through
the handler. Fix this as trySetupData was being called in the broadcast receiver.

Tested: Airplane mode and GPRS retry.
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
faf4413dffdc9079683b951736088ff2a01073a4 30-May-2009 jsh <jsh@google.com> Manually merge a few fixes from cupcake and cupcake_dcm.

CL 144717: Correctly set user data payload length for non-7-bit encoded payload.
CL 149058: Check for null TP-OA in SmsMessage.parseMessageBody().
CL 138094: Make sure call state (and other updates) have a chance to get processed between data setup attempts.
CL 132624: Added a comment for a way to save a message to the SIM.
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/frameworks/base/telephony/java/com/android/internal/telephony/DataConnectionTracker.java