1489 Commits

Author SHA1 Message Date
Wink Saville
db09b5db60 Refactor ServiceStateTracker handling of radio technology.
Also add a little more debugging.

Change-Id: I832872c876b290a3e83a79068059a21894472a1d
2011-06-03 09:06:28 -07:00
Wink Saville
2e543dc188 Merge "CdmaLte: Use SPN from SIM card if SIM card is presend" into honeycomb-LTE 2011-06-02 18:21:50 -07:00
Kazuhiro Ondo
c46a085eed Read CSIM records in LTE on CDMA mode
In case of CDMA and LTE hybrid system, UICC card contains
both USIM and CSIM data. FW needs to read out from both
to aqcuire information required for the service.

Change-Id: I4a714252bc97c037fa419352f23d8f38f6206406
2011-06-02 14:04:24 -07:00
Kazuhiro Ondo
c91c7f92c9 CdmaLte: Use SPN from SIM card if SIM card is presend
Change-Id: Ib766216ed5ec2522942e87d548d0af27c0553cec
2011-06-02 13:58:11 -07:00
Robert Greenwalt
a4e82851e9 Remove redundent getCurrentCdmaDataConnectionState
replace with existing and generic getCurrentDataConnectionState.
bug:3487138

Change-Id: I8a5e85afd316252eedeacb2a042450124702defd
2011-05-31 16:25:58 -07:00
Kazuhiro Ondo
57675037aa Further fix for SIM detection.
Refining SIM ready condition on UICC w/ multiple apps.
Also migration for RIL to use SIM_READY indication in case of UICC
presence instead of current NV_READY message.

Change-Id: I3445a628e2d32a24292e6a69785fe72422481221
2011-05-27 18:36:05 -07:00
Wink Saville
178b066096 Merge "DataConnection FailCause should use errorCode rather than ordinal." into honeycomb-LTE 2011-05-27 09:03:48 -07:00
Ramesh Sudini
98288aa3de DataConnection FailCause should use errorCode rather than ordinal.
Change-Id: I45c5bca73b04f74eee7ab4858c8e28350e0ffb89
2011-05-27 08:59:20 -07:00
Wink Saville
885f8cd75f Merge "DataConnection : Have a separate alarm for each APN type." into honeycomb-LTE 2011-05-26 18:19:08 -07:00
Kazuhiro Ondo
e14a59e96c Derive ICC status from multiple application status for UICC
If UICC with multiple applications are used, delive the status
based on both status instead of just looking at one.

Change-Id: I98cf689327e5302bb4174985935511aff02939f6
2011-05-26 17:09:25 -07:00
Ramesh Sudini
69d0855ed2 DataConnection : Have a separate alarm for each APN type.
Change-Id: I0769f3e2a7c60bd833af7c24eb661d368bac2598
2011-05-26 17:09:07 -07:00
Wink Saville
3b13b2c9d1 Remove or disable some verbose debugging.
Change-Id: I930689502f2a76bf72e315331d66a9259135c6b8
2011-05-26 06:36:08 -07:00
Kazuhiro Ondo
38b6999d9e Handle ProvideLocalInfo stk command.
Change-Id: I4cb685f7d8e7442185e927fa0d49531b96eeab08
2011-05-24 10:04:09 -07:00
Wink Saville
070eecef39 Merge "Map multiple apnType to one DataConnection fixes." into honeycomb-LTE 2011-05-23 13:39:03 -07:00
Ramesh Sudini
a95bce0b29 Map multiple apnType to one DataConnection fixes.
With current design the code maps to the same DC, but no indications go out.
With this, making it more async in nature that the request goes all the way
to DC and all the data indications would be triggered by parallel paths through DCT.

Change-Id: I4c6e64912dafe19154d910bbd0441b10ada36cff
2011-05-23 12:01:40 -07:00
Ramesh Sudini
a88d76b772 Data Connection: Use Alarm for all delayed data retries.
Change-Id: I5045c3a10808b75f1ca3174bd1c16f332d5f7fa8
2011-05-23 12:01:31 -07:00
Kazuhiro Ondo
f96a6150e4 Data reconnection issue after airplane mode
ApnContext and DC were not disassociated when force
"cleanUpConnection" was called. Causing the setup
request was not happening if applyNewStatus() was
the trigger.

Change-Id: I6d73a53edb72bb9ab4ebb92fffd06e6fe1f0c4aa
2011-05-21 12:49:41 -07:00
Kazuhiro Ondo
4c88be655e GSM DCT: Update poll stats to support multi-links
Change-Id: I654e38e71f9576ed2c4da59af563be04bc87045c
2011-05-21 11:57:41 -07:00
Wink Saville
15cd6ec250 Tear down connection with unwanted linkproperty change
Make sure to disconnect the link when RIL reported link property change
which could cause connectivity issue. (i.e. IP address)

Change-Id: I6601ef53e4561bdc7d2760d00e134b8431512cb2
2011-05-21 10:05:26 -07:00
Wink Saville
16e8d22b20 Fix build.
A merge accidentally included a line that was deleted.

Change-Id: I991488ace290e5eb8eef3ca73f49c07d391028f5
2011-05-20 23:31:29 -07:00
Wink Saville
5f353de96b Merge "Notify RIL that PDP reset is triggered due to data stall" into honeycomb-LTE 2011-05-20 17:23:45 -07:00
John Wang
393eb0d06b Merge "Add UI to handle SIM swap." into honeycomb-LTE 2011-05-20 17:18:56 -07:00
John Wang
10e9f668ee Add UI to handle SIM swap.
bug:4364964

Change-Id: Iadf466401a24dfbd638353d689e6ae89506afc97
2011-05-20 16:52:51 -07:00
Kazuhiro Ondo
edbe2cc386 Notify RIL that PDP reset is triggered due to data stall
Additional deactivate cause so RIL could take intelligent action
on data stall occurrence if necessary.

Change-Id: Iae4accda879efb5679085c518117617fb16631c3
2011-05-20 16:52:46 -07:00
Kazuhiro Ondo
5ce6268faa Fix broken data retry
Change I2b737efa6092ad1254c8dc25840ec429f5c6e882 brought side
effect that retry count is reset at every setup.

Change-Id: I6f20d2e82110b2873ff5acbb60a747fd11c09c60
2011-05-20 15:31:33 -07:00
Wink Saville
fe071d3d37 Change getLteOnCdmaModeStatic to dynamically determine its result.
bug: 4202572
Change-Id: I956b61840e2043229df29054dd2a6daccd7a845f
2011-05-20 12:27:16 -07:00
Wink Saville
be2b058ec1 Reset connection while data state changed.
Check data call states and reset connection if any link properties changed.


Change-Id: I008aea969378648192852161959fdf4aad6211a1
2011-05-18 15:59:04 -07:00
Kazuhiro Ondo
01758e81b3 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
2011-05-17 20:53:40 -07:00
Kazuhiro Ondo
066704ddb4 Remove SIM operator name hack
Change-Id: I28c6f94dd6c6bab3a3025f67013a39b3ea0fb0a1
2011-05-17 17:44:18 -07:00
Kazuhiro Ondo
2121291186 No data icon switch seen between LTE to EHRPD Handover
Change-Id: Ifc8e9e8d88b6617d75322f743ae96fd897a45c3b
2011-05-16 15:54:45 -07:00
Kazuhiro Ondo
c1a4e7093e Fix data attempt while PS is not in-service
mAutoAttachOnCreation flag was incorrectly initialized which was
causing invalid data attempts while PS is not in-service.

Change-Id: Iaf16b70b1997631309a4918a99ac5f3c3ea74d02
2011-05-16 15:12:01 -07:00
Kazuhiro Ondo
47e326c8ac Implement incremental data stall recovery in GSM DCT
Change-Id: Ibc43845c618fd1bf0b5a697568ba475e78e9d58e
2011-05-16 11:43:01 -07:00
Wink Saville
92cc1d20ae Merge "Telephony: Handle Icc Status Changed Event." into honeycomb-LTE 2011-05-15 14:38:59 -07:00
Ramesh Sudini
3ce5de7fe2 Telephony: Handle Icc Status Changed Event.
Change-Id: I8203d3b863ea9a27251823d3fed209673c45206c
2011-05-14 18:36:11 -07:00
Robert Greenwalt
2b5a3ec757 Fix bevhavior of fetchDunApn.
If nothing secure is set let us fall back to use general APN db entries.

Change-Id: Ic6908dd301c432c11a6f773e06dd6e207d45a037
2011-05-14 12:07:50 -07:00
Wink Saville
5e9270bfd5 Add getLteOnCdamMode.
Change-Id: Iebf027f956d543d7a69cad64aaba47900937a785
2011-05-12 13:37:32 -07:00
Wink Saville
db08ff768b Merge "Refactor IccRecords and IccCard" into honeycomb-LTE 2011-05-10 16:28:33 -07:00
Wink Saville
1f3278e111 Refactor IccRecords and IccCard
IccRecords is now full base class for RuimRecords and SIMRecords
so we can use the IccRecords to represent both Ruim and SIM records
class.

Rename mSIMRecords to mIccRecords in PhoneBase.

Remove mRuimRecords.

Change-Id: If6afff3f99d41830c947de13c26586deff923c6f
2011-05-10 11:33:10 -07:00
Wink Saville
eb8da0fec2 Merge "Fix issue on infinite retry config in RetryManager" into honeycomb-LTE 2011-05-09 20:31:45 -07:00
Wink Saville
987cd49966 Add unset and setOnIccRefresh.
A temporary hack as some binaries are using these methods.

Change-Id: I4ee63df82acf167ab5f434e63bd073e84e1fdf71
2011-05-09 20:27:54 -07:00
Kazuhiro Ondo
192122e706 Fix issue on infinite retry config in RetryManager
"infinite retry config is lost when "resetRetryCount" is called.

Change-Id: I2b737efa6092ad1254c8dc25840ec429f5c6e882
2011-05-09 17:01:07 -07:00
Wink Saville
45364dc4bf Merge "Telephony: Signal Strength Changes." into honeycomb-LTE 2011-05-09 16:57:32 -07:00
Robert Greenwalt
a142512a50 Broadcast SIM Refresh to all registered components
There could be multiple registrants like SIM, STK.
Port of 6228 from partner repo.

Change-Id: I0756d8b69e30058409e0279f65a99a1aa091e13d
2011-05-09 16:46:39 -07:00
Ramesh Sudini
5d7b9271b3 Telephony: Signal Strength Changes.
Change-Id: Ia406d21d860533e699a90d15130edcbc705ec645
2011-05-09 10:57:42 -07:00
Robert Greenwalt
2b48ca07ef Merge "Fix 2 functions getting connections up by apnType" into honeycomb-LTE 2011-05-06 16:21:06 -07:00
Robert Greenwalt
06ce569b76 Fix 2 functions getting connections up by apnType
A bad impl that only effected non-default connections on CDMA.
bug:4392820

Change-Id: If178dba90c4525289098fc88b80cf918e35f4d32
2011-05-06 16:01:46 -07:00
Robert Greenwalt
2499da83cb Merge "Mark a disable apn so we don't reconnect." into honeycomb-LTE 2011-05-06 14:52:45 -07:00
Robert Greenwalt
51a8610f9a Mark a disable apn so we don't reconnect.
Strip out the pending-action stuff so things are more clear.
bug:4378382

Change-Id: I0e98559c88dccd50169c29d1e74421acb4246b78
2011-05-06 13:23:06 -07:00
Wink Saville
d237d05c6f Merge "Add Delay for data connection retry." into honeycomb-LTE 2011-05-05 16:20:11 -07:00
Ramesh Sudini
cf7db80a9a Add Delay for data connection retry.
Change-Id: Id2c6db09827f29198e38fb9ade4141fab9fa29fc
2011-05-05 14:18:48 -07:00