Handling data registration and radio technology changing. DO NOT MERGE.
authorWink Saville <wink@google.com>
Fri, 16 Aug 2013 16:34:11 +0000 (09:34 -0700)
committerWink Saville <wink@google.com>
Thu, 3 Oct 2013 15:50:05 +0000 (15:50 +0000)
commitf02d966cc7e87eaea595f05714857c4ca99a36e6
treeef98fa836c86ec63dd8d18093e3c96834623e175
parentec56ef5d31886afbae233e5cccb8fbf78cfa01c4
Handling data registration and radio technology changing. DO NOT MERGE.

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: I897168baf17ecaedd0f1df4ef3c2263066d70ece
src/java/com/android/internal/telephony/ServiceStateTracker.java
src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java
src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
src/java/com/android/internal/telephony/dataconnection/DataConnection.java
src/java/com/android/internal/telephony/dataconnection/DcAsyncChannel.java
src/java/com/android/internal/telephony/dataconnection/DcTracker.java
src/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java