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 >>>)
5325b6786ca1092644cefc11b2991f1e8e5671a3 21-Apr-2017 Jack Yu <jackyu@google.com> Fixed crash in data connection

Need to check if mConnectionParams is null before
accessing it.

bug: 30936226
Test: manual
Change-Id: Ia3ec371b40f6c53f988897f5cb6f1099f415b94f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
120d52b890d9ec9993747a31b199694ba2c0b7a2 11-Apr-2017 Jack Yu <jackyu@google.com> Added unmetered use only data connection support

If a data network is brought up while data is turned off because
the request APN is unmetered, when data is enabled again, this data
network needs to be torn down so a full capable data network can
be re-established.

Test: Unit tests
bug: 30936226
Change-Id: Ia233c80fa14980713bfe66bef61f1c6f4a8c1c0d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
26c3198e70345a70e5dfa8ee422c7c4e60916cbe 31-May-2016 Lorenzo Colitti <lorenzo@google.com> Switch to using StringNetworkSpecifier.

Bug: 27533960
Test: unit tests
Change-Id: Ic763178bb1d85e9ec1734953415a416e3216fd40
Merged-In: I85c575d620970063a396af06d84080a2cceb4293
Merged-In: Ie59fbfc49b07496057973a3279d6b9ef5bb9d4bd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
1a4f9e5f59ddadcce94a358011966209bc28c5ca 11-Apr-2017 Jack Yu <jackyu@google.com> Merge "Merged makeNetworkCapabilities and getCopyNetworkCapabilities" into oc-dev
6289b21a3b9f0214a862878096384d8ce90a572c 03-Apr-2017 Jack Yu <jackyu@google.com> Merged makeNetworkCapabilities and getCopyNetworkCapabilities

Merge two identical methods into getNetworkCapabilities. This
is the preliminary work for unmetered mms fix for b/30936226.

Test: build
bug: 30936226
Change-Id: I2e41dd1ecac03da12b47c843f1f10c500026aa28
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
ecb75ffc91e7036ae87c5f0488fa871d4e079922 01-Apr-2017 Jack Yu <jackyu@google.com> Revert the change to fix the failed unit test cases

Also fixed some typos.

Test: telephony unit tests
bug: 29579544
Change-Id: Ia7e867c5f1723f528ed543e7da3a5254ae7b7729
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
b84f81fc061a131de05815a7b35d3e17adfc785a 09-Mar-2017 Adrian Salido <salidoa@google.com> Merge "Revert "Get rid of RIL version."" am: 6514905475 am: cd7b721ab6
am: c39906967f

Change-Id: I55dac4d7ee85fb890d8b08c22ffe6bf7c8835cb3
a56f405d3006b1d8378b5f7757a5613b75fa8fb4 09-Mar-2017 Adrian Salido <salidoa@google.com> Revert "Get rid of RIL version."

This reverts commit 81ea341d2deb767cbd1de2f356296ad92e951c52.

Bug: 36018228
Change-Id: Iee0410f197c2869e2bdefcaaae51e7ef215cdff1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
091c17e62f5f0fbdfd3e564a23b237ffffe26bbb 04-Mar-2017 Amit Mahajan <amitmahajan@google.com> Merge changes I61f19621,I70faef33 am: ef4062e157 am: 26c10b1d02
am: b33edcb0e0

Change-Id: I7d8cac4e04a8546e95bb2d19521ffb63b5bd2c06
81ea341d2deb767cbd1de2f356296ad92e951c52 03-Mar-2017 Amit Mahajan <amitmahajan@google.com> Get rid of RIL version.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I61f19621dd86622faecca77c4dadf3ced81e9c21
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
caecd75617c11d33e000c4d90f8a6557c5b2de7e 13-Feb-2017 Jack Yu <jackyu@google.com> Data call refactoring and hidlization

Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address
some issues we had earlier.

bug: 32224135, 30173958, 33561503, 30282096, 32020264
Test: Telephony sanity tests, unit tests

Merged-In: I239baa144bcee413f67e77c6b79b4ae5278077e8
Change-Id: I239baa144bcee413f67e77c6b79b4ae5278077e8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
8e9d1e601dce62cd0328701d7054e03db24727c7 13-Feb-2017 Jack Yu <jackyu@google.com> Data call refactoring and hidlization

Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address some
issues we had earlier.

bug: 32224135, 30173958, 33561503, 30282096, 32020264
Test: Telephony sanity tests, unit tests

Change-Id: I239baa144bcee413f67e77c6b79b4ae5278077e8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
9be7c26f29b4ba23409a197220063595cc80664d 01-Feb-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL solicited responses - 2

Test: Basic telephony sanity
Bug: 32020264
Change-Id: Ib2e70b94b401b8ab3e8968134e4dd20ec29ab989
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
522fc0602d60895881b33243030dd40d5778e4a9 01-Feb-2017 Amit Mahajan <amitmahajan@google.com> Client (framework) side HAL changes for RIL solicited responses - 2

Test: Basic telephony sanity
Bug: 32020264
Change-Id: Ib2e70b94b401b8ab3e8968134e4dd20ec29ab989
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
b5771d36210a751e6ec916556ad0f20fcb9b4288 18-Nov-2016 fionaxu <fionaxu@google.com> Initial change on carrier signal filtering

- support new carrier configs with two signal list per carrier app
- support new broadcast mechanism to comply with background-check restriction on O.
- add carrier action agent for dispatching carrier actions

Bug: 30958215
Test: runtest --path
frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierSignalAgentTest
Change-Id: Ibf7496bdb1ba8c85384da0b667a5610a52b45d80
Merged-In: CHANGE-ID I4e9e2f56e991e9d6753f8d7e877add5ada595972
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
6a7fb078d1cacba7cf2e83b71242bb5c4c27c975 18-Nov-2016 fionaxu <fionaxu@google.com> Initial change on carrier signal filtering

- support new carrier configs with two signal list per carrier app
- support new broadcast mechanism to comply with background-check restriction on O.
- add carrier action agent for dispatching carrier actions

Bug: 30958215
Test: runtest --path
frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierSignalAgentTest

Change-Id: I4e9e2f56e991e9d6753f8d7e877add5ada595972
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
6a14ff8d0b222fbd85adc4d08cae61298c76c429 29-Sep-2016 Robert Greenwalt <rgreenwalt@google.com> Plug hole in Roaming indication. am: 1fb93b5f57 am: 9a2900456d
am: 91164b4747

Change-Id: I5877584d2073fbd240dff0ebfc58be52d00a0770
91164b47472a169e27fb5ac6c611c6a2d059fa99 29-Sep-2016 Robert Greenwalt <rgreenwalt@google.com> Plug hole in Roaming indication. am: 1fb93b5f57
am: 9a2900456d

Change-Id: I0faed3bb304d75450c5ddb75ec43c895af221272
1fb93b5f57b92a2951a0ca2122ad17809b45675e 28-Sep-2016 Robert Greenwalt <rgreenwalt@google.com> Plug hole in Roaming indication.

If we change phone types after falling into a roaming condition
(due to other bug/race) we were tossing the old state and not
notifying listeners. This could leave listeners thinking we
were still roaming.

Also added logging to try to catch this in the future and made
DataConnection (a listener) more robust by rechecking the roaming
state when it connects.

bug:31278802
Change-Id: Ica5b2bbf1cb6fde5bc11994d1a699c53ac562ade
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
4bd352bf6a97a2cb6acbd4bc38e5de668e3df521 28-Sep-2016 Jordan Liu <jminjie@google.com> Merge "Update reference to config_restart_radio" am: 519b4406c0 am: 077b2119b4
am: 624a9a3b22

Change-Id: Ie9b05b1cf1e6ed3c4b0b0bebf931ea316440f30d
383fc550310852f6078727a74413d5e5855c1878 12-Sep-2016 Jordan Liu <jminjie@google.com> Update reference to config_restart_radio

For the switch to CarrierConfig, we update the method used to get the
value of what used to be called
config_restart_radio_on_pdp_fail_regular_deactivation to the new method
provided by CarrierConfig. Since we need to pass the context, we also
update the places this value is accessed so they pass their context.

Merged-In: Id43344339b07628d62e640bf73f75af048a1259b

Bug: 29873049
Change-Id: Iba091f43e094b823b5f27db6b5f05b5a362c4658
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
31f84bf1a4f1c945f7ca4646095ef4717a261c98 12-Sep-2016 Jordan Liu <jminjie@google.com> Update reference to config_restart_radio

For the switch to CarrierConfig, we update the method used to get the
value of what used to be called
config_restart_radio_on_pdp_fail_regular_deactivation to the new method
provided by CarrierConfig. Since we need to pass the context, we also
update the places this value is accessed so they pass their context.

Bug: 29873049
Change-Id: Id43344339b07628d62e640bf73f75af048a1259b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
169e8247517900419cfc13e807c17c8163a201cc 16-Aug-2016 Jack Yu <jackyu@google.com> Set NetworkInfo's meter flag when capability changes. am: a8201a7b8c am: fecd73b4a9
am: 7ca591d224

Change-Id: I4be056ba0179cb7be7a52af5d715cdb41b2cb278
a8201a7b8ce12cfada51784ebe06534e35c2ae04 12-Aug-2016 Jack Yu <jackyu@google.com> Set NetworkInfo's meter flag when capability changes.

bug: 30812533
Change-Id: Ib25eebc5f439895317c4011384b1b10a330911b3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
62a1456fe97401cecac898431b94a70c43fe1b2f 27-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Fix tcp buffer sizes on LTE_CA. am: 2f43e7848e
am: 93f30d3f84

Change-Id: I16bb7fec86cccc8c38bdfc9f77f397692a58eb11
2f43e7848e6039b1f7541ef129fedad3b66947f0 26-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Fix tcp buffer sizes on LTE_CA.

Make them the same as LTE since we don't have an overlay setting for
LTE_CA (nor do we want one).

Also noticed that on CDMA/CDMA+LTE we didn't enable the ratcheting
mechanism so we'd bounce between LTE and LTE_CA unnecessarily.

bug:30269506
Change-Id: I34d308c7ee92745ce18700f31b8b68e78728b01e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
3c781a32b35864bf9df211ba247bcebdd27e01c2 19-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Merge \\"Exclude DUN from data-disabled override.\\" into nyc-mr1-dev am: 625407ffc3
am: 16da014000

Change-Id: If1df86536d7d5baa25b6d7f24ea0560254ed1de1
443b0ae99852b74898fa688f90dee303a80c1b89 15-Jul-2016 Robert Greenwalt <rgreenwalt@google.com> Exclude DUN from data-disabled override.

Don't use DUN's restricted status to override the user, carrier
or netpolicy control over metered networks. This should be fixed
better in the future, but this targeted fix should be good for now.

bug:30120613
Change-Id: I38217b6537cc66b4d678fb82d7fa95388d5a5d6c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
6607b3df0c560aac0a1b202e56fa0ccc1dee4056 14-Jul-2016 Jack Yu <jackyu@google.com> Merge \\"Disable VT when users turn off data or hit data limit\\" into nyc-mr1-dev am: 2014a27a7b
am: 4ab1152455

Change-Id: Id72d98f3d94de5c086d4d42b2a347bced2177efc
a8f5a859f8e4a15902d729af5d2edc9a9433ba41 08-Jul-2016 Jack Yu <jackyu@google.com> Disable VT when users turn off data or hit data limit

Disable VT when users turn off data or hit data limit. If
there are ongoing VT calls, we'll need to downgrade them
to VoLTE calls.

bug: 27316521
Change-Id: I7988d0475583e7fec50888eaee1e5a0d4d5b8cc6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
b878a9b23de50c23dcd239e74f77865046683705 23-Jun-2016 Ajay Nambi <anambi@codeaurora.org> Add support for LTE CarrierAgregation am: 000f48b9c9
am: 4c545b1994

Change-Id: Ia129a2de54288217778e49173aef2f8f4c85feb8
000f48b9c960010bf41cd22b8625b4ff16c2e719 29-May-2015 Ajay Nambi <anambi@codeaurora.org> Add support for LTE CarrierAgregation

Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.

bug:27360321
Change-Id: I29dc8cbbdec60b3a5c0eed8117e3b7bb27f429ed
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
ccfe5ebaf81c1378e8dbe44e45df26b0dc462a21 15-Jun-2016 Jack Yu <jackyu@google.com> Make data call setup permanent failure configurable.

Carriers might have different data call setup permanent failure
causes. Make them configurable through carrier config.

bug: 28728821
Change-Id: I8c1b534bffddaa12ba53a11de9756af232712a51
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
5b561176e9417e7c31c4ae42dd40efb634be6373 08-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Merge "Support requesting restricted default" into nyc-mr1-dev
692640f429efa8e292c6261472b2c682e1079f8e 03-Jun-2016 Robert Greenwalt <rgreenwalt@google.com> Support requesting restricted default

Carrier app will need to use the default cell network when the carrier
has restricted that (reprovisioning when out of bytes). Add support
for bringing up internet with restricted capability, sidesteping
user/carrier enablement.

bug:28567303
Change-Id: I83fc29fa6707a7014ae1bc2e914cfa120f07c983
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
4c31e4c0d2db31fe84081aa6f1e2bcc08b31f9d3 24-May-2016 fionaxu <fionaxu@google.com> cold sim clean up

- add new api to control provisioning notification visibility through
network agent
- rework on the interaction between carrier app and framework
- code cleanup
- unit test support
- hook pco value into datacallcomplete, enabling test by set sysprop for
pco values

Bug: 28567303
Change-Id: Id6b9b2aff4c4f128103593aab0bcef1c3a365141
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
8f88e375252b7a9e2af233604b162f8e486ddff3 27-Apr-2016 Chen Xu <fionaxu@google.com> Merge "Info zero-rating for roaming based on carrier cfg" into nyc-dev
3d8c0f70a6fa7a53fda3c5d592de0ac3aa247e3c 21-Apr-2016 fionaxu <fionaxu@google.com> Info zero-rating for roaming based on carrier cfg

ignore non-metered roaming apn types when cleanup or setUpDatacall.

Bug: 26317905
Change-Id: Iae9a798c43fde020ba215b7a59e83e41559a97c9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
68f4f4a0bc8d4060b5775e7a24a97ea5b485989e 21-Apr-2016 fionaxu <fionaxu@google.com> Cold Sim issue fix part 2

implement a way to hide sign-in notification and bring it back
if out-of-credit sim is detected

Bug: 25203607
Change-Id: Ic16b88df87070bdb47a81376e218940808c6d38a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
a02b6fd88953d783c32e6d7f84b7eddbc0d1faf1 08-Apr-2016 fionaxu <fionaxu@google.com> Cold Sim fix for DataConnection and DCT

Bug: 25203607
Change-Id: I3bbef77edf57eaa8d7da24d687cc9b5ab0ef111b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
0852a954be5937a1b0bca94df0c2007d7ee3c0c7 13-Apr-2016 Jack Yu <jackyu@google.com> Fixed that data retry didn't happen issue

When modem return -1 as the retry value in setup data call response,
we should interpret it correctly and retry the data connection.

bug: 27787361
Change-Id: I0a3e442f5125730dd9a196ce632120b44b880090
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
8b0a1cbd24977a1abbba79736cf9f481ced0703a 30-Mar-2016 Jack Yu <jackyu@google.com> Excluded certain APNs (e.g. IMS) from mobile data usage.

Added not_metered capability to a mobile network if none
of its associated APN types are metered. Also used not_metered
capability to determine if a network should be accounted for
data usage or not instead of using network type, which is
always MOBILE after refactoring. Will add VT usage support
in next phase.

bug: 20888836
Change-Id: Ic39c9ffc84e27566a5b10ebf9aaa4ee3d6bd3e49
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
b40308275e70d445c62fd9da062443dbbc53e513 10-Mar-2016 Jack Yu <jackyu@google.com> Merge "Added unit test cases for DataConnection" into nyc-dev
32971f02fc9b0290df0f33c3146a5fe643b76681 10-Mar-2016 Robert Greenwalt <rgreenwalt@google.com> Merge "Fix emergency ims pdn setup issue" into mm-wireless-dev
4a2acc7448e8ba4a91b8d48eef63198106b959dd 01-Feb-2016 Ajay Nambi <anambi@codeaurora.org> Fix emergency ims pdn setup issue

Add network capability EIMS for emergency apn type

Change-Id: I6ddc23c656fb2fc8e208f093879a2b5b1bc9f701
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
e3f497323441d0c9215f6cbad9ce950f054cce72 09-Mar-2016 Jack Yu <jackyu@google.com> Added unit test cases for DataConnection

bug: 25691077
Change-Id: I90920c7625ec7f8f716fbab15f65c7f4323628cc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
3a5b9323f422134b68a92c36813001ec8bed2866 26-Feb-2016 Jack Yu <jackyu@google.com> First unit test for DcController

bug: 25691379
Change-Id: I11d0a55f8efd1510478bd8dc6965a26118457802
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
7d6d7d6cb68ee37b4bee33588ba2594e9cf0c197 23-Feb-2016 Jack Yu <jackyu@google.com> Fixed data retry issues.

1. Fixed that data retry does not happen on time. Now we use the
exact timer to make sure retry will happen on time.
2. Fixed that data retry timer got started twice every time when retry
should happen.

bug: 27293537, 27158552
Change-Id: I05bbf0cb2717269984f3dc892af2a7a438ffd8f0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
5d5ec64fcd293928776aebe5c92278afb5bc019d 29-Jan-2016 Pavel Zhamaitsiak <pavelz@google.com> Modify CommandsInterface.setupDataCall()

- Change numeric parameters from String to int
- Move inside conversion of radioTechnology from RIL_RADIO_TECHNOLOGY_*
constants to values expected in RIL_REQUEST_SETUP_DATA_CALL parameter

Change-Id: I12e98c59ef115ee8d2454560a7a787e74dc95f49
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
9c32a1e9495f06905377c9e2b91c0ef9cdb0528f 26-Jan-2016 Jack Yu <jackyu@google.com> Reduced more radio log spam.

Reduced more radio log spam by some code path optimization.

bug: 25956251
Change-Id: If040543d0eb8e03a814225aa6694e22818c1d357
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
0e664d8c9ff3a1f2ab03d2bef4268615335ea1a2 17-Dec-2015 Jack Yu <jackyu@google.com> Data call retry refactoring

Moved retry manager from DataConnection to ApnContext.

bug: 22208242
Change-Id: I0baa80e06e6d815643782c2b549460547d0bfef9
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
1a87ab3d7170d618f048c4f5af8c7504a587aaa5 10-Dec-2015 Jack Yu <jackyu@google.com> Merge from master

Change-Id: Ifbd86600111d2c444031ff608fab62fb2ee4b236
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
3f545d699edbff59ac301f3a47ead0ea223323fe 13-Oct-2015 Robert Greenwalt <rgreenwalt@google.com> Fix handling of connect req while connected.

Without this our generation number gets out of sync and
we ignore disconnection results.

bug:24462721
Change-Id: I348c70c4368c4d4d9ad466e4a6803f935bb43bc1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
1a1cc3f5759471edcf51294439f0e0b71922d6a0 23-Sep-2015 Robert Greenwalt <rgreenwalt@google.com> Fix connect during retry.

A previous fix to help us ignore obsolete messages introduced a bug:
in the DataConnection.mRetryingState if we get a request to CONNECT
we noted we already had that apnContext in our list and would not re-add.
This was a loose translation from when the list really was a list,
but now that it's a map we need to update the ConnectionParams with the
latest or we'll remember the old obsolete generation number.

The fix is a simple removal of the if(contains). The rest is some logging
improvements to help out next time.

bug:24242653
bug:22776917
Change-Id: I934cc6bdb4f165e84f19f9cdb05a86a44912bdf8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
37cacdfe7ed079d89fb9e80317b5dfd2acb975e5 16-Sep-2015 Robert Greenwalt <rgreenwalt@google.com> Fix other Disconnect msg senders

We changed the params on these messages from an ApnContext to a
Pair<ApnContext, Integer>. There were some call sites using the old
style and leading to errors.

bug:24115252
Change-Id: Ice3f075b3b93b9e76c0f0be7923f5ae2041f7ab1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
f892b4ddd020ce7876c7455572063756bce58e4e 15-Sep-2015 Robert Greenwalt <rgreenwalt@google.com> Merge "Ignore obsolete disconnect_completed msgs." into mnc-dr-dev
c9ddef3f0e72e76157b7b6b540b754d798fc5ccc 03-Sep-2015 Robert Greenwalt <rgreenwalt@google.com> Don't lose the apn data on RAT/DRS change

Even if we stated connected we'd wipe the extra field
in our network info object.

bug:23406274
Change-Id: Ib1556dec19c70fce55a81d175aaa3db1d8b1887c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
ea763d93b231bccf7e476b625fa028bef7874bf8 26-Aug-2015 Robert Greenwalt <rgreenwalt@google.com> Ignore obsolete disconnect_completed msgs.

Msg passing meant the disconnect_completed was getting processed after
a new connect request was received and acted on, so the disc_completed
would causes us to mark the state incorrectly and we'd get in trouble.

bug:22776917
Change-Id: I781c0619dade00554d368a649c3e43a32cf511dc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
5488b8a7a799bc89427a262a52cba74c26918ec3 15-Aug-2015 Amit Mahajan <amitmahajan@google.com> Change to not notify all of connected if EVENT_DISCONNECT is pending

Bug: 23067429
Change-Id: Ic3405608d7aadcf14b38e0ce4e35f7dcd1be0bf2
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
6b8e1174d2ef221d6eeab348a819ce0003d3d5a4 08-Aug-2015 Chris Manton <cmanton@google.com> Save data registration roaming state

Some carriers require different APNs based upon
the roaming state returned in a previous registration
call. The carrier config has the option to override
roaming state. This change saves the proper roaming
state before the carrier config may override in order
to select the proper APN when setting up a data connection.

bug: 22990977
Change-Id: Id22a60efcbea9637018cc47e6d97f68eb053deb0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
1caf59d49e4713ad122bd9147c84759fcb935176 05-Aug-2015 Paul Jensen <pauljensen@google.com> Merge "Fix NOT_RESTRICTED network capability and enforce it." into mnc-dev
af171aa4dcf294bf2d1b9bed54ef9a6b0ec76361 31-Jul-2015 Paul Jensen <pauljensen@google.com> Fix NOT_RESTRICTED network capability and enforce it.

With this change:
1. NOT_RESTRICTED should be removed from NetworkRequests that bring up
special restricted carrier networks (e.g. IMS, FOTA).
2. NetworkRequests without NOT_RESTRICTED require CONNECTIVITY_INTERNAL
permission to register
3. Binding sockets to networks without NOT_RESTRICTED requires
CONNECTIVITY_INTERNAL permission

Bug:21637535
Change-Id: I5991d39facaa6b690e969fe15dcbeec52e918321
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
0d2abb5518d6a86619d2c2db04867c338b2092d4 17-Jul-2015 Robert Greenwalt <rgreenwalt@google.com> Support optional modem restart on certain errors.

Error counts are shared between all APNs, but fresh connect attempt
resets the counts.

bug:22455853
Change-Id: Id398a223d33d42f979b5cdc4a2bc263e92eb73cc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
2dde8b1659b1eb231e667bc19307ef294b627beb 09-Jul-2015 Robert Greenwalt <rgreenwalt@google.com> Add logging for telephony network requests.

Try to track and retain what happens to requests to get to the bottom of
20731384.

bug:20731384
bug:21641873
Change-Id: Iabb01b3866c6748323a967e26c008246b29bdb17
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
6356f18e1120be1b90f18dcd647054a751c52a36 24-Jun-2015 Robert Greenwalt <rgreenwalt@google.com> Revive NetworkInfo's SUSPENDED state.

This got lost in the multinetwork work for L. It means
that if telephony stops having the ability to pass packets for a while
the rest of the platform doesn't know.

Telephony enters the suspended state if it enters a telephony call
while using certain radio access technologies, or if it switches to
one of those RATs while in a call. It also can enter this state if
it temporarily loses contact with the network - the modem will
not report the loss of the data call for an indeterminant time in
the hope that regaining the network will restore the connection
without harm to any ongoing ip layer interactions. For example
passing through a tunnel or taking an elevator trip may use this
mechanism.

bug: 19637156
Change-Id: I71d64d02088771df5d057eac8e8eba3785357e02
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
22ae2cc396de6231f06fbde617d79723092f17a5 04-Jun-2015 Feixiong Zhang <feixiong@google.com> add PhoneStateListener in DcController which fires at carrierNetworkChange event.

when DataConnection exits, it checks the mExecutingCarrierChange variable in
DcController. if it's under ExecutingCarrierChange, it updates the
reason field of networkInfo as carrierChange.

Bug: b/21706784
Change-Id: Ic9e7daf3bbc48db3cbe7be5ce1e2606f759d5edf
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
27b15ba477b11994dc61f8b96c666e4f8302a09d 13-May-2015 Vipin Sapra <vipin.sapra@gmail.com> Set reason code when disconnecting

Possible fix for https://code.google.com/p/android/issues/detail?id=152085

There is a bug identified in Android NetworkInfo API
(http://developer.android.com/reference/android/net/NetworkInfo.html)
since Android Lollipop 5.0.0 release. On Android 4.4 and prior, the
NetworkInfo API was correctly reporting disconnection reason. In
Android 5.0+, this NetworkInfo API does not correctly report the
reason of disconnection.

The submitted framework modification appears to fix this issue
and report the reason.

Change-Id: I4b43cf99983b2b369503c9484302972e3d0b2330
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
65bee39d7e417fb898c3948696d5d8a38046c449 20-Mar-2015 fenglu <fenglu@google.com> LCE service implementation - tele service side

-redesigned based on ConnectivityService/NetworkCapabilities

Change-Id: I54074234e1117b41eb6ff761ead9241928585fc6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
0e42864afb21261d6bd2e9b4aa97f6d01d039a25 23-Feb-2015 Yashdev Singh <yashdevs@codeaurora.org> Telephony: Implementation of IWLAN

- Allow registration polling in radio off state.
- Disable default APN if current RAT is IWLAN.
- Allow non-default PDP activation in radio off state provided
current RAT is IWLAN.

Set data registration state in APM for IWLAN RAT
- APM causes data registration state to be POWER_OFF. Set it
to IN_SERVICE for iwlan case
- In APM, UNSOL_VOICE_NETWORK_STATE_CHANGED resets data RAT and
registration state to POWER_OFF. Ensure that this is done only
when current RAT is not IWLAN or when iwlan feature is not
available.

Change-Id: I419f3df987ef90bb5f31b0e381257a81dcc57c3b
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
45eaa2335e64a8ff1ad8d5e8224c580ef996f370 12-Jan-2015 Wink Saville <wink@google.com> Add additional debug logging.

Bug: 18950975
Change-Id: I2d826dc4c355d7b940fee90f1bdff946128166e6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
957b01a07bfc7ffa29745b39970d930daf40f406 03-Dec-2014 Jeff Sharkey <jsharkey@android.com> Splice subscriber identity into NetworkMisc.

This gives us a path that strongly ties a network to the underlying
subscriber identity, which is needed for multi-SIM support.

Bug: 18012787
Change-Id: Ie8ddd2bd280af82fa1414c42c9ae4538557ca8a0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
ffdf8ce51e37e5e45791c9ea11604aa00dffc88e 15-Jul-2014 Jing Zhao <zhaojing@motorola.com> Separate voice and data roaming state & roaming type.

It is possible for voice and data registered on different network,
so the roaming state could be different.

Set voice and data roaming status and roaming type separately.

Bug: 17318123
Change-Id: Iede9132cbf94bc9971702bd9232374585edd5cd0
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
edb419cf73826d033065919f63e4ffdd7d76db81 25-Oct-2014 Robert Greenwalt <rgreenwalt@google.com> Add our subId to telephonys NetworkCapabilities.

Else it won't match people asking for this particular subId.

bug:18031008
Change-Id: If107042828c152ede51a2497a3859bc1a6c83694
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
8d4668a51a1ab0f7a240d76c1f59b1b7cb6e8c6b 24-Oct-2014 Amit Mahajan <amitmahajan@google.com> am d10a9057: am 796d3c22: Change to consider SIGNAL_LOST as permanenet failure only if not attached.

* commit 'd10a9057b2dd78ea698dd64c25f1a5eff0c07614':
Change to consider SIGNAL_LOST as permanenet failure only if not attached.
796d3c22f21041116110735c92d7e2c3a7c8f60d 24-Oct-2014 Amit Mahajan <amitmahajan@google.com> Change to consider SIGNAL_LOST as permanenet failure only if not attached.

Bug: 18062475
Change-Id: I6c1b220fbb3cc9798419ec190e83d3eaea16ec69
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
bc1e44907073900212fb87da372174483525f3ed 15-Oct-2014 Jay Shrauner <shrauner@google.com> Fix NPE when in initConnection()

Make sure mApnSetting is non-null.

Bug:18001406
Change-Id: Ieec252ae7252754c2967ef635085113e3f3ce36d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
d98d019d2a23bc7a8f96e8388021e5c87b71f158 02-Oct-2014 Gordon Gao <njh348@motorola.com> Optimize CDMA RATs TCP buffer sizes

1. Add CDMA 1xRTT buffer sizes
2. Add CDMA eHPRD buffer sizes

Bug: 17786212
Change-Id: I31633829576ced088d2bcf563205bbe216c648dd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
1484bfe9c58cfd2ddf59a5b8dad7373a36de946d 22-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Support bearer-specific DUN APN on CDMA

The DUN apn needs to be listed last, and this should only be used on networks
that don't show the apn editor.

bug:17571681
Change-Id: Iefa676d3c741ffb2eef201a8683429ed9dbe44d1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
aaf87159f290c573863038a4feb990f509d29ba0 25-Sep-2014 Sreeram Ramachandran <sreeram@google.com> Change type name of mobile from "Cellular" to "MOBILE".

Bug: 17609932
Change-Id: I22331426e04a5b45e73f9e768b7d88c1d4282c78
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
c149ab8bbbbf21b09b343878009d381bd4f2adf5 11-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Don't advertise dun insecurely

If there is a carrier specified apn from config.xml unless the current connection
is that setting, don't advertise dun.

If there is no carrier specified apn, the we're ok.

bug:17286525
Change-Id: I6c6f66e9b4dcc9a1dda6fa0fbfea7b7dcc155530
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
12fffcf0d8df6b8268806d9aa7cc7a662e73743b 30-Jul-2014 Jing Zhao <zhaojing@motorola.com> Fix improper mobile data connecting event

mAutoAttachOnCreation keeps DataConnection retry connecting
while ApnContext could still be turned into IDLE state.
Make mAutoAttachOnCreation configuable and keep consistency
between DataConnection and ApnContext

Bug: 17131842
Change-Id: Iebd4886959f5458c1b10c34d2e7f96f29c71d527
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
4a4195a11b125e56e25117e92c4c92543b14a5cb 21-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Handle case when switching phones.

If the DC exits the mApnContexts may be set to null - handle that case
and don't crash. We had nothing left to do anyway.

bug:17172374
Change-Id: I365c7903e91b9f7f6e95e23761ae57d138d57c0d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
8fa68fc28795817ce90fdf2a09b859a2d8453ffb 18-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Allow overriding Telephony tcp buffer sizes.

bug:16549611
Change-Id: Id2504b3f91d54eab459be11b61027394ea5dd80e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
27176514b825175a0f402fe7fc2eb4e281ce8bdd 07-Aug-2014 Robert Greenwalt <rgreenwalt@google.com> Set the tcp buffer sizes based on RAT.

Replicates the behavior from KK and before.
Also fixes the use of TelephonyManager constants instead
of RIL constants when setting bandwidth number.

bug: 16549611
Change-Id: I44cbd24974f1eaa0ac0c6a2310afb2e23ee94c8c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
e9701717e43cc5aacbcf624f77a53be92350662c 08-Aug-2014 w19976 <w19976@motorola.com> Configure MTU based on network PCO MTU parameter

Add logic to obtain the mtu from the network PCO parameter and set it to kernel
when the mobile data connection is established. When there is no PCO mtu configured
from the network, the mtu size defined in the corresponding APN will be used. In case
no mtu size is defined for an APN used for data connection, the MCC/MNC based MTU
defined in the framework overaly will be applied.

bug:17046179
Change-Id: I6465d4b8f2076aaa380ae3617fb3f24adbe136d4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
d781fb47e89bb978bae989d96928851c1197c7d2 25-Jul-2014 Robert Greenwalt <rgreenwalt@google.com> Notify the world when our LinkProperties change.

Change-Id: I19485346f0941e58c41ebdf5525a36f38800d081
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
305122cd621385652826cf7d8cd4e651dc6b5e9f 17-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Don't tear down existing cell connections.

NetworkFactories signals indicate if we're interested in making new
connections, but should not be used to tear things down.
ConnectivityService will communicate disconnects directly with NetworkAgents
when it wants them to tear down.

This fixes broken lingers and also potential score ties.

bug:15612739
Change-Id: Ib39ddadaac84898d080764afc365f09f7dce4ffa
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
91f8e19cdafe6382ec1469167e208e2e928123cc 13-Jun-2014 Wink Saville <wink@google.com> Merge "Merge kwd to master"
a8467dd0c524787104b1ccdddc5e8af10ba729ed 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
fd555a178c05e409917f22745743ed59402208e6 09-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Make NetworkCapabilities publicly immutable.

Applying API council comments.

bug: 15142362
Change-Id: Ie0bde68b72656a676d90c0343b9756fe9268d8d6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
b372e78452b9432b51cda43f6264240b04d62dd4 06-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Correctly set NetCap for "*" APNs

bug: 15455750
Change-Id: I933502b417d7b15aaca98ec16f8d3c60de1e142d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
48579fcccf584fbddbff59eaae27d434316a4248 03-Jun-2014 Lorenzo Colitti <lorenzo@google.com> Make requests for restricted networks not require unrestricted access.

Currently, calling startUsingNetworkFeature for a restricted APN
type (e.g., IMS or FOTA) will create a request that requires
NET_CAPABILITY_NOT_RESTRICTED. Because these APNs are restricted,
when we bring them up we conclude that it does not match the
unrestricted requirement, and we tear them down.

1. Clear the NET_CAPABILITY_NOT_RESTRICTED capability when
creating requests in startUsingNetworkFeature.
2. Refactor the code to a common function so this cannot happen
again.

Bug: 15191336
Change-Id: Id1ec79c58ff79b1a83457ffaecc57d50b61ed4e4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
62c954a7a7c4199956c127fcb575ed9114d44491 27-May-2014 Robert Greenwalt <rgreenwalt@google.com> Apply refactored NetworkFactory.

Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent.
Factory will track requests and by default give a single connect/disconnect api for ease
of use. Then NetworkAgent is created and destroyed as needed with very simple logic.

Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291
(cherry picked from commit 071b9f85ac559a35430ed37c03a66271977b9d17)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
f3ab6ab303e1da929ce26b7c5d63565bff136221 23-May-2014 Robert Greenwalt <rgreenwalt@google.com> Revert "Switching to NetworkAgent API"

This reverts commit bce3d2575122929bb27ec8a37d56e96da39a3ca2.

Change-Id: Ia7d1752d4ba9f74f55657c7dbe4d64d60064394f
(cherry picked from commit 608588e9af271f0f5640236809f27c626f9d98e9)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
bce3d2575122929bb27ec8a37d56e96da39a3ca2 30-Apr-2014 Robert Greenwalt <rgreenwalt@google.com> Switching to NetworkAgent API

Change-Id: I7bca6f65ba1c616d821db50b0d24772520c787a7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
96cce86cf08e37e0f09ed5057b1196e26b302743 09-Apr-2014 Robert Greenwalt <rgreenwalt@google.com> Replace LinkCapabilities with NetworkCapabilities

bug:13885501
Change-Id: I4ebc184c29278c385364ab0993c8783dfd9086fb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
9c180aedfc9f0d20525c0128487d3500e6c0a715 02-May-2014 Jason Monk <jmonk@google.com> Support renaming of ProxyProperties to ProxyInfo

Change-Id: I151bb50bfafac46ad375dec4908e0470f2823d8d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DataConnection.java
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