History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
53a0a7fd4954c3fd140e1123fcb0ac65d9e6c6c3 12-Nov-2013 Robert Greenwalt <rgreenwalt@google.com> Notify all ApnContexts on a conn of Disconnect

Without this you can end up with default thinking
it's connected when it's actually not.

bug:10212445
Change-Id: Iffe3bf2064ac6c9f8e68ddb0d2b5115deaac2033
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
4dbcf752298487d3af0ab778bfa804462ea24271 09-Aug-2013 Wink Saville <wink@google.com> am bc42667e: am 97978662: Restart, cleanup or retry inactve connections.

* commit 'bc42667e465b7dfacfe4592390b14c5518a05e41':
Restart, cleanup or retry inactve connections.
979786625e7ceacf4a545a25704ef8a15338a854 06-Aug-2013 Wink Saville <wink@google.com> Restart, cleanup or retry inactve connections.

Instead of retrying all inactive connections, restart radio on very bad
errors, clean those that are permanent failures and retry
the others.

Bug: 10131736
Change-Id: I2527b18d6cda52c55fb94be58fbb1a7a86818ef9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
2ae42257ebafdbb0470cedeab41c2f1b418b285c 21-May-2013 Wink Saville <wink@google.com> DataConnection should not retry permanent errors.

Update DcFailCause with the "no retry" info from ril.h

Bug: 9040015
Change-Id: Ib94af9996c79800322251a45349b117e1f913269
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
46f190903e93c653b90b970c1a21159bb957575b 18-Jun-2013 Wink Saville <wink@google.com> Fix NPE when exiting DcDefaultState.

Bug: 9263045
Change-Id: I62069114d5e9f2b0e90f892d2333b27fe693294d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
185370a905597ab107a8f2b0455440017e661321 04-Jun-2013 Wink Saville <wink@google.com> Merge commit 'c93dfda4' into fix-mergeconflict

* commit 'c93dfda4':
Do not retry forever in DataConnection.

Change-Id: I58bed4576638a459537d6b5a4c217e1f2fdb3826
fcc57e87d1620ab7dc877d65e7e85dca77132054 03-Jun-2013 Wink Saville <wink@google.com> Do not retry forever in DataConnection.

When we are initially to connect we limit the the number of
retries so as to go through the list of waiting apns. But if retry
forever is enabled, as it is with Verizon devices, we can burn the
battery down quickly because we're retrying with short initial
timeouts.

In this change I also increase the timeout between apn retries from
5 seconds to 20 seconds to further reduce battery drain when retrying.
And added a retry with a longer timeout if to keep the contract with
ConnectivityService that when enabled we will continue to retry.

Bug: 9240744
Change-Id: I45b9ec5300d602d838dbdeacdbd1fca0c4d65ee3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
203e588e3c42a81aa8a56f595119c181a63b12ca 31-May-2013 Wink Saville <wink@google.com> Handling data registration and radio technology changing.

When the DataRegistrationState (aka DRS) or RilDataRadioTechnology changes
aka Radio Access Technology or RAT) while retrying the DataConnection
StateMachine will return the connection as lost immediately. This allows
the connection to be retried with the correct handling of the changed
DRS or RAT quickly, rather than having to wait until retires are exhausted.

Changes:

- Pass RAT in bringUp
- Add the capability to register for DRS/RAT changes with SST
- When DRS/RAT changes in DcRetryState return LOST_CONNECTION to DcTracker

Bug: 9069568
Change-Id: Id4f29a63421af65ce153d24d646c09f7a1e8269b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
943b5090958bd8a2c0877218b1c8dbc72c4f8758 21-May-2013 Wink Saville <wink@google.com> DataConnection should not retry permanent errors.

Update DcFailCause with the "no retry" info from ril.h

Bug: 9040015
Change-Id: Ib94af9996c79800322251a45349b117e1f913269
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
1db7da14111228a5079d2970d7d0ce34173000b5 20-May-2013 Wink Saville <wink@google.com> Remap NONE to UNKNOWN on GENERIC_FAILURES for SETUP_DATA_CALL.

Bug: 9040003
Change-Id: I49340b88fe8cfe2c7895c7950e7b9ba0f947b145
(cherry picked from commit 912a45a1c0740a33938ec9c081d9f5baa984d376)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
9a480819c79acf31f328d254b1bb9fe6cfac2c34 03-May-2013 Wink Saville <wink@google.com> On EVENT_CONNECT in DcRetryingState do not go inactive.

Going to DcInactiveState from DcRetryingState on EVENT_CONNECT causes
us to forget we are retrying the original connection and if this is
a different connection we can disconnect completely when we shouldn't.

For example, when we're retrying the default connection and we get a
request to connect to supl or mms which are short lived connections
we'll become completely disconnected.

Bug: 8770139
Change-Id: Id271bc7f88d12e6d9fe9451b09f9c9412e6959f4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
c3b7c73fd6a494483e941adddcb3c0c23f4f0a70 28-Mar-2013 Wink Saville <wink@google.com> Add fix and add some debugging.

Bug: 8492574
Change-Id: I9cb1ab4ec3efb8186a4dd83736781835e1847720
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
2cc8c148fa4cb6cba5deac6b011268b4174a0b02 25-Mar-2013 Wink Saville <wink@google.com> Use Build.IS_DEBUGGABLE

Change-Id: I8d4a2e83b8cdcf86cafb622013868f117d0701ef
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
454b1dfd508844b42eb775e4ab2359be74d3672b 23-Mar-2013 Wink Saville <wink@google.com> Rename a few files and variables.

Change-Id: I4e90dbf57797b9485920f943e24fa7a4c29d070b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
ff4e317d24f0d23bdc0f306d53ddc51f2f1ecf6a 22-Mar-2013 Wink Saville <wink@google.com> Move retrying into DC.

This is the first step in refactoring for bug 4772191.

Bug: 4772191
Change-Id: Id54a20ab192783c63939158670faaf531a527640
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
22d85a8e3a575a6d01d2c788587971657dfe20c6 23-Feb-2013 Wink Saville <wink@google.com> Clean up member variables.

Change-Id: Ib60f350131ade626aca682407ea0b4377b16f6c6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
cbaa45bbf2cab852b6c9c3a887e9f803d4e857ea 23-Feb-2013 Wink Saville <wink@google.com> Clean up

- Add @Overrides where needed.
- Update javadoc comments
- Remove extra semi-colons
- Rename DataConnection.java to DataConnectionBase.java
- Rename GsmDataConnection.java to DataConnection.java
- Add defaults to switch statements
- Remove/fix most "if (false)" statements. Fixed by using a CONSTANT
- Fix hidden variables by hoisting to base class or renaming
- Tweak some debug output

Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
4918296afe1c667e9523cdfc799f558f7ebc2bfb 21-Feb-2013 Wink Saville <wink@google.com> Move DataConnection related classes to their own package.

Change-Id: I34ee9e87545e6b15ebf4d3ec101d4ed3d322f7b2
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java