1492 Commits

Author SHA1 Message Date
Kazuhiro Ondo
96a5f00abe handle missing constants when creating a Phone instance
Change-Id: I6089881830842cbaa5bf6d757c6f723c62c5878d
2011-04-16 04:35:48 -07:00
Ramesh Sudini
157f9a0449 Telephony: Set Radio turned off reason when powered off.
Change-Id: Ie538c888d09b189b30c24fa0fd637265ccce954f
2011-04-16 04:34:27 -07:00
Kazuhiro Ondo
a43db7f48d Clean up calls immediately if cid become inactive in unsol data state changed
Do not perform extra data call list query. Just trust the message sent up
from RIL.

Change-Id: Ic03f5cc13ef05fe1de8fb5826fa37a68708e8e18
2011-04-16 04:32:53 -07:00
Wink Saville
9bd1368bb4 am 6ed4798c: Merge "Cleanup/add log statements." into honeycomb-LTE
* commit '6ed4798c70bf4ba253a8cdd37bf48008af81da7d':
  Cleanup/add log statements.
2011-04-15 15:46:27 -07:00
Ramesh Sudini
a5c9c7246b Data Availability Indication changes.
Change-Id: I92bcff10763658cadd4ac1ea98745212c765ecfe
2011-04-15 15:46:01 -07:00
Wink Saville
6ed4798c70 Merge "Cleanup/add log statements." into honeycomb-LTE 2011-04-15 15:44:18 -07:00
Wink Saville
93a3f72aa0 am cb0c5f16: Merge "Change RIL initialization." into honeycomb-LTE
* commit 'cb0c5f16e9131e73cda38ce18c00a31b1d5be2c3':
  Change RIL initialization.
2011-04-15 15:39:09 -07:00
Wink Saville
56b4965f5b Cleanup/add log statements.
Change-Id: Ia9e1dfab0dd6eb0ac08e6ce2f3d414d358652d80
2011-04-15 14:29:24 -07:00
Wink Saville
66958c7367 Change RIL initialization.
- When creating RIL use lte_on_cdma property to set initial
cdma subscription source. Later we will use
RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED and or some other
dynamic method.

- Instead of using mInitialRadioStateChange use UNSOL_RIL_CONNECTED
to initialize ril to a known state.

- Rename RIL_UNSOL_CDMA_SUBSCRIPTION_CHANGED to it "proper" name.
RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED.

bug: 4287155
Change-Id: I477ece19dbe381171e0f468184821d6a6d6877b9
2011-04-15 10:06:41 -07:00
Wink Saville
05be003f7f am c078a436: Merge "Fix occasional phone app crash" into honeycomb-LTE
* commit 'c078a4362791cec3976c4312d3f7e0e96b3487bf':
  Fix occasional phone app crash
2011-04-12 17:00:57 -07:00
Kazuhiro Ondo
921c9d2425 Fix occasional phone app crash
bug #4263503

if GsmDCT is just initialized and LTE/GPRS attach happens
before SIM is completely loaded, phone app would crash
as there is no DataConnection associated with ApnContext.

Change-Id: Ie8007c718c3f68a7b3e42154e60e5b25631ec3c8
2011-04-12 14:42:02 -07:00
Masanori Ogino
2037b5a8b2 Load mnc/mcc configuration value from SIM (KDDI-CDMA)
Now support to load mnc/mcc value from IMSI on KDDI-CDMA.

Change-Id: I6f1d137ecf2e3130ca8f1a782dccec13b51f9933
2011-04-12 20:42:49 +09:00
Wink Saville
6e79756665 am 442b08bc: Merge "Cleanup all functions overridden from DCT in GDCT" into honeycomb-LTE
* commit '442b08bc7c934f601a111bf97ea96842d69cdc23':
  Cleanup all functions overridden from DCT in GDCT
2011-04-09 07:57:35 -07:00
Wink Saville
442b08bc7c Merge "Cleanup all functions overridden from DCT in GDCT" into honeycomb-LTE 2011-04-09 07:50:37 -07:00
Robert Greenwalt
862da792c0 Cleanup all functions overridden from DCT in GDCT
Also removed use of iterator.

Change-Id: I58e505d641cc2b84b6522a6793665c2a3c839580
2011-04-08 17:36:39 -07:00
Robert Greenwalt
da2790fa0a am 658779f5: Merge "Make ApnSettings threadsafe." into honeycomb-LTE
* commit '658779f5d81031dc2c34ef6bc374fad394d01465':
  Make ApnSettings threadsafe.
2011-04-08 17:21:43 -07:00
Robert Greenwalt
658779f5d8 Merge "Make ApnSettings threadsafe." into honeycomb-LTE 2011-04-08 17:19:53 -07:00
Robert Greenwalt
561538879b Make ApnSettings threadsafe.
Also fixes getActiveApnString.

Change-Id: I2278b30505cc8a6be484341cba12d14f7b6316e8
2011-04-08 16:48:42 -07:00
Robert Greenwalt
ede9ed9f70 am 1eeeae59: Merge "Fix getActiveApnTypes for GsmDCT." into honeycomb-LTE
* commit '1eeeae59d07ccc6b7db865b942d3e0b9394b1a59':
  Fix getActiveApnTypes for GsmDCT.
2011-04-08 16:38:39 -07:00
Robert Greenwalt
de78352c6c am ac9c73ae: Merge "Fix notification of disconnected networks." into honeycomb-LTE
* commit 'ac9c73ae619aee63f49cf1f845ef5588bd46dce8':
  Fix notification of disconnected networks.
2011-04-08 16:38:34 -07:00
Robert Greenwalt
1eeeae59d0 Merge "Fix getActiveApnTypes for GsmDCT." into honeycomb-LTE 2011-04-08 16:31:03 -07:00
Robert Greenwalt
ac9c73ae61 Merge "Fix notification of disconnected networks." into honeycomb-LTE 2011-04-08 16:22:06 -07:00
Robert Greenwalt
1b6c758c29 Fix getActiveApnTypes for GsmDCT.
Change-Id: I42e71f0cbe31289f16623de38141213f547aa13f
2011-04-08 16:07:37 -07:00
Robert Greenwalt
6b01e4cdf8 Fix notification of disconnected networks.
Reorder - set state and then report the state, else we always report disconnecting which
is interpreted as still connected.

Change-Id: I95f5fe9ccee0d7ee9a03f78ae5b614af2ba0860b
2011-04-08 15:52:23 -07:00
Wink Saville
4a28096dec am 73ad388a: Merge "Check different CellLocation type in GsmDataConnectionTracker" into honeycomb-LTE
* commit '73ad388aae28213dd3f47bcac1b52c671e3cacc7':
  Check different CellLocation type in GsmDataConnectionTracker
2011-04-08 13:23:24 -07:00
Wink Saville
73ad388aae Merge "Check different CellLocation type in GsmDataConnectionTracker" into honeycomb-LTE 2011-04-08 13:20:20 -07:00
Robert Greenwalt
01f8f290cd am 63edf6c4: Rename PhoneBase\'s DataConnectionTracker member.
* commit '63edf6c4f5795009e55f2ae9556550c38daa9774':
  Rename PhoneBase's DataConnectionTracker member.
2011-04-08 12:23:49 -07:00
Robert Greenwalt
63edf6c4f5 Rename PhoneBase's DataConnectionTracker member.
Was called mDataConnection, but this is more confusing now that we have multiple
DataConnections.  Changed it to the more correct mDataConnectionTracker.

Change-Id: I3cdc4f2897d60e5b0885891744aa6ff2db27af37
2011-04-08 11:54:01 -07:00
Kazuhiro Ondo
8968f9f6d4 Check different CellLocation type in GsmDataConnectionTracker
Addressing phone app crash in GsmDataConnectionTracker when CDMALTEPhone
is used. CDMALTEPhone uses CDMA SST so getCellLocation() was returning
an instance of CdmaCellLocation. This was causing a crash when GsmDCT
type casts the instance as GsmCellLocation.

This patch tries to check the instance type before retrieving corresponding
cell id.

Change-Id: I6ac9cd4dc078552dc58d4d9350494a7b608c2b98
2011-04-08 11:42:51 -07:00
Wink Saville
4b1a37d725 am 5203a5bc: Cleanup debugging.
* commit '5203a5bc28a5ae432eab236780b2f97bdec71dbf':
  Cleanup debugging.
2011-04-08 11:35:11 -07:00
Wink Saville
5203a5bc28 Cleanup debugging.
Change-Id: I4c61b6716a6d03d70bc1e9013954d6b2002cec54
2011-04-08 11:14:23 -07:00
Wink Saville
b93811091d am 1905e166: Merge "DataConnection: set CID to the correct value." into honeycomb-LTE
* commit '1905e166ed40ee11e80476848ef40e817512f740':
  DataConnection: set CID to the correct value.
2011-04-08 10:41:09 -07:00
Wink Saville
1905e166ed Merge "DataConnection: set CID to the correct value." into honeycomb-LTE 2011-04-08 10:38:25 -07:00
Robert Greenwalt
2ce73e77c9 am 9c7f433c: Merge "Fix isApnTypeActive in GDCT." into honeycomb-LTE
* commit '9c7f433c80fd2014562f8d161e6a34710fe475d6':
  Fix isApnTypeActive in GDCT.
2011-04-08 10:09:03 -07:00
Robert Greenwalt
9c7f433c80 Merge "Fix isApnTypeActive in GDCT." into honeycomb-LTE 2011-04-08 10:07:31 -07:00
Robert Greenwalt
37c75ae06b DataConnection: set CID to the correct value.
import of partner change 5930

Change-Id: Iaa2d282f6f9292a57dfceedad676c9e3ad64f903
2011-04-08 10:05:58 -07:00
Robert Greenwalt
e3e535a9c6 am 4410660e: Fix ISO country code of Slovenia.
* commit '4410660e02c04b29d323c6d3bf81633fd07b6411':
  Fix ISO country code of Slovenia.
2011-04-08 10:05:01 -07:00
Robert Greenwalt
4410660e02 Fix ISO country code of Slovenia.
Misread an IBM site and thought it was sl-sl, but really it is sl-si.

fixes public bug 16021

Change-Id: I5b262a2b424fe2a0904f623f82449a539ede0fdb
2011-04-08 09:53:55 -07:00
Robert Greenwalt
7a093b2c35 Fix isApnTypeActive in GDCT.
The single active APN makes no sense now.  Add override function to
do the right thing.

Also makes ApnContext threadsafe.

Change-Id: I4302595e8818b7d31bdd32b5fdf4e3de1cd81ed8
2011-04-08 09:39:57 -07:00
Wink Saville
5f66c953a7 am 7183a7a5: Merge "Add RIL_UNSOL_RIL_CONNECTED and pass radio technology + 2 to setupDataCall." into honeycomb-LTE
* commit '7183a7a584397142ab7347d6f721011d743fb699':
  Add RIL_UNSOL_RIL_CONNECTED and pass radio technology + 2 to setupDataCall.
2011-04-07 16:51:50 -07:00
Wink Saville
1dd2ada5cf Add RIL_UNSOL_RIL_CONNECTED and pass radio technology + 2 to setupDataCall.
Added CommandsInterface.registerForRilConnected which allows components
to register for when the ril connects and provides the version of the
ril to the registrants or a -1 if the ril disconnects.

For ril version 6 RIL.setupDataCall needs to have RadioTechnology + 2
as the radioTechnology parameter when the rilVersion is >= 6.

DataConnection then uses registersForRilConnected to get the ril
version and provide the proper radioTechnology value to
RIL.setupDataCall

Change-Id: Iacba764b9e38a4a138d186ccf1625fea760cc56d
2011-04-07 14:34:29 -07:00
Robert Greenwalt
f4a29403ae resolved conflicts for merge of 70c3d1c2 to honeycomb-plus-aosp
Change-Id: I0962138f6ecb1ed54fda25524d8850b086f13c4f
2011-04-07 14:13:52 -07:00
Robert Greenwalt
70c3d1c23b Merge "Add external dependency API." into honeycomb-LTE 2011-04-07 13:02:28 -07:00
John Wang
91bc0f818c am 574d3c4b: Merge "Refactor onSetupConnectionCompleted." into honeycomb-LTE
* commit '574d3c4b2cb120314b68bffa34aed2545d1b1158':
  Refactor onSetupConnectionCompleted.
2011-04-07 12:46:21 -07:00
John Wang
574d3c4b2c Merge "Refactor onSetupConnectionCompleted." into honeycomb-LTE 2011-04-07 12:44:14 -07:00
John Wang
d3ba7d5bec Refactor onSetupConnectionCompleted.
Refactor the part of setting linkProperties based
on data call responses.

Bug:3501569
Change-Id: I02bf0558e2f8a5924197b8c06f19673279dec815
2011-04-07 12:37:05 -07:00
Robert Greenwalt
d55a6b498d Add external dependency API.
An APN will not be connected to if some external dependency is not met.

bug:3486704
Change-Id: I7d94df343b260013efd11faa978deb13f07f1389
2011-04-07 12:28:37 -07:00
Wink Saville
004da7e2e0 am 1b87f1db: Merge "Add getCdmaSubscriptionSource to CommandsInterface." into honeycomb-LTE
* commit '1b87f1db89e82d00445a43c4593d8c5ea5d2633f':
  Add getCdmaSubscriptionSource to CommandsInterface.
2011-04-06 17:54:11 -07:00
Wink Saville
d31fdf0565 Add getCdmaSubscriptionSource to CommandsInterface.
This was accidentally not added previously and it had an
extra parameter.

Change-Id: Ic48ab9e637a5343b63d3e03377acd2679b0f77e0
2011-04-06 16:55:39 -07:00
Wink Saville
22cfcaee24 am 0b8e313c: Merge "Data Retry fix after failure due to permanent causes." into honeycomb-LTE
* commit '0b8e313c7f97f9cb34e2ba555182621889b69a16':
  Data Retry fix after failure due to permanent causes.
2011-04-01 16:36:25 -07:00